gint/src
Lephe 2fd4238d31
core: finalize TLB management in timer callbacks (STABLE)
This change enables interrupts within timer callbacks, making it
possible to load pages to MMU while handling a timer underflow. The call
to TLB_LoadPTEH() has been moved directly into the VBR handler to avoid
jumping to ILRAM for a short call on SH4.

The TMU and ETMU handlers have been changed to callback through a new
function gint_inth_callback() that saves the user bank and a few
registers, then invokes the callback with interrupts enabled and in user
bank; until now, callbacks were invoked with interrupts disabled and in
kernel bank. Note that IMASK is still set so a callback can only be
interrupted by a high-priority interrupt.

A timer_wait() function has also been added to simplify tests that
involve timers. Finally, the priority level of the TMU0 underflow
interrupt has been set to 13 (as per the comments) instead of 7.

This version is the first stable version that handles TLB misses
transparently for large add-ins. It is suitable for every gint
application.
2020-06-17 11:43:26 +02:00
..
core core: finalize TLB management in timer callbacks (STABLE) 2020-06-17 11:43:26 +02:00
cpg drivers: update the model, replacing unload() with wait() 2020-05-10 16:36:21 +02:00
dma bfile: solve stability issues on fx9860g and fxcg50 2020-05-31 15:52:00 +02:00
gray bopti: deprecate image_t, renamed to bopti_image_t 2020-06-01 12:11:59 +02:00
keysc core: answer TLB misses and remove startup mapping (UNSTABLE) 2020-06-14 18:22:20 +02:00
r61524 drivers: update the model, replacing unload() with wait() 2020-05-10 16:36:21 +02:00
render core: answer TLB misses and remove startup mapping (UNSTABLE) 2020-06-14 18:22:20 +02:00
render-cg core: answer TLB misses and remove startup mapping (UNSTABLE) 2020-06-14 18:22:20 +02:00
render-fx render-fx: fix VRAM overflows in gint_dhline() and gint_dvline() 2020-06-15 13:45:50 +02:00
rtc drivers: update the model, replacing unload() with wait() 2020-05-10 16:36:21 +02:00
std printf: fix %% doubling down as a format specifier 2020-06-14 08:15:00 +02:00
t6k11 drivers: update the model, replacing unload() with wait() 2020-05-10 16:36:21 +02:00
tmu core: finalize TLB management in timer callbacks (STABLE) 2020-06-17 11:43:26 +02:00
font5x7.png render: refactor to share functions, and basic text on fxcg50 2019-06-15 01:05:31 -04:00
font8x9.png style, formatting, font 2019-09-03 22:29:04 +02:00