citra-canary/src/core/hle
Subv c9c1ba0952 Kernel/IPC: Implement StaticBuffer translation for HLE services that use the HLERequestContext architecture.
The real kernel requires services to set up their static buffer targets ahead of time. This implementation does not require that and will simply create the storage for the buffers as they are processed in the incoming IPC request.

Static buffers are kept in an unordered_map keyed by their buffer id, and are written into the already-setup area of the request thread when responding an IPC request.

This fixes a regression (crash) introduced in #2992.

This PR introduces more warnings due to the [[deprecated]] attribute being added to void PushStaticBuffer(VAddr buffer_vaddr, size_t size, u8 buffer_id); and VAddr PopStaticBuffer(size_t* data_size);
2017-11-12 11:00:00 -05:00
..
applets core: clear format warnings 2017-11-01 12:35:32 +02:00
kernel Kernel/IPC: Implement StaticBuffer translation for HLE services that use the HLERequestContext architecture. 2017-11-12 11:00:00 -05:00
service Kernel/IPC: Implement StaticBuffer translation for HLE services that use the HLERequestContext architecture. 2017-11-12 11:00:00 -05:00
config_mem.cpp Core: update Kernel Config Memory to latest version (11.2) 2017-01-30 11:29:00 +03:00
config_mem.h Remove empty newlines in #include blocks. 2016-09-21 11:15:47 +09:00
function_wrappers.h SVC: Remove GetPointer usage in CreatePort. 2017-10-04 14:04:03 -05:00
ipc_helpers.h Kernel/IPC: Implement StaticBuffer translation for HLE services that use the HLERequestContext architecture. 2017-11-12 11:00:00 -05:00
ipc.h Kernel/IPC: Implement StaticBuffer translation for HLE services that use the HLERequestContext architecture. 2017-11-12 11:00:00 -05:00
lock.cpp hle/lock: Remove #pragma once in cpp file 2017-10-21 13:59:14 +01:00
lock.h Use recursive_mutex instead of mutex to fix #2902 2017-08-29 20:39:55 +12:00
result.h ResultVal: Remove MoveFrom() 2017-06-18 19:03:15 -07:00
romfs.cpp apt: load shared font from system archive 2017-06-26 01:38:12 +03:00
romfs.h apt: load shared font from system archive 2017-06-26 01:38:12 +03:00
shared_page.cpp shared_page: stub battery state 2017-03-21 13:25:56 +02:00
shared_page.h shared_page: stub battery state 2017-03-21 13:25:56 +02:00
svc.cpp Kernel/SVC: Don't let svcReleaseMutex release a mutex owned by another thread. 2017-11-04 10:05:18 -05:00
svc.h svc: Move ResetType enum to the kernel event header 2016-03-12 21:47:41 -05:00