提交 3682474f 创建 作者: Frans Kaashoek's avatar Frans Kaashoek

delete dead code

上级 cd3d739e
...@@ -21,7 +21,7 @@ struct { ...@@ -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) ...@@ -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)
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论