40 #define VMCONSOLE_BUFSIZE 128 43 #if ! ( defined ( CONSOLE_VMWARE ) && CONSOLE_EXPLICIT ( CONSOLE_VMWARE ) ) 45 #define CONSOLE_VMWARE ( CONSOLE_USAGE_ALL & ~CONSOLE_USAGE_TUI ) 98 DBG (
"VMware console could not send log message: %s\n",
124 DBG (
"VMware console could not be initialised: %s\n",
130 vmconsole.disabled = 0;
struct arbelprm_rc_send_wqe rc
A handler for an escape sequence.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
int guestrpc_open(void)
Open GuestRPC channel.
#define CONSOLE_DISABLED
Console is disabled for all uses.
static int vmconsole_channel
VMware logfile console GuestRPC channel.
static void vmconsole_putchar(int character)
Print a character to VMware logfile console.
struct golan_eq_context ctx
struct console_driver vmconsole __console_driver
VMware logfile console driver.
static int vmconsole_entered
VMware logfile console recursion marker.
static struct line_console vmconsole_line
VMware logfile line console.
size_t line_putchar(struct line_console *line, int character)
Print a character to a line-based console.
struct init_fn vmconsole_init_fn __init_fn(INIT_CONSOLE)
VMware logfile console initialisation function.
An initialisation function.
void(* putchar)(int character)
Write a character to the console.
VMware GuestRPC mechanism.
static void vmconsole_init(void)
Initialise VMware logfile console.
int guestrpc_command(int channel, const char *command, char *reply, size_t reply_len)
Issue GuestRPC command.
char * strerror(int errno)
Retrieve string representation of error number.
#define VMCONSOLE_BUFSIZE
VMware logfile console buffer size.
#define INIT_CONSOLE
Console initialisation.
static struct @445 vmconsole_buffer
VMware logfile console line buffer.
char * buffer
Data buffer.
static struct ansiesc_handler vmconsole_handlers[]
VMware logfile console ANSI escape sequence handlers.
char message[VMCONSOLE_BUFSIZE]
#define DBG(...)
Print a debugging message.
#define NULL
NULL pointer (VOID *)