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/startup/ldsegs.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'c/src/lib/libbsp/i386/pc386/startup/ldsegs.S') diff --git a/c/src/lib/libbsp/i386/pc386/startup/ldsegs.S b/c/src/lib/libbsp/i386/pc386/startup/ldsegs.S index 82ff982331..ea41874a1b 100644 --- a/c/src/lib/libbsp/i386/pc386/startup/ldsegs.S +++ b/c/src/lib/libbsp/i386/pc386/startup/ldsegs.S @@ -110,7 +110,6 @@ next_step: movw ax, fs movw ax, gs -#if (BSP_IS_EDISON == 0) /*---------------------------------------------------------------------+ | Now we have to reprogram the interrupts :-(. We put them right after | the intel-reserved hardware interrupts, at int 0x20-0x2F. There they @@ -121,6 +120,7 @@ next_step: | it isn't fun. +---------------------------------------------------------------------*/ +#if (BSP_IS_EDISON == 0) movb $0x11, al /* initialization sequence */ outb al, $0x20 /* send it to 8259A-1 */ call SYM(pc386_delay) -- cgit v1.2.3