Nugget
Loading...
Searching...
No Matches
Macros | Functions | Variables
tty.c File Reference
#include "openbios/tty/tty.h"
#include <stddef.h>
#include <stdint.h>
#include "common/hardware/hwregs.h"
#include "common/hardware/util.h"
#include "common/psxlibc/circularbuffer.h"
#include "common/psxlibc/ioctl.h"
#include "common/psxlibc/stdio.h"
#include "common/syscalls/syscalls.h"
#include "openbios/kernel/libcmisc.h"
Include dependency graph for tty.c:

Macros

#define DEFAULT_TTY_INSTALL   0
 

Functions

int addConsoleDevice ()
 
int addDummyConsoleDevice ()
 
void dev_tty_init ()
 
int dev_tty_open (struct File *file, const char *filename, int mode)
 
int dev_tty_action (struct File *file, enum FileAction action)
 
int dev_tty_ioctl (struct File *file, int req, int arg)
 

Variables

int g_cachedInstallTTY
 
int g_installTTY = DEFAULT_TTY_INSTALL
 

Macro Definition Documentation

◆ DEFAULT_TTY_INSTALL

#define DEFAULT_TTY_INSTALL   0

Function Documentation

◆ addConsoleDevice()

int addConsoleDevice ( )

◆ addDummyConsoleDevice()

int addDummyConsoleDevice ( )

◆ dev_tty_action()

int dev_tty_action ( struct File file,
enum FileAction  action 
)

◆ dev_tty_init()

void dev_tty_init ( )

◆ dev_tty_ioctl()

int dev_tty_ioctl ( struct File file,
int  req,
int  arg 
)

◆ dev_tty_open()

int dev_tty_open ( struct File file,
const char *  filename,
int  mode 
)

Variable Documentation

◆ g_cachedInstallTTY

int g_cachedInstallTTY

◆ g_installTTY

int g_installTTY = DEFAULT_TTY_INSTALL