Fix boot issue (2)
This commit is contained in:
parent
6c5f6ac475
commit
07101c053a
@ -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)
|
||||||
|
@ -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
|
||||||
|
Reference in New Issue
Block a user