diff options
Diffstat (limited to 'c/src/lib/libbsp/i386/pc386/include/bsp.h')
-rw-r--r-- | c/src/lib/libbsp/i386/pc386/include/bsp.h | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/i386/pc386/include/bsp.h b/c/src/lib/libbsp/i386/pc386/include/bsp.h index b404003d92..c7920f385b 100644 --- a/c/src/lib/libbsp/i386/pc386/include/bsp.h +++ b/c/src/lib/libbsp/i386/pc386/include/bsp.h @@ -133,8 +133,8 @@ extern "C" { /*-------------------------------------------------------------------------+ | External Variables. +--------------------------------------------------------------------------*/ -extern i386_IDT_slot Interrupt_descriptor_table[256]; -extern i386_GDT_slot Global_descriptor_table [8192]; +extern i386_IDT_slot Interrupt_descriptor_table[]; +extern i386_GDT_slot Global_descriptor_table []; extern rtems_configuration_table BSP_Configuration; /* User provided BSP configuration table. */ @@ -149,14 +149,32 @@ void _IBMPC_initVideo(void); /* from 'outch.c' */ void _IBMPC_outch (char); /* from 'outch.c' */ rtems_boolean _IBMPC_chrdy (char *); /* from 'inch.c' */ char _IBMPC_inch (void); /* from 'inch.c' */ +char _IBMPC_inch_sleep (void); /* from 'inch.c' */ void printk(char *fmt, ...); /* from 'printk.c' */ void rtemsReboot(void); /* from 'exit.c' */ +/* Definitions for PC386ConsolePort */ +#define PC386_CONSOLE_PORT_CONSOLE (-1) +#define PC386_CONSOLE_PORT_COM1 (PC386_UART_COM1) +#define PC386_CONSOLE_PORT_COM2 (PC386_UART_COM2) + +/* GDB stub stuff */ +void i386_stub_glue_init(int uart); +void i386_stub_glue_init_breakin(void); +void set_debug_traps(void); +void breakpoint(void); + #ifdef __cplusplus } #endif #endif /* __BSP_H_ */ /* end of include file */ + + + + + + |