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:
Joel Sherrill
2009-02-11 16:13:56 +00:00
parent b34eb570d3
commit e7c99cfe7c
2 changed files with 12 additions and 3 deletions

View File

@@ -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>
* shared/irq/openpic_i8259_irq.c: Line wrap.

View File

@@ -16,10 +16,14 @@ void bsp_reset(void)
printk("Printing a stack trace for your convenience :-)\n");
CPU_print_stack();
/* shutdown and reboot */
#if defined(BSP_KBD_IOBASE)
kbd_outb(0x4, 0xFE); /* use keyboard controler to do the job... */
#endif
#if defined(mvme2100)
*(unsigned char*)0xffe00000 |= 0x80;
#else
/* Memory-mapped Port 92 PIB device access
*(unsigned char*)0x80000092 |= 0x01;
*/
outb(1, 0x92);
#endif
} /* bsp_reset */