mirror of
https://github.com/rvtr/ctr_firmware.git
synced 2025-10-31 07:51:08 -04:00
IOレジスタマップのバスによる分類。
git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-09-30%20-%20paladin.7z/paladin/ctr_firmware@36 b871894f-2f95-9b40-918c-086798483c85
This commit is contained in:
parent
9beb912d72
commit
a05abb3291
@ -58,6 +58,22 @@ extern "C" {
|
||||
#define HW_IOREG_END 0x18000000
|
||||
#define HW_REG_BASE HW_IOREG // alias
|
||||
|
||||
#define HW_AHBP_REG (HW_IOREG + 0x00100000)
|
||||
#define HW_APB_REG (HW_IOREG + 0x00200000)
|
||||
#define HW_AHBML_REG (HW_IOREG + 0x00300000)
|
||||
#define HW_GPU_REG (HW_IOREG + 0x00400000)
|
||||
#define HW_MPCORE_REG (HW_IOREG + 0x07e00000)
|
||||
#define HW_AHBP_REG_END (HW_AHBP_REG + HW_AHBP_REG_SIZE)
|
||||
#define HW_APB_REG_END (HW_APB_REG + HW_APB_REG_SIZE)
|
||||
#define HW_AHBML_REG_END (HW_AHBML_REG + HW_AHBML_REG_SIZE)
|
||||
#define HW_GPU_REG_END (HW_GPU_REG + HW_GPU_REG_SIZE)
|
||||
#define HW_MPCORE_REG_REG (HW_MPCORE_REG + HW_MPCORE_REG_SIZE)
|
||||
#define HW_AHBP_REG_SIZE 0x80000
|
||||
#define HW_APB_REG_SIZE 0x100000
|
||||
#define HW_AHBML_REG_SIZE 0x40000
|
||||
#define HW_GPU_REG_SIZE 0x100000
|
||||
#define HW_MPCORE_REG_SIZE 0x20000
|
||||
|
||||
//----------------------------- System ROM
|
||||
#define HW_BIOS 0x00000000
|
||||
#define HW_BIOS_END (HW_BIOS + HW_BIOS_SIZE)
|
||||
|
||||
@ -58,6 +58,13 @@ extern "C" {
|
||||
#define HW_IOREG_END 0x18000000
|
||||
#define HW_REG_BASE HW_IOREG // alias
|
||||
|
||||
#define HW_PRV_REG (HW_IOREG + 0)
|
||||
#define HW_AHBP_REG (HW_IOREG + 0x00100000)
|
||||
#define HW_PRV_REG_END (HW_PRV_REG + HW_PRV_REG_SIZE)
|
||||
#define HW_AHBP_REG_END (HW_AHBP_REG + HW_AHBP_REG_SIZE)
|
||||
#define HW_PRV_REG_SIZE 0x20000
|
||||
#define HW_AHBP_REG_SIZE 0x80000
|
||||
|
||||
//----------------------------- System ROM
|
||||
#define HW_BIOS 0xffff0000
|
||||
#define HW_BIOS_END (HW_BIOS + HW_BIOS_SIZE)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user