yuzu/src/core/hle
Lioncash 4f8756edd0 kernel/svc: Sanitize creation of shared memory via svcCreateSharedMemory()
The kernel caps the size limit of shared memory to 8589930496 bytes (or
(1GB - 512 bytes) * 8), so approximately 8GB, where every GB has a 512
byte sector taken off of it.

It also ensures the shared memory is created with either read or
read/write permissions for both permission types passed in, allowing the
remote permissions to also be set as "don't care".
2018-09-13 23:07:27 -04:00
..
kernel kernel/svc: Sanitize creation of shared memory via svcCreateSharedMemory() 2018-09-13 23:07:27 -04:00
service Merge pull request #1297 from lioncash/pl 2018-09-12 16:03:53 -04:00
ipc_helpers.h kernel: Eliminate kernel global state 2018-08-28 22:31:51 -04:00
ipc.h ipc: minor fix 2018-09-13 11:59:23 -05:00
lock.cpp Fix build on macOS and linux 2018-01-13 22:38:52 +00:00
lock.h Use recursive_mutex instead of mutex to fix #2902 2017-08-29 20:39:55 +12:00
result.h hle/result: Make ResultVal's move constructor as noexcept 2018-08-28 09:39:50 -04:00