GLOBAL_BASE
#define GLOBAL_CUR_VID_MODE (GLOBAL_BASE + 0x00cc)
#define GLOBAL_BUS_SPEED (GLOBAL_BASE + 0x00f8)
#define GLOBAL_CPU_SPEED (GLOBAL_BASE + 0x00fc)
#define GLOBAL_SYSTEM_TIME (GLOBAL_BASE + 0x30d8)
#define GLOBAL_MEM2_SIZE (GLOBAL_BASE + 0x3118)
#define GLOBAL_MEM2_AVAIL_START (GLOBAL_BASE + 0x3124)
#define GLOBAL_MEM2_AVAIL_END (GLOBAL_BASE + 0x3128)
#define GLOBAL_IOS_VERSION (GLOBAL_BASE + 0x3140)
#define GLOBAL_MEM1_SIZE (GLOBAL_BASE + 0x0028)
*(uint32_t *)(GUR_BASE + GLOBAL_BASE + PORPLLSR));
printf(" pordevsr=%#x", cpu_read_4(GLOBAL_BASE + PORDEVSR));
printf(" devdisr=%#x", cpu_read_4(GLOBAL_BASE + DEVDISR));
uint32_t v = cpu_read_4(GLOBAL_BASE + PORPLLSR);
{ "gpio", GLOBAL_BASE, GLOBAL_SIZE, 0,
cpu_write_4(GLOBAL_BASE + RSTCR, HRESET_REQ);
const uint32_t porpplsr = cpu_read_4(GLOBAL_BASE + PORPLLSR);
const uint32_t pmuxcr = cpu_read_4(GLOBAL_BASE + PMUXCR);
const uint32_t pmuxcr = cpu_read_4(GLOBAL_BASE + PMUXCR);
const uint32_t pmuxcr = cpu_read_4(GLOBAL_BASE + PMUXCR);
const uint32_t pmuxcr2 = cpu_read_4(GLOBAL_BASE + PMUXCR2);
GLOBAL_BASE, GLOBAL_SIZE },
GLOBAL_BASE, GLOBAL_SIZE },
GLOBAL_BASE, GLOBAL_SIZE },
GLOBAL_BASE, GLOBAL_SIZE },
const uint32_t v = cpu_read_4(GLOBAL_BASE + DEVDISR);
const uint32_t pordevsr = cpu_read_4(GLOBAL_BASE + PORDEVSR);