From 014292a164b8bb5286b6c7dae7c37a469ef6f0cc Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Fri, 8 Apr 2016 18:39:38 +1000 Subject: i386/pc386: Add support for the gdb stub to use available console drivers. Move the gdb stub from the i386 UART code to use the libchip drivers. Use any ports discovered during the probes. Add gdb control to the boot command line. Change the device naming to the full device path, not a partial path. For example /dev/com1. --- c/src/lib/libbsp/i386/pc386/include/bspimpl.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'c/src/lib/libbsp/i386/pc386/include/bspimpl.h') diff --git a/c/src/lib/libbsp/i386/pc386/include/bspimpl.h b/c/src/lib/libbsp/i386/pc386/include/bspimpl.h index 6503e0a0e2..314fb91eb9 100644 --- a/c/src/lib/libbsp/i386/pc386/include/bspimpl.h +++ b/c/src/lib/libbsp/i386/pc386/include/bspimpl.h @@ -1,7 +1,7 @@ /** * @file * - * BSP specific helpers + * BSP specific helpers */ /* @@ -29,6 +29,16 @@ const pci_config_access_functions *pci_io_initialize(void); */ void pc386_parse_console_arguments(void); +/* + * Helper to parse boot command line arguments related to gdb + */ +void pc386_parse_gdb_arguments(void); + +/* + * Dynamically probe for Legacy UARTS + */ +void legacy_uart_probe(void); + /* * Dynamically probe for PCI UARTS */ -- cgit v1.2.3