^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) * linux/arch/m68k/hp300/reboot.S
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) * Copyright (C) 1998 Philip Blundell <philb@gnu.org>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) * Do the dirty work of rebooting the machine. Basically we need to undo all the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) * good stuff that head.S did when we started up. The caches and MMU must be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) * disabled and then we jump back to the PROM. This is a bit gruesome but we put
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) * a brave face on it.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) /* XXX Doesn't work yet. Not sure why and can't be bothered to fix it at the moment. */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) .globl hp300_reset
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) hp300_reset:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) jmp hp300_reset