32 if ( character ==
'\n' )
60 if ( console->
iskey () )
91 if ( console && console->
getchar ) {
92 character = console->
getchar ();
113 if ( character ==
'\r' )
static void console_set_size(unsigned int width, unsigned int height)
Set console size.
struct arbelprm_rc_send_wqe rc
unsigned int console_height
Console height.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
#define CONSOLE_DEFAULT_WIDTH
Default console width.
#define CONSOLES
Console driver table.
#define CONSOLE_DISABLED_INPUT
Console is disabled for input.
int(* configure)(struct console_configuration *config)
Configure console.
int usage
Console usage bitmask.
#define CONSOLE_DISABLED_OUTPUT
Console is disabled for output.
void(* putchar)(int character)
Write a character to the console.
int console_usage
Current console usage.
static struct console_driver * has_input(void)
Check to see if any input is available on any console.
int getchar(void)
Read a single character from any console.
#define for_each_table_entry(pointer, table)
Iterate through all entries within a linker table.
int(* iskey)(void)
Check for available input.
static void console_reset(void)
Reset console.
int console_configure(struct console_configuration *config)
Configure console.
int disabled
Console disabled flags.
void cpu_nap(void)
Sleep with interrupts enabled until next CPU interrupt.
void step(void)
Single-step a single process.
int(* getchar)(void)
Read a character from the console.
#define CONSOLE_USAGE_STDOUT
Standard output.
#define NULL
NULL pointer (VOID *)
int putchar(int character)
Write a single character to each console device.
int iskey(void)
Check for available input on any console.
unsigned int console_width
Console width.
#define CONSOLE_DEFAULT_HEIGHT
Default console height.