citra/src/core/hle/service
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
..
ac Core: pass down Core::System reference to all services (#4272) 2018-10-05 10:59:43 -04:00
act Core: pass down Core::System reference to all services (#4272) 2018-10-05 10:59:43 -04:00
am Kernel: pass ref to session pair 2018-10-18 21:41:36 -04:00
apt Kernel: reimplement memory management on physical FCRAM (#4392) 2018-11-06 15:00:47 -05:00
boss Kernel: pass Kernel ref in Event 2018-10-18 21:41:36 -04:00
cam Kernel: pass Kernel ref in Event 2018-10-18 21:41:36 -04:00
cecd kernel/process: move current process to kernel instance 2018-10-22 21:32:34 -04:00
cfg Add GetModule() helper functions, for HID, CAM, and CFG 2018-10-12 11:50:50 +02:00
csnd kernel: pass ref to shared memory 2018-10-18 21:41:36 -04:00
dlp Core: pass down Core::System reference to all services (#4272) 2018-10-05 10:59:43 -04:00
dsp Kernel: pass Kernel ref in Event 2018-10-18 21:41:36 -04:00
frd Core: pass down Core::System reference to all services (#4272) 2018-10-05 10:59:43 -04:00
fs Kernel/Thread: move thread queue, current thread, and scheduling related function into the manager 2018-10-26 16:07:11 -04:00
gsp HLE: move SharedPage into Kernel 2018-11-01 12:56:40 -04:00
hid kernel: pass ref to shared memory 2018-10-18 21:41:36 -04:00
ir kernel: pass ref to shared memory 2018-10-18 21:41:36 -04:00
ldr_ro Core: pass down Core::System reference to all services (#4272) 2018-10-05 10:59:43 -04:00
mvd Core: pass down Core::System reference to all services (#4272) 2018-10-05 10:59:43 -04:00
ndm Core: pass down Core::System reference to all services (#4272) 2018-10-05 10:59:43 -04:00
news Core: pass down Core::System reference to all services (#4272) 2018-10-05 10:59:43 -04:00
nfc nfc: Add Amiibo support (REOPENED) (#4337) 2018-10-24 21:01:38 -04:00
nim Kernel: pass Kernel ref in Event 2018-10-18 21:41:36 -04:00
ns Core: pass down Core::System reference to all services (#4272) 2018-10-05 10:59:43 -04:00
nwm HLE: move SharedPage into Kernel 2018-11-01 12:56:40 -04:00
pm Core: pass down Core::System reference to all services (#4272) 2018-10-05 10:59:43 -04:00
ps Core: pass down Core::System reference to all services (#4272) 2018-10-05 10:59:43 -04:00
ptm Core: pass down Core::System reference to all services (#4272) 2018-10-05 10:59:43 -04:00
pxi Core: pass down Core::System reference to all services (#4272) 2018-10-05 10:59:43 -04:00
qtm Core: pass down Core::System reference to all services (#4272) 2018-10-05 10:59:43 -04:00
sm Kernel/Thread: move thread queue, current thread, and scheduling related function into the manager 2018-10-26 16:07:11 -04:00
err_f.cpp Kernel: pass ref to port 2018-10-18 21:41:36 -04:00
err_f.h Core: pass down Core::System reference to all services (#4272) 2018-10-05 10:59:43 -04:00
http_c.cpp Merge pull request #4304 from B3n30/std_optional 2018-10-11 12:40:00 -04:00
http_c.h Merge pull request #4304 from B3n30/std_optional 2018-10-11 12:40:00 -04:00
mic_u.cpp Kernel: pass Kernel ref in Event 2018-10-18 21:41:36 -04:00
mic_u.h Kernel: pass Kernel ref in Event 2018-10-18 21:41:36 -04:00
service.cpp Service, Kernel: move named port list to kernel 2018-11-01 12:56:40 -04:00
service.h Service, Kernel: move named port list to kernel 2018-11-01 12:56:40 -04:00
soc_u.cpp Core: pass down Core::System reference to all services (#4272) 2018-10-05 10:59:43 -04:00
soc_u.h Core: pass down Core::System reference to all services (#4272) 2018-10-05 10:59:43 -04:00
ssl_c.cpp Core: pass down Core::System reference to all services (#4272) 2018-10-05 10:59:43 -04:00
ssl_c.h Core: pass down Core::System reference to all services (#4272) 2018-10-05 10:59:43 -04:00
y2r_u.cpp Kernel: pass Kernel ref in Event 2018-10-18 21:41:36 -04:00
y2r_u.h Kernel: pass Kernel ref in Event 2018-10-18 21:41:36 -04:00