Fix boot issue (2)

This commit is contained in:
TuxSH 2017-01-24 23:20:47 +01:00
parent 6c5f6ac475
commit 07101c053a
2 changed files with 2 additions and 1 deletions

View File

@ -66,6 +66,7 @@ static void invokeArm11Function(void (*func)())
*arm11Entry = (u32)func; *arm11Entry = (u32)func;
while(*arm11Entry); while(*arm11Entry);
*arm11Entry = ARM11_STUB_ADDRESS; *arm11Entry = ARM11_STUB_ADDRESS;
while(*arm11Entry);
} }
void deinitScreens(void) void deinitScreens(void)

View File

@ -33,7 +33,7 @@
#define ARESCREENSINITIALIZED (PDN_GPU_CNT != 1) #define ARESCREENSINITIALIZED (PDN_GPU_CNT != 1)
#define ARM11_STUB_ADDRESS 0x1FFFFC00 #define ARM11_STUB_ADDRESS (0x25000000 - 0x30)
#define WAIT_FOR_ARM9() *arm11Entry = 0; while(!*arm11Entry); ((void (*)())*arm11Entry)(); #define WAIT_FOR_ARM9() *arm11Entry = 0; while(!*arm11Entry); ((void (*)())*arm11Entry)();
#define SCREEN_TOP_WIDTH 400 #define SCREEN_TOP_WIDTH 400