mirror of
https://github.com/rvtr/twl_wrapsdk.git
synced 2025-10-31 06:11:10 -04:00
move PXI_Init before OS_InitArena for firmware.
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/twl_wrapsdk/trunk@272 4ee2a332-4b2b-5046-8439-1ba90f034370
This commit is contained in:
parent
47eb4bf3d8
commit
c7e29601c8
@ -222,14 +222,14 @@ void OS_Init(void)
|
|||||||
OS_InitPrintServer();
|
OS_InitPrintServer();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//---- Init Arena (arenas except SUBPRIV-WRAM)
|
|
||||||
OS_InitArena();
|
|
||||||
|
|
||||||
//---- Init interProcessor I/F
|
//---- Init interProcessor I/F
|
||||||
// Sync with ARM7 to enable OS_GetConsoleType()
|
// Sync with ARM7 to enable OS_GetConsoleType()
|
||||||
// PXI_Init() must be called before OS_InitArenaEx()
|
// PXI_Init() must be called before OS_InitArenaEx()
|
||||||
PXI_Init();
|
PXI_Init();
|
||||||
|
|
||||||
|
//---- Init Arena (arenas except SUBPRIV-WRAM)
|
||||||
|
OS_InitArena();
|
||||||
|
|
||||||
//---- Init Spinlock
|
//---- Init Spinlock
|
||||||
OS_InitLock();
|
OS_InitLock();
|
||||||
|
|
||||||
@ -285,12 +285,12 @@ void OS_Init(void)
|
|||||||
//----------------------------------------------------------------
|
//----------------------------------------------------------------
|
||||||
// for ARM7
|
// for ARM7
|
||||||
|
|
||||||
//---- Init Arena (SUBPRIV-WRAM arena)
|
|
||||||
OS_InitArena();
|
|
||||||
|
|
||||||
//---- Init interProcessor I/F
|
//---- Init interProcessor I/F
|
||||||
PXI_Init();
|
PXI_Init();
|
||||||
|
|
||||||
|
//---- Init Arena (SUBPRIV-WRAM arena)
|
||||||
|
OS_InitArena();
|
||||||
|
|
||||||
//---- Init Spinlock
|
//---- Init Spinlock
|
||||||
OS_InitLock();
|
OS_InitLock();
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user