forked from Lephenixnoir/gintctl
remove GMAPPED following change in exception catcher calls
These are now called with TLB misses enabled, so there is no need to map them constantly.
This commit is contained in:
parent
fda5606c2a
commit
36f3de29b8
|
@ -50,7 +50,7 @@ static int cmp(uint8_t *lft, uint8_t *rgt)
|
|||
/* Code of exception that occurs during a memory access */
|
||||
static uint32_t exception = 0;
|
||||
/* Exception-catching function */
|
||||
GMAPPED static int catch_exc(uint32_t code)
|
||||
static int catch_exc(uint32_t code)
|
||||
{
|
||||
if(code == 0x100 || code == 0x0e0)
|
||||
{
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
/* Code of exception that occurs during a memory access */
|
||||
static uint32_t exception = 0;
|
||||
/* Exception-catching function */
|
||||
GMAPPED static int catch_exc(uint32_t code)
|
||||
static int catch_exc(uint32_t code)
|
||||
{
|
||||
if(code == 0x040 || code == 0x0e0)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue