Changes

Jump to navigation Jump to search
Line 177: Line 177:  
|-
 
|-
 
| 8 || [[#GetApplicationPid]]
 
| 8 || [[#GetApplicationPid]]
 +
|-
 +
| 9 || [4.0.0+] [[#BoostSystemMemoryResourceLimit]]
 
|}
 
|}
   Line 210: Line 212:  
== GetApplicationPid ==
 
== GetApplicationPid ==
 
Loops through the internal linked-list of processes, looks for mask 0x40 set in process flags. Returns pid of first such entry.
 
Loops through the internal linked-list of processes, looks for mask 0x40 set in process flags. Returns pid of first such entry.
 +
 +
== BoostSystemMemoryResourceLimit ==
 +
Takes an u64 '''mem_size''' as input. If the desired memory size doesn't exceed an internal limit (imposed by PM by looking at the [[SPL_services#MemoryArrange|MemoryArrange]] ConfigItem), PM calls svcSetResourceLimitLimitValue to set the new [[SVC#LimitableResource|LimitableResource_Memory]] value.
 +
 +
This is used directly by [[NS_Services#IApplicationManagerInterface|ns:am2 BoostSystemMemoryResourceLimit]].
    
[[Category:Services]]
 
[[Category:Services]]

Navigation menu