mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-06 15:43:15 +00:00
2009-02-11 Matt Rippa <mrippa@gemini.edu>
PR 1362/bsps * shared/console/bspreset.c: Fix BSP reset on mvme2300 - mvme2700.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2009-02-11 Matt Rippa <mrippa@gemini.edu>
|
||||||
|
|
||||||
|
PR 1362/bsps
|
||||||
|
* shared/console/bspreset.c: Fix BSP reset on mvme2300 - mvme2700.
|
||||||
|
|
||||||
2008-12-04 Joel Sherrill <joel.sherrill@oarcorp.com>
|
2008-12-04 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* shared/irq/openpic_i8259_irq.c: Line wrap.
|
* shared/irq/openpic_i8259_irq.c: Line wrap.
|
||||||
|
|||||||
@@ -16,10 +16,14 @@ void bsp_reset(void)
|
|||||||
printk("Printing a stack trace for your convenience :-)\n");
|
printk("Printing a stack trace for your convenience :-)\n");
|
||||||
CPU_print_stack();
|
CPU_print_stack();
|
||||||
/* shutdown and reboot */
|
/* shutdown and reboot */
|
||||||
#if defined(BSP_KBD_IOBASE)
|
|
||||||
kbd_outb(0x4, 0xFE); /* use keyboard controler to do the job... */
|
|
||||||
#endif
|
|
||||||
#if defined(mvme2100)
|
#if defined(mvme2100)
|
||||||
*(unsigned char*)0xffe00000 |= 0x80;
|
*(unsigned char*)0xffe00000 |= 0x80;
|
||||||
|
#else
|
||||||
|
/* Memory-mapped Port 92 PIB device access
|
||||||
|
*(unsigned char*)0x80000092 |= 0x01;
|
||||||
|
*/
|
||||||
|
outb(1, 0x92);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
} /* bsp_reset */
|
} /* bsp_reset */
|
||||||
|
|||||||
Reference in New Issue
Block a user