Difference between revisions of "Memory budget"

From Vita Development Wiki
Jump to navigation Jump to search
Line 13: Line 13:
 
| ScePhyMemPartGameCdram
 
| ScePhyMemPartGameCdram
 
| 0x20000000 / 0x21000000 (0.995 internal)
 
| 0x20000000 / 0x21000000 (0.995 internal)
| 0x07000000
+
| 112MiB
 
| cdram for game
 
| cdram for game
 
|-
 
|-
 
| ScePhyMemPartShellCdram
 
| ScePhyMemPartShellCdram
 
| 0x27000000 / 0x20000000 (0.995 internal)
 
| 0x27000000 / 0x20000000 (0.995 internal)
| 0x01000000
+
| 16MiB
 
| cdram for shell
 
| cdram for shell
 
|-
 
|-
 
| ScePhyMemPartKD
 
| ScePhyMemPartKD
 
| 0x40200000 / 0x40300000 (0.995 internal)
 
| 0x40200000 / 0x40300000 (0.995 internal)
| 0x02400000 / 0x02000000 (0.995 internal)
+
| 36MiB / 32MiB (0.995 internal)
 
| for kernel drivers
 
| for kernel drivers
 
|-
 
|-
 
| ScePhyMemPartPhyCont
 
| ScePhyMemPartPhyCont
 
| 0x42600000 / 0x42300000 (0.995 internal)
 
| 0x42600000 / 0x42300000 (0.995 internal)
| 0x01A00000
+
| 26MiB
 
| physically continuous memory
 
| physically continuous memory
 
|-
 
|-
 
| ScePhyMemPartShared
 
| ScePhyMemPartShared
 
| 0x44000000 / 0x43D00000 (0.995 internal)
 
| 0x44000000 / 0x43D00000 (0.995 internal)
| 0x00800000
+
| 8MiB
 
| for shared modules
 
| for shared modules
 
|-
 
|-
 
| ScePhyMemPartGameCDialog
 
| ScePhyMemPartGameCDialog
 
| 0x44800000 / 0x44500000 (0.995 internal)
 
| 0x44800000 / 0x44500000 (0.995 internal)
| 0x00900000
+
| 9MiB
 
| for game cdialog
 
| for game cdialog
 
|-
 
|-
 
| ScePhyMemPartShell
 
| ScePhyMemPartShell
 
| 0x45100000 / 0x44E00000 (0.995 internal)
 
| 0x45100000 / 0x44E00000 (0.995 internal)
| 0x03200000 / 0x03000000 (0.995 internal)
+
| 50MiB / 48MiB (0.995 internal)
 
| for shell
 
| for shell
 
|-
 
|-
 
| ScePhyMemPartShellDummy
 
| ScePhyMemPartShellDummy
 
| 0x78000000
 
| 0x78000000
| 0x8000000
+
| 128MiB
 
| If have dipsw 0xD2, setting this memory.
 
| If have dipsw 0xD2, setting this memory.
 
|-
 
|-
 
| ScePhyMemPartReserved
 
| ScePhyMemPartReserved
 
| 0x47E00000 (0.995 internal)
 
| 0x47E00000 (0.995 internal)
| 0x00600000 (0.995 internal)
+
| 6MiB (0.995 internal)
 
| reserved
 
| reserved
 
|-
 
|-
 
| Remaining memory (for +109MiB)
 
| Remaining memory (for +109MiB)
 
| 0x48300000 / 0x48400000 (0.995 internal)
 
| 0x48300000 / 0x48400000 (0.995 internal)
| 0x07D00000 / 0x07C00000 (0.995 internal)
+
| 125MiB / 124MiB (0.995 internal)
 
| Remaining memory for GAME.
 
| Remaining memory for GAME.
 
|-
 
|-
 
| ScePhyMemPartGame
 
| ScePhyMemPartGame
 
| 0x50000000
 
| 0x50000000
| 0x10000000 <br> 0x20000000 (0.995 internal) <br> 0x20000000 on devkit and have dipsw 0x80.
+
| 256MiB <br> 512MiB (0.995 internal) <br> 512MiB on devkit and have dipsw 0x80.
 
| for game
 
| for game
 
|-
 
|-
 
| ScePhyMemPartGameDummy
 
| ScePhyMemPartGameDummy
 
| 0x60000000
 
| 0x60000000
| 0x10000000
+
| 256MiB
 
| If not have dipsw 0x80, setting this memory.
 
| If not have dipsw 0x80, setting this memory.
 
|-
 
|-
 
| ScePhyMemPartTool
 
| ScePhyMemPartTool
 
| 0x70000000 (0.995 internal)
 
| 0x70000000 (0.995 internal)
| 0x10000000 (0.995 internal)
+
| 256MiB (0.995 internal)
 
| for TOOL platforms
 
| for TOOL platforms
 
|}
 
|}
  
 
[[Category:Memory]]
 
[[Category:Memory]]

Revision as of 15:22, 8 April 2022

A memory budget is an area of memory reserved by the system for a specific usage.

List

Here is a list of default budgets. They are allocated on boot by SceProcessmgr. They vary per FW version, and per boot flags.

Name Base paddr Size Comments
ScePhyMemPartGameCdram 0x20000000 / 0x21000000 (0.995 internal) 112MiB cdram for game
ScePhyMemPartShellCdram 0x27000000 / 0x20000000 (0.995 internal) 16MiB cdram for shell
ScePhyMemPartKD 0x40200000 / 0x40300000 (0.995 internal) 36MiB / 32MiB (0.995 internal) for kernel drivers
ScePhyMemPartPhyCont 0x42600000 / 0x42300000 (0.995 internal) 26MiB physically continuous memory
ScePhyMemPartShared 0x44000000 / 0x43D00000 (0.995 internal) 8MiB for shared modules
ScePhyMemPartGameCDialog 0x44800000 / 0x44500000 (0.995 internal) 9MiB for game cdialog
ScePhyMemPartShell 0x45100000 / 0x44E00000 (0.995 internal) 50MiB / 48MiB (0.995 internal) for shell
ScePhyMemPartShellDummy 0x78000000 128MiB If have dipsw 0xD2, setting this memory.
ScePhyMemPartReserved 0x47E00000 (0.995 internal) 6MiB (0.995 internal) reserved
Remaining memory (for +109MiB) 0x48300000 / 0x48400000 (0.995 internal) 125MiB / 124MiB (0.995 internal) Remaining memory for GAME.
ScePhyMemPartGame 0x50000000 256MiB
512MiB (0.995 internal)
512MiB on devkit and have dipsw 0x80.
for game
ScePhyMemPartGameDummy 0x60000000 256MiB If not have dipsw 0x80, setting this memory.
ScePhyMemPartTool 0x70000000 (0.995 internal) 256MiB (0.995 internal) for TOOL platforms