xv6

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 3682474f779c02419623ae16de49a12da8d23af7
parent cd3d739e6f3d4d356ac8c34b25f16df82a5f2789
Author: Frans Kaashoek <kaashoek@Frans-Kaashoeks-MacBook-Pro.local>
Date:   Sun, 21 Aug 2011 21:14:29 -0400

delete dead code

Diffstat:
Mkalloc.c | 8+-------
1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/kalloc.c b/kalloc.c @@ -21,7 +21,7 @@ struct { extern char end[]; // first address after kernel loaded from ELF file static char *newend; -// simple page allocator to get off the ground during entry +// A simple page allocator to get off the ground during entry char * enter_alloc(void) { @@ -36,12 +36,6 @@ enter_alloc(void) return p; } -uint -detect_memory(void) -{ - return 0xE000000; -} - // Initialize free list of physical pages. void kinit(void)