summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kalloc.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/kalloc.c b/kalloc.c
index 35ea6ed..897d9d7 100644
--- 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)