next up previous contents index
Next: 10.13.2 base_console_init: Initialize the Up: (X86 PC) Base Environment: Previous: (X86 PC) Base Environment:

10.13.1 base_console.h: definitions for base console support

   

SYNOPSIS

#include <oskit/x86/pc/base_console.h>

DESCRIPTION

The following variable are used in the base_console code:
serial_console
  Set non-zero if a serial port is being used as the console. Default value is zero, but may be turned on by either a command line option or the CONS_COM environment variable.
cons_com_port
  If serial_console is non-zero, this variable indicates the COM port to use for console input and output. Default value is 1, but may be changed by setting the CONS_COM environment variable. Possible values are 1, 2, 3 or 4.
enable_gdb
  If non-zero, enables the GDB trap handler; i.e. makes remote debugging possible. The default value is zero.
gdb_com_port
  If enable_gdb is non-zero, this variable indicates the COM port to use for remote GDB interaction. The default value is 1 (the console and remote GDB can share the same serial port, but do not have to). Possible values are 1, 2, 3 or 4.

Refer to section  10.13.2 for more information on command line options and environment variables. See section 10.17 for more on remote GDB.



University of Utah Flux Research Group