From 19cbd1943da39c0bfc9236667edcfa717229bc8a Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sun, 8 Oct 2017 22:24:50 -0500 Subject: pc386/.../bspreset.c: Readd proper reset code. The removal of the Edison code removed the wrong part of the conditional. Closes #3172. --- c/src/lib/libbsp/i386/pc386/startup/bspreset.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/c/src/lib/libbsp/i386/pc386/startup/bspreset.c b/c/src/lib/libbsp/i386/pc386/startup/bspreset.c index ebb283b6f6..0fbcd0f201 100644 --- a/c/src/lib/libbsp/i386/pc386/startup/bspreset.c +++ b/c/src/lib/libbsp/i386/pc386/startup/bspreset.c @@ -1,5 +1,5 @@ /* - * COPYRIGHT (c) 1989-2008. + * COPYRIGHT (c) 1989-2017. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -14,5 +14,5 @@ void bsp_reset(void) { /* shutdown and reboot */ - *((uint32_t*)0xff009000) = 0xf3; /* use watchdog */ + outport_byte(0x64, 0xFE); /* use keyboard controller */ } -- cgit v1.2.3