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;
#define NULL
NULL pointer (VOID *)
struct golan_eq_context ctx
struct arbelprm_rc_send_wqe rc
#define DBG(...)
Print a debugging message.
#define INIT_CONSOLE
Console initialisation.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
int guestrpc_open(void)
Open GuestRPC channel.
int guestrpc_command(int channel, const char *command, char *reply, size_t reply_len)
Issue GuestRPC command.
VMware GuestRPC mechanism.
#define CONSOLE_DISABLED
Console is disabled for all uses.
#define __console_driver
Mark a struct console_driver as being part of the console drivers table.
#define __init_fn(init_order)
Declare an initialisation functon.
size_t line_putchar(struct line_console *line, int character)
Print a character to a line-based console.
char * strerror(int errno)
Retrieve string representation of error number.
A handler for an escape sequence.
An initialisation function.
#define VMCONSOLE_BUFSIZE
VMware logfile console buffer size.
static int vmconsole_channel
VMware logfile console GuestRPC channel.
static struct @135202313311362371141165321075034132101064071142 vmconsole_buffer
VMware logfile console line buffer.
static struct ansiesc_handler vmconsole_handlers[]
VMware logfile console ANSI escape sequence handlers.
static struct line_console vmconsole_line
VMware logfile line console.
static void vmconsole_putchar(int character)
Print a character to VMware logfile console.
static int vmconsole_entered
VMware logfile console recursion marker.
static void vmconsole_init(void)
Initialise VMware logfile console.
char message[VMCONSOLE_BUFSIZE]