Lephe
fb8d1525f4
The question of how to handle a partially-restored world state begs for an elegant symmetrical answer, but that doesn't work unless both kernels do the save/restore for themselves. So far, things have worked out because any order works since interrupts are disabled therefore partially-restored drivers are inactive. However the USB module requires waits that are best performed with timers, so the order cannot be chosen arbitrarily. This commit enforces a gint-centric order where code from a gint driver is only run when all lower-level drivers are active. This solves some pretty bad freezes with the USB module. |
||
---|---|---|
.. | ||
cpu.h | ||
cpu.s | ||
drivers.h | ||
exch.c | ||
exch.s | ||
hardware.c | ||
inth.S | ||
kernel.c | ||
kernel.h | ||
osmenu.c | ||
start.c | ||
syscalls.S | ||
tlbh.S | ||
vbr.h |