Permalink
Browse files

_start --> entry

  • Loading branch information...
1 parent 52e7e6a commit 61bc4d803bd970d5a3410cd7525e87f35221bce9 @haogang haogang committed Sep 7, 2011
Showing with 3 additions and 3 deletions.
  1. +1 −1 conf/lab.mk
  2. +2 −2 kern/monitor.c
View
@@ -1,2 +1,2 @@
LAB=1
-PACKAGEDATE=Tue Sep 6 13:28:58 EDT 2011
+PACKAGEDATE=Wed Sep 7 19:05:49 EDT 2011
View
@@ -47,12 +47,12 @@ mon_kerninfo(int argc, char **argv, struct Trapframe *tf)
extern char _start[], etext[], edata[], end[];
cprintf("Special kernel symbols:\n");
- cprintf(" _start %08x (virt) %08x (phys)\n", _start, _start - KERNBASE);
+ cprintf(" entry %08x (virt) %08x (phys)\n", entry , entry - KERNBASE);
cprintf(" etext %08x (virt) %08x (phys)\n", etext, etext - KERNBASE);
cprintf(" edata %08x (virt) %08x (phys)\n", edata, edata - KERNBASE);
cprintf(" end %08x (virt) %08x (phys)\n", end, end - KERNBASE);
cprintf("Kernel executable memory footprint: %dKB\n",
- (end-_start+1023)/1024);
+ (end-entry +1023)/1024);
return 0;
}

0 comments on commit 61bc4d8

Please sign in to comment.