diff options
| author | PikalaxALT <pikalaxalt@gmail.com> | 2020-09-01 20:24:41 -0400 | 
|---|---|---|
| committer | PikalaxALT <pikalaxalt@gmail.com> | 2020-09-01 20:24:41 -0400 | 
| commit | 6392e8f3ac51c8b302529eb17e6c7a489eed31b3 (patch) | |
| tree | bee1e9a6d9080d1c98c1d39bb0b47b9645d3adb4 /arm9/lib/include | |
| parent | 95e2d6975c0fc3579a9fffd8e20399d1dc408d62 (diff) | |
| parent | 8d3c3476967845cf735408947856c46ac6f8b87c (diff) | |
Merge branch 'master' of github.com:pret/pokediamond into pikalax_work
Diffstat (limited to 'arm9/lib/include')
| -rw-r--r-- | arm9/lib/include/consts.h | 9 | ||||
| -rw-r--r-- | arm9/lib/include/mmap.h | 11 | 
2 files changed, 18 insertions, 2 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 diff --git a/arm9/lib/include/mmap.h b/arm9/lib/include/mmap.h index 81d47a7e..c56b1dfe 100644 --- a/arm9/lib/include/mmap.h +++ b/arm9/lib/include/mmap.h @@ -14,6 +14,10 @@ extern u32 SDK_AUTOLOAD_DTCM_START[];  #define HW_ITCM_SIZE            0x00008000  #define HW_ITCM_END (HW_ITCM + HW_ITCM_SIZE) +#define HW_IOREG                0x04000000 +#define HW_CTRDG_ROM            0x08000000 +#define HW_BIOS                 0xffff0000 +  #define HW_DTCM                 ((u32)SDK_AUTOLOAD_DTCM_START)  #define HW_DTCM_SIZE            0x00004000 @@ -35,6 +39,8 @@ extern u32 SDK_AUTOLOAD_DTCM_START[];  #define HW_DTCM_SVC_STACK       (HW_DTCM_SVC_STACK_END - HW_SVC_STACK_SIZE)  #define HW_DTCM_IRQ_STACK_END   (HW_DTCM_SVC_STACK) +#define HW_MAIN_MEM_SUB         (HW_MAIN_MEM_MAIN_END + 0x400000) +  #define HW_BIOS_EXCP_STACK_MAIN (HW_MAIN_MEM + 0x007ffd80)  #define HW_EXCP_VECTOR_MAIN     (HW_MAIN_MEM + 0x007ffd9c) @@ -84,4 +90,7 @@ extern u32 SDK_AUTOLOAD_DTCM_START[];  #define HW_DB_OAM_END           0x07000800  #define HW_DB_OAM_SIZE          (HW_DB_OAM_END-HW_DB_OAM) -#endif //POKEDIAMOND_ARM9_MMAP_H
\ No newline at end of file +#define HW_DTCM_SYSRV_OFS_INTR_VECTOR   0x3c +#define HW_RESET_VECTOR         0xffff0000 + +#endif //POKEDIAMOND_ARM9_MMAP_H | 
