Changes

1,274 bytes added ,  00:09, 16 December 2016
Line 1,301: Line 1,301:  
!  Available since system version
 
!  Available since system version
 
!  Description
 
!  Description
 +
|-
 +
| 0
 +
|
 +
| Returns the amount of executable memory allocated to the process + thread context size + page-rounded size of the external handle table
 +
|-
 +
| 1
 +
|
 +
| Returns the amount of <unknown> memory allocated to the process + thread context size + page-rounded size of the external handle table
 +
|-
 +
| 2
 +
|
 +
| Returns the amount of DMA-able (code, data, IO pages, etc.) memory allocated to the process + thread context size + page-rounded size of the external handle table
 +
|-
 +
| 3
 +
|
 +
| Returns the amount of <unknown> memory allocated to the process + thread context size + page-rounded size of the external handle table
 +
|-
 +
| 4
 +
|
 +
| Returns the amount handles in use by the process.
 +
|-
 +
| 5
 +
|
 +
| Returns the highest count of handles that have been open at once by the process
 +
|-
 +
| 6
 +
|
 +
| Returns <code>*(u32*)(KProcess+0x234)</code> which is always 0
 +
|-
 +
| 7
 +
|
 +
| Returns 0
 +
|-
 +
| 8
 +
|
 +
| Returns the maximum number of threads which can be opened by this process (always 0)
 
|-
 
|-
 
| 9-19
 
| 9-19
Line 1,310: Line 1,346:  
| low u32 = (0x20000000 - <LINEAR virtual-memory base for this process>). That is, the output value is the value which can be added to LINEAR memory vaddrs for converting to physical-memory addrs.
 
| low u32 = (0x20000000 - <LINEAR virtual-memory base for this process>). That is, the output value is the value which can be added to LINEAR memory vaddrs for converting to physical-memory addrs.
 
|-
 
|-
| 21-23
+
| 21
 +
| [[8.0.0-18]]
 +
| Returns the maximum amount of VRAM memory allocatable by the process: 0x800000 bytes if the process has already allocated VRAM memory, otherwise 0 (+ error 0xE0E01BF4)
 +
|-
 +
| 22
 +
| [[8.0.0-18]]
 +
| Returns the address of the first chunk of VRAM allocated by this process
 +
|-
 +
| 23
 
| [[8.0.0-18]]
 
| [[8.0.0-18]]
| This only returns error 0xE0E01BF4.
+
| Returns the amount of VRAM allocated by this process (?)
 
|}
 
|}