From b0fe71a5ccef1c166bc3aefd6ea2cef5f4b2fe46 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 31 Aug 2004 02:55:48 +0000 Subject: [PATCH] Update comments, put LOADER_PHYS_BASE back at 3 GB. --- src/threads/loader.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/threads/loader.h b/src/threads/loader.h index 2aebb0f..8bd603f 100644 --- a/src/threads/loader.h +++ b/src/threads/loader.h @@ -8,11 +8,14 @@ /* Physical address of kernel base. */ #define LOADER_KERN_BASE 0x100000 /* 1 MB. */ -/* The loader maps 4 MB of the start of physical memory to this - virtual base address. Later, the kernel adds the rest of - physical memory to the mapping. +/* Kernel virtual address at which all physical memory is mapped. + + The loader maps the 4 MB at the bottom of physical memory to + this virtual base address. Later, paging_init() adds the rest + of physical memory to the mapping. + This must be aligned on a 4 MB boundary. */ -#define LOADER_PHYS_BASE 0xb0000000 /* 3 GB. */ +#define LOADER_PHYS_BASE 0xc0000000 /* 3 GB. */ /* Offsets within the loader. */ #define LOADER_BIOS_SIG (LOADER_SIZE - 2) /* aa55 BIOS signature. */ -- 2.30.2