Nucleus
Barry ACPI + APIC 232d0f9 (3 years, 3 months ago)
diff --git a/memory/frame.c b/memory/frame.c
index 512c47d..8a868ea 100644
--- a/memory/frame.c
+++ b/memory/frame.c
@@ -140,7 +140,7 @@ init_frames(uint32_t size, void *addr)
int i, j;
struct E820Entry *memMap = addr;
struct FrameRegion *prev = NULL, *head = regions;
- uintptr_t bumpAlloc = PAGE_SIZE;
+ uintptr_t bumpAlloc = PAGE_SIZE * 2; /* Leave room for AP trampoline */
for (i = 0; i < size / sizeof(struct E820Entry); i++) {
if (memMap[i].baseHigh > 0
|| memMap[i].base > 0xFFFFFFFF