Skip to content

Commit

Permalink
delete dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
Frans Kaashoek authored and Frans Kaashoek committed Aug 22, 2011
1 parent cd3d739 commit 3682474
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions kalloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand All @@ -36,12 +36,6 @@ enter_alloc(void)
return p;
}

uint
detect_memory(void)
{
return 0xE000000;
}

// Initialize free list of physical pages.
void
kinit(void)
Expand Down

0 comments on commit 3682474

Please sign in to comment.