source: rtems/c/src/lib/libbsp/i386/pc386/startup/bspreset.c @ 19cbd194

Last change on this file since 19cbd194 was 19cbd194, checked in by Joel Sherrill <joel@…>, on Oct 9, 2017 at 3:24:50 AM

pc386/.../bspreset.c: Readd proper reset code.

The removal of the Edison code removed the wrong part of the
conditional.

Closes #3172.

  • Property mode set to 100644
File size: 433 bytes
Line 
1/*
2 *  COPYRIGHT (c) 1989-2017.
3 *  On-Line Applications Research Corporation (OAR).
4 *
5 *  The license and distribution terms for this file may be
6 *  found in the file LICENSE in this distribution or at
7 *  http://www.rtems.org/license/LICENSE.
8 */
9
10#include <rtems.h>
11#include <bsp.h>
12#include <bsp/bootcard.h>
13
14void bsp_reset(void)
15{
16  /* shutdown and reboot */
17  outport_byte(0x64, 0xFE);        /* use keyboard controller */
18}
Note: See TracBrowser for help on using the repository browser.