mirror of
https://github.com/rvtr/ctr_firmware.git
synced 2025-10-31 07:51:08 -04:00
BROM_DEV_EARLY_RELEASE追加。
セキュアROM切り離しチェック修正。 git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-09-30%20-%20paladin.7z/paladin/ctr_firmware@98 b871894f-2f95-9b40-918c-086798483c85
This commit is contained in:
parent
b8fa36b4d5
commit
683d8a881a
@ -18,6 +18,8 @@
|
|||||||
|
|
||||||
void BromMain( void )
|
void BromMain( void )
|
||||||
{
|
{
|
||||||
|
#ifndef BROM_DEV_EARLY_RELEASE
|
||||||
osInitBROM();
|
osInitBROM();
|
||||||
|
#endif // BROM_DEV_EARLY_RELEASE
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -18,6 +18,8 @@
|
|||||||
|
|
||||||
void BromSpMain( void )
|
void BromSpMain( void )
|
||||||
{
|
{
|
||||||
|
#ifndef BROM_DEV_EARLY_RELEASE
|
||||||
osInitBROM();
|
osInitBROM();
|
||||||
|
#endif // BROM_DEV_EARLY_RELEASE
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -69,7 +69,7 @@ stupStartHandlerVeneer
|
|||||||
// NULLデータアボート無効時はセキュアROM切り離しチェック
|
// NULLデータアボート無効時はセキュアROM切り離しチェック
|
||||||
ldr r12, [r12]
|
ldr r12, [r12]
|
||||||
cmp r12, #0
|
cmp r12, #0
|
||||||
cmpeq r12, #~0
|
cmpne r12, #~0
|
||||||
LSYM(1) beq BSYM(1)
|
LSYM(1) beq BSYM(1)
|
||||||
|
|
||||||
//---- check CPU-ID
|
//---- check CPU-ID
|
||||||
|
|||||||
@ -17,12 +17,9 @@
|
|||||||
#ifndef BROM_DEFS_H_
|
#ifndef BROM_DEFS_H_
|
||||||
#define BROM_DEFS_H_
|
#define BROM_DEFS_H_
|
||||||
|
|
||||||
//#define BROM_SYSRV_LOWVEC
|
//#define BROM_DEV_EARLY_RELEASE
|
||||||
|
|
||||||
//#define BROM_ENABLE_BOOTROM_WRITE
|
//#define BROM_ENABLE_BOOTROM_WRITE
|
||||||
//#define BROM_ENABLE_INITIAL_STACKHEAP
|
|
||||||
//#define BROM_ENABLE_WRAMEMU
|
|
||||||
//#define BROM_FOR_DSP_DEV
|
|
||||||
//#define BROM_FORCE_DEBUGGER
|
|
||||||
|
|
||||||
/* BROM_DEFS_H_ */
|
/* BROM_DEFS_H_ */
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user