kern: implement transfer memory (and SVCs)

This commit is contained in:
Michael Scire authored and SciresM committed 2020-07-31 14:50:52 -07:00
1 parent 28aab09b5d
commit d87a9f011c
8 files changed
+312 -19

No files matched your search

@@ -88,7 +88,7 @@ namespace ams::kern::svc {
/* Verify that the mapping is in range. */
R_UNLESS(page_table.CanContain(address, size, KMemoryState_Shared), svc::ResultInvalidMemoryRegion());
/* Map the shared memory. */
/* Unmap the shared memory. */
R_TRY(shmem->Unmap(std::addressof(page_table), address, size, std::addressof(process)));
/* Remove the shared memory from the process. */