feat: DTB now populates VMBootMemoryMap structure.

This commit is contained in:
karina
2026-04-26 13:32:44 +04:00
parent a05b51fca3
commit 785a61b451
8 changed files with 109 additions and 14 deletions
+19
View File
@@ -0,0 +1,19 @@
#pragma once
#include <Types.h>
enum {
kVMPageSize = 4096,
kVMBlocksPerByte = 8,
kVMMaxReservedRegions = 128,
};
typedef struct {
UInt64 base;
Size size;
} VMMemoryRegion;
typedef struct {
VMMemoryRegion totalRAM;
VMMemoryRegion reserved[kVMMaxReservedRegions];
UInt32 reservedCount;
} VMBootMemoryMap;