Re: [PATCH] q800: map reset function to poweroff of some random kernel
Superseded by https://lore.kernel.org/qemu-devel/20200102103644.233370-1-ja...@zx2c4.com , thankfully.
[PATCH] q800: map reset function to poweroff of some random kernel
This commit is intentionally ridiculous. Currently calling `reboot(RB_AUTOBOOT);` in Linux will result in arch/m68k/mac/misc.c's mac_reset function being called. That in turn looks at the rombase (or uses 0x4080 is there's no rombase), adds 0xa, and jumps to that address. In the kernels I'm bui