gint/src/core
Lephe 0622928f22
rtc: robust interrupt handling and SH3 compatibility
This commit changes the interrupt handler arrangement to support the PRI
interrupt on SH3 (a gap is needed between 0xaa0 and its helper).

It also introduces the use of the _gint_inth_callback function for the
callback, which provides dynamic TLB during the interrupt, and revealed
a bug about IMASK not being set automatically on SH3.

Finally, it sets the interrupt settings of the RTC more conservatively,
by wiping RCR1 and the carry, alarm and periodic interrupt flags during
initialization and context restoration.
2020-07-19 20:06:50 +02:00
..
cpu.h general cleanup of the kernel 2020-06-20 17:18:51 +02:00
cpu.s general cleanup of the kernel 2020-06-20 17:18:51 +02:00
drivers.h general cleanup of the kernel 2020-06-20 17:18:51 +02:00
exch.c remove the .gint.data section 2020-07-10 16:36:05 +02:00
exch.s core: answer TLB misses and remove startup mapping (UNSTABLE) 2020-06-14 18:22:20 +02:00
hardware.c r61524 render-cg: support Prizm and fx-CG Manager 2020-07-02 15:48:19 +02:00
inth.S rtc: robust interrupt handling and SH3 compatibility 2020-07-19 20:06:50 +02:00
kernel.c rtc: robust interrupt handling and SH3 compatibility 2020-07-19 20:06:50 +02:00
kernel.h general cleanup of the kernel 2020-06-20 17:18:51 +02:00
mmu.c iokbd keysc: space optimizations for SH3 2020-07-08 20:01:58 +02:00
osmenu.c general cleanup of the kernel 2020-06-20 17:18:51 +02:00
start.c remove the .gint.data section 2020-07-10 16:36:05 +02:00
syscalls.S general cleanup of the kernel 2020-06-20 17:18:51 +02:00
tlbh.S core: finalize TLB management in timer callbacks (STABLE) 2020-06-17 11:43:26 +02:00
vbr.h general cleanup of the kernel 2020-06-20 17:18:51 +02:00