Loader: Implement Kernel Capability parsing/validation.

This commit is contained in:
Michael Scire committed 2018-04-23 18:24:02 -06:00
1 parent 0e11788e43
commit c9a40f358a
3 files changed
+264 -1

No files matched your search

@@ -32,6 +32,7 @@ Result ProcessCreation::CreateProcess(Handle *out_process_h, u64 index, char *nc
}
/* TODO: Parse and verify ACI0 kernel caps vs ACID kernel caps. */
rc = NpdmUtils::ValidateCapabilities((u32 *)info.acid_kac, info.acid->kac_size/sizeof(u32), (u32 *)info.aci0_kac, info.aci0->kac_size/sizeof(u32));
/* TODO: Read in all NSO headers, see what NSOs are present. */