|
Nugget
Bare-metal libraries and examples for the original PlayStation
|
#include "common/hardware/hwregs.h"#include "common/psxlibc/ctype.h"#include "common/psxlibc/device.h"#include "common/psxlibc/ioctl.h"#include "common/psxlibc/setjmp.h"#include "common/psxlibc/stdio.h"#include "common/psxlibc/string.h"#include "common/syscalls/syscalls.h"#include "openbios/fileio/fileio.h"#include "openbios/kernel/globals.h"#include "openbios/kernel/setjmp.h"#include "openbios/main/main.h"#include "openbios/tty/tty.h"
Functions | |
| void | setupFileIO (int installTTY) |
| int | getDeviceStatus () |
| void | setDeviceStatus (int deviceStatus) |
| void | printInstalledDevices () |
| struct Device * | findDevice (const char *name) |
| int | removeDevice (const char *name) |
| struct File * | getFileFromHandle (int fd) |
| void | ioabortraw (int code) |
| void | ioAbortWithMsg (const char *msg1, const char *msg2) |
| struct File * | findEmptyFile () |
| const char * | splitFilepathAndFindDevice (const char *name, struct Device **device, int *deviceId) |
| void | cdevscan () |
| void | psxexit (int code) |
| int | isFileConsole (int fd) |
| int | addDevice (struct Device *device) |
Variables | |
| struct File * | g_firstFile |
| uint32_t | psxerrno = PSXENOERR |
| int addDevice | ( | struct Device * | device | ) |
| void cdevscan | ( | ) |
| struct Device * findDevice | ( | const char * | name | ) |
| struct File * findEmptyFile | ( | ) |
| int getDeviceStatus | ( | ) |
| struct File * getFileFromHandle | ( | int | fd | ) |
| void ioabortraw | ( | int | code | ) |
| void ioAbortWithMsg | ( | const char * | msg1, |
| const char * | msg2 | ||
| ) |
| int isFileConsole | ( | int | fd | ) |
| void printInstalledDevices | ( | ) |
| void psxexit | ( | int | code | ) |
| int removeDevice | ( | const char * | name | ) |
| void setDeviceStatus | ( | int | deviceStatus | ) |
| void setupFileIO | ( | int | installTTY | ) |
| const char * splitFilepathAndFindDevice | ( | const char * | name, |
| struct Device ** | device, | ||
| int * | deviceId | ||
| ) |
| struct File* g_firstFile |
| uint32_t psxerrno = PSXENOERR |