Lime3DS/src/core/hle/service/apt
Weiyi Wang 2067946f59
Kernel: reimplement memory management on physical FCRAM (#4392)
* Kernel: reimplement memory management on physical FCRAM

* Kernel/Process: Unmap does not care the source memory permission

What game usually does is after mapping the memory, they reprotect the source memory as no permission to avoid modification there

* Kernel/SharedMemory: zero initialize new-allocated memory

* Process/Thread: zero new TLS entry

* Kernel: fix a bug where code segments memory usage are accumulated twice

It is added to both misc and heap (done inside HeapAlloc), which results a doubled number reported by svcGetProcessInfo. While we are on it, we just merge the three number misc, heap and linear heap usage together, as there is no where they are distinguished.

Question: is TLS page also added to this number?

* Kernel/SharedMemory: add more object info on mapping error

* Process: lower log level; SharedMemory: store phys offset

* VMManager: add helper function to retrieve backing block list for a range
2018-11-06 15:00:47 -05:00
..
bcfnt service: Use nested namespace specifiers where applicable 2018-09-22 16:14:10 +02:00
applet_manager.cpp kernel/process: move current process to kernel instance 2018-10-22 21:32:34 -04:00
applet_manager.h Merge pull request #4304 from B3n30/std_optional 2018-10-11 12:40:00 -04:00
apt_a.cpp Services/APT: Better implementation of PrepareToDoApplicationJump and DoApplicationJump. 2018-10-06 17:08:24 -05:00
apt_a.h service: Use nested namespace specifiers where applicable 2018-09-22 16:14:10 +02:00
apt_s.cpp Services/APT: Better implementation of PrepareToDoApplicationJump and DoApplicationJump. 2018-10-06 17:08:24 -05:00
apt_s.h service: Use nested namespace specifiers where applicable 2018-09-22 16:14:10 +02:00
apt_u.cpp Services/APT: Better implementation of PrepareToDoApplicationJump and DoApplicationJump. 2018-10-06 17:08:24 -05:00
apt_u.h service: Use nested namespace specifiers where applicable 2018-09-22 16:14:10 +02:00
apt.cpp Kernel: reimplement memory management on physical FCRAM (#4392) 2018-11-06 15:00:47 -05:00
apt.h Services/APT: Better implementation of PrepareToDoApplicationJump and DoApplicationJump. 2018-10-06 17:08:24 -05:00
errors.h service: Use nested namespace specifiers where applicable 2018-09-22 16:14:10 +02:00