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

5
Last change on this file since 19cbd194 was 19cbd194, checked in by Joel Sherrill <joel@…>, on 10/09/17 at 03:24:50

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.