diff options
author | Frans Kaashoek <[email protected]> | 2011-08-21 21:14:29 -0400 |
---|---|---|
committer | Frans Kaashoek <[email protected]> | 2011-08-21 21:14:29 -0400 |
commit | 3682474f779c02419623ae16de49a12da8d23af7 (patch) | |
tree | 16e433831469f089880b6829ffedd5c6e3f0d11e | |
parent | cd3d739e6f3d4d356ac8c34b25f16df82a5f2789 (diff) | |
download | xv6-labs-3682474f779c02419623ae16de49a12da8d23af7.tar.gz xv6-labs-3682474f779c02419623ae16de49a12da8d23af7.tar.bz2 xv6-labs-3682474f779c02419623ae16de49a12da8d23af7.zip |
delete dead code
-rw-r--r-- | kalloc.c | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -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) |