diff options
author | PikalaxALT <PikalaxALT@users.noreply.github.com> | 2020-09-01 16:38:12 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-01 16:38:12 -0400 |
commit | 8d3c3476967845cf735408947856c46ac6f8b87c (patch) | |
tree | 2676d42b94aa3cb6fd12877ccf98ddf909bf7fb5 /arm9/lib/include/consts.h | |
parent | 83dcd4ceb4619613e067eda2e84b4226c96f1d4f (diff) | |
parent | 0030f2bd9011382cb06bbd7657a5a4d5e8bbcb1b (diff) |
Merge pull request #279 from red031000/master
arm9 crt0
Diffstat (limited to 'arm9/lib/include/consts.h')
-rw-r--r-- | arm9/lib/include/consts.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/arm9/lib/include/consts.h b/arm9/lib/include/consts.h index 5dd0b150..afe1b726 100644 --- a/arm9/lib/include/consts.h +++ b/arm9/lib/include/consts.h @@ -28,6 +28,13 @@ #define HW_C6_PR_2GB 0x3c #define HW_C6_PR_4GB 0x3e +#define HW_C6_PR_ENABLE 1 + +#define HW_C9_TCMR_16KB 0x0a +#define HW_C9_TCMR_32MB 0x20 + +#define HW_CACHE_LINE_SIZE 32 + #define PXI_PROC_ARM7 0x01 #define OSi_CONSOLE_NOT_DETECT 0xffffffff @@ -39,6 +46,6 @@ #define OSi_TCM_REGION_BASE_MASK 0xfffff000 -#define OS_IE_V_BLANK (1UL << 0) +#define OS_IE_V_BLANK (1UL << 0) #endif //POKEDIAMOND_ARM9_CONSTS_H |