kern: Implement most of memory init (all cores hit main, but still more to do)

This commit is contained in:
Michael Scire committed 2020-01-28 22:09:47 -08:00
1 parent b2e522c0a0
commit e7dee2a9fc
22 files changed
+1246 -81

No files matched your search

@@ -23,8 +23,10 @@ namespace ams::kern {
class Init {
public:
/* Initialization. */
static size_t GetIntendedMemorySize();
static KPhysicalAddress GetKernelPhysicalBaseAddress(uintptr_t base_address);
static bool ShouldIncreaseThreadResourceLimit();
static void CpuOn(u64 core_id, uintptr_t entrypoint, uintptr_t arg);
/* Randomness. */
static void GenerateRandomBytes(void *dst, size_t size);