4.104.114.84.95
Last change
on this file since e79a1947 was
e79a1947,
checked in by Joel Sherrill <joel.sherrill@…>, on 11/10/04 at 23:51:17
|
2004-11-10 Richard Campbell <richard.campbell@…>
- Makefile.am, bootloader/misc.c, bootloader/pci.c, bootloader/pci.h,
console/console.c, console/inch.c, console/reboot.c, console/uart.c,
console/uart.h, irq/irq.c, irq/irq.h, irq/irq_init.c,
motorola/motorola.c, motorola/motorola.h, openpic/openpic.c,
openpic/openpic.h, pci/detect_raven_bridge.c, pci/pci.c,
start/start.S, startup/bspstart.c, vectors/vectors_init.c,
vme/vmeconfig.c: Add MVME2100 BSP and MPC8240 support. There was also
a significant amount of spelling and whitespace cleanup.
- tod/todcfg.c: New file.
|
-
Property mode set to
100644
|
File size:
661 bytes
|
Line | |
---|
1 | /* $Id$ */ |
---|
2 | |
---|
3 | #include "console.inl" |
---|
4 | #include <rtems/bspIo.h> |
---|
5 | #include <libcpu/stackTrace.h> |
---|
6 | |
---|
7 | /*-------------------------------------------------------------------------+ |
---|
8 | | Function: rtemsReboot |
---|
9 | | Description: Reboot the PC. |
---|
10 | | Global Variables: None. |
---|
11 | | Arguments: None. |
---|
12 | | Returns: Nothing. |
---|
13 | +--------------------------------------------------------------------------*/ |
---|
14 | void rtemsReboot(void) |
---|
15 | { |
---|
16 | printk("Printing a stack trace for your convenience :-)\n"); |
---|
17 | CPU_print_stack(); |
---|
18 | /* shutdown and reboot */ |
---|
19 | #if defined(BSP_KBD_IOBASE) |
---|
20 | kbd_outb(0x4, 0xFE); /* use keyboard controler to do the job... */ |
---|
21 | #endif |
---|
22 | } /* rtemsReboot */ |
---|
Note: See
TracBrowser
for help on using the repository browser.