Changes

158 bytes added ,  03:40, 31 December 2024
no edit summary
Line 557: Line 557:  
| 0x65 || 0x5B || IOSError || FlushIpc ||  
 
| 0x65 || 0x5B || IOSError || FlushIpc ||  
 
|-
 
|-
| 0x66 || 0x5C || IOSError || InitializeBsp ||
+
| 0x66 || 0x5C || IOSError || SetBspReady ||
 
|-
 
|-
| 0x67 || 0x5D || IOSError || [[#ValidateIopAddressSpaceRange|ValidateIopAddressSpaceRange]] || void *address, u32 size, u32 rw_flags
+
| 0x67 || 0x5D || IOSError || [[#CheckIopBuffer|CheckIopBuffer]] || void *address, u32 size, u32 rw_flags
 
|-
 
|-
| 0x68 || 0x5E || IOSError || [[#ValidatePpcAddressSpaceRange|ValidatePpcAddressSpaceRange]] || void *address, u32 size
+
| 0x68 || 0x5E || IOSError || [[#CheckPpcBuffer|CheckPpcBuffer]] || void *address, u32 size
 
|-
 
|-
 
| 0x69 || 0x5F || void || [[#InitializePpc|InitializePpc]] ||  
 
| 0x69 || 0x5F || void || [[#InitializePpc|InitializePpc]] ||  
Line 686: Line 686:  
Disables memory protection, cleans up executable memory areas and jumps to the specified OS image. This can only be called by MCP and will infinite loop on return.
 
Disables memory protection, cleans up executable memory areas and jumps to the specified OS image. This can only be called by MCP and will infinite loop on return.
   −
=== ValidateIopAddressSpaceRange ===
+
=== CheckIopBuffer ===
 
Checks an IOSU address range for read/write permissions.
 
Checks an IOSU address range for read/write permissions.
   −
=== ValidatePpcAddressSpaceRange ===
+
=== CheckPpcBuffer ===
 
Checks if a PPC address range is registered in the IOSU's address table.
 
Checks if a PPC address range is registered in the IOSU's address table.
   Line 798: Line 798:  
=== __sys_read ===
 
=== __sys_read ===
 
Reads input from debugger stdin.
 
Reads input from debugger stdin.
 +
 +
== IOSMemoryRegion ==
 +
{| class="wikitable" border="1"
 +
|-
 +
! Offset || Size || Description
 +
|-
 +
| 0x0 || 0x4 || Paddr
 +
|-
 +
| 0x4 || 0x4 || Vaddr
 +
|-
 +
| 0x8 || 0x4 || Size
 +
|-
 +
| 0xC || 0x4 || Domain
 +
|-
 +
| 0x10 || 0x4 || Ap
 +
|-
 +
| 0x14 || 0x4 || Cached
 +
|}
 +
    
== IOSContext ==
 
== IOSContext ==