delete dead code

This commit is contained in:
Frans Kaashoek 2011-08-21 21:14:29 -04:00
parent cd3d739e6f
commit 3682474f77

View file

@ -21,7 +21,7 @@ struct {
extern char end[]; // first address after kernel loaded from ELF file extern char end[]; // first address after kernel loaded from ELF file
static char *newend; 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 * char *
enter_alloc(void) enter_alloc(void)
{ {
@ -36,12 +36,6 @@ enter_alloc(void)
return p; return p;
} }
uint
detect_memory(void)
{
return 0xE000000;
}
// Initialize free list of physical pages. // Initialize free list of physical pages.
void void
kinit(void) kinit(void)