stage2/handlers.S | raw changeset files shortlog |
1.1 --- a/stage2/handlers.S Wed Feb 24 17:25:47 2016 +0100 1.2 +++ b/stage2/handlers.S Wed Feb 24 17:26:10 2016 +0100 1.3 @@ -33,6 +33,8 @@ 1.4 1.5 /* Invoke the handler. */ 1.6 1.7 + lui $gp, %hi(_GLOBAL_OFFSET_TABLE_) 1.8 + ori $gp, $gp, %lo(_GLOBAL_OFFSET_TABLE_) 1.9 jal tlb_handle 1.10 nop 1.11 1.12 @@ -46,6 +48,8 @@ 1.13 1.14 /* Invoke the handler. */ 1.15 1.16 + lui $gp, %hi(_GLOBAL_OFFSET_TABLE_) 1.17 + ori $gp, $gp, %lo(_GLOBAL_OFFSET_TABLE_) 1.18 jal irq_handle 1.19 nop 1.20