Ticket #1362: reboot.patch

File reboot.patch, 620 bytes (added by Matt Rippa, on Jan 26, 2009 at 9:32:59 PM)

patch for reboot.c

  • reboot.c

    old new  
    1616  printk("Printing a stack trace for your convenience :-)\n");
    1717  CPU_print_stack();
    1818  /* shutdown and reboot */
    19 #if defined(BSP_KBD_IOBASE)
    20   kbd_outb(0x4, 0xFE);      /* use keyboard controler to do the job... */
    21 #endif
     19   
    2220#if defined(mvme2100)
    2321  *(unsigned char*)0xffe00000 |= 0x80;
     22#else
     23   /* Memory-mapped Port 92 PIB device access
     24   *(unsigned char*)0x80000092 |= 0x01;
     25   */
     26   outb(1, 0x92);
     27
    2428#endif
    2529} /* bsp_reset */