Difference between revisions of "Memory map"

From WiiUBrew
Jump to navigation Jump to search
Line 186: Line 186:
  PPC region<br>
  PPC region<br>
  Cafe OS loader, libraries and apps
  Cafe OS loader, libraries and apps
| 0xFFE00000
| 0x120000
| ???
| PPC Cafe OS kernel (mirror of ancast)
| 0xFFF00000
| 0xFFF00000

Revision as of 22:07, 14 April 2016

The Wii U has a variety of physical memory sources. There is the 2 GiB of DDR3 split into 4 chips (MEM2), 32 MiB of fast 1T SRAM (MEM1), and the old GX framebuffer (MEM0).

Start Address End Address Size Chip Notes
0x00000000 0x01FFFFFF 0x2000000 MEM1
MEM1-A: 0x00000000 to 0x00000FFF (0x1000)
MEM1-B: 0x00001000 to 0x01FFFFFF (0x1FFF000)
MEM1 foreground: 0x00000000 to 0x01FFFFFF (0x2000000)
Used by Cafe OS apps
0x08000000 0x0811FFFF 0x120000 MEM0
MEM0-A: 0x08000000 to 0x080FFFFF (0x100000)
MEM0-B: 0x08100000 to 0x0811FFFF (0x20000)
MEM0 foreground: 0x080C0000 to 0x0811FFFF (0x60000)
PPC kernel ancast image
0x08120000 0x081BFFFF 0xA0000 MEM0 IOSU kernel
0x081C0000 0x0827FFFF 0xC0000 MEM0 IOSU MCP process
0x08280000 0x082AFFFF 0x30000 MEM0 IOSU CRYPTO process
0x082C0000 0x082DFFFF 0x20000 MEM0 Reserved (IOSU)
0x10000000 0x100FFFFF 0x100000 MEM2 Unknown (IOSU)
0x10100000 0x104CFFFF 0x3D0000 MEM2 IOSU USB process
0x10800000 0x11EDFFFF 0x16E0000 MEM2 IOSU FS process
0x11F00000 0x1215FFFF 0x260000 MEM2 IOSU PAD process
0x12300000 0x1288FFFF 0x590000 MEM2 IOSU NET process
0x12900000 0x12B6FFFF 0x270000 MEM2 IOSU ACP process
0x12BC0000 0x12EAFFFF 0x2F0000 MEM2 IOSU NSEC process
0x12EC0000 0x1358FFFF 0x6D0000 MEM2 IOSU NIM-BOSS process
0x13640000 0x1393FFFF 0x300000 MEM2 IOSU FPD process
0x13A40000 0x13B9FFFF 0x160000 MEM2 IOSU TEST process
0x13C00000 0x13C70000 0x70000 MEM2 IOSU AUXIL process
0x13CC0000 0x13D7FFFF 0xC0000 MEM2 IOSU BSP process
0x13D80000 0x13DBFFFF 0x40000 MEM2 IOSU MCP process (debug and recovery mode)
0x14000000 0x1CFFFFFF 0x9000000 MEM2
MEM2-A: 0x14000000 to 0x1CFFFFFF (0x9000000)
- Loader data: 0x1B900000 to 0x1B97FFFF (0x80000)
PPC region
The loader's data is allocated here
0x1D000000 0x1FAFFFFF 0x2B00000 MEM2 IOSU global heap
0x1FB00000 0x1FDFFFFF 0x300000 MEM2 IOSU global IOB (input/output block)
0x1FE00000 0x1FE3FFFF 0x40000 MEM2 MCP shared region (for IOSU)
0x1FE40000 0x1FFFFFFF 0x1C0000 MEM2 MCP setup region (launch, ramdisk and file system cache)
0x20000000 0x27FFFFFF 0x8000000 MEM2 Unknown (IOSU)
0x28000000 0xCFFFFFFF 0xA8000000 MEM2
MEM2-B: 0x28000000 to 0xCFFFFFFF (0xA8000000). The 0x10000000 vmem is mapped to the following areas depending on the RAMPID:
- Home Menu (RAMPID 5): 0x28000000 to 0x2FFFFFFF (0x8000000)
- root.rpx (RAMPID 1): 0x30000000 to 0x31FFFFFF (0x2000000)
- Cafe OS loader and libraries: 0x32000000 to 0x327FFFFF (0x800000)
- Error display (RAMPID 6): 0x33000000 to 0x33FFFFFF (0x1000000)
- Background app memory (RAMPID 4): 0x34000000 to 0x4FFFFFFF (0x1C000000)
- Foreground app memory (RAMPID 7): 0x50000000 to 0x8FFFFFFF (0x40000000)
- Extra app memory for devkits: 0x90000000 to 0xCFFFFFFF (0x40000000)
PPC region
Cafe OS loader, libraries and apps
0xFFF00000 0xFFF07FFF 0x8000 SRAM1 C2W (cafe2wii) boot heap (used to store the old Wii SEEPROM data)
0xFFFF0000 0xFFFFFFFF 0x10000 SRAM0 IOSU kernel SRAM / C2W (cafe2wii)