|
Nugget
|
#include <ctype.h>#include <string.h>#include "common/hardware/hwregs.h"#include "common/psxlibc/device.h"#include "common/psxlibc/ioctl.h"#include "common/psxlibc/setjmp.h"#include "common/psxlibc/stdio.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 |
| void cdevscan | ( | ) |
| int getDeviceStatus | ( | ) |
| void ioAbortWithMsg | ( | const char * | msg1, |
| const char * | msg2 | ||
| ) |
| void printInstalledDevices | ( | ) |
| int removeDevice | ( | const char * | name | ) |
| const char * splitFilepathAndFindDevice | ( | const char * | name, |
| struct Device ** | device, | ||
| int * | deviceId | ||
| ) |