gint/src
Lephe d8886c7dbf
core: answer TLB misses and remove startup mapping (UNSTABLE)
This change adds a TLB miss handler that calls __TLB_LoadPTEH() and
removes the startu mapping of add-in pages in the explore() routine of
src/core/start.c.

Note that calling __TLB_LoadPTEH() manually might unexpectedly lead to a
TLB multihit problem as the requested page might be accidentally loaded
by a TLB miss in the code that loads it. A TLB multihit is a platform
reset, so this function should always be considered unsafe to call
(unless the calling code is in a combination of P1 space and ILRAM).

This change also moves a lot of functions out of the .pretext section,
notably topti, as this was designed to allow panic messages when the
add-in couldn't be mapped entirely. By contrast, a GMAPPED macro has
been defined to mark crucial kernel code and data that must remain
mapped at all times. This currently puts the data in ILRAM because
static RAM is not executable. An alternative will have to be found for
SH3-based fx9860g machines.

This version still does not allow TLB misses in timer callbacks and
breaks return-to-menu in a severe way! It is not suitable for any
stable application!
2020-06-14 18:22:20 +02:00
..
core core: answer TLB misses and remove startup mapping (UNSTABLE) 2020-06-14 18:22:20 +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 core: answer TLB misses and remove startup mapping (UNSTABLE) 2020-06-14 18:22:20 +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: answer TLB misses and remove startup mapping (UNSTABLE) 2020-06-14 18:22:20 +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