summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2017-10-08 22:24:50 -0500
committerJoel Sherrill <joel@rtems.org>2017-10-08 22:26:13 -0500
commit19cbd1943da39c0bfc9236667edcfa717229bc8a (patch)
treea1eaae59bbf94901b37983fe09f6387231af5e77
parentposix: Resurrect signal support (diff)
downloadrtems-19cbd1943da39c0bfc9236667edcfa717229bc8a.tar.bz2
pc386/.../bspreset.c: Readd proper reset code.
The removal of the Edison code removed the wrong part of the conditional. Closes #3172.
-rw-r--r--c/src/lib/libbsp/i386/pc386/startup/bspreset.c4
1 files 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 */
}