diff options
author | rtm <rtm> | 2006-08-29 14:45:45 +0000 |
---|---|---|
committer | rtm <rtm> | 2006-08-29 14:45:45 +0000 |
commit | 2b19190c13a12b276ac5cd3a69187d2ab504f36e (patch) | |
tree | dac7e7bdb8e6a8fced5ac1fed65ed0322c86927c /main.c | |
parent | b52151e032025f97e42ddc0147c9e49fb958a948 (diff) | |
download | xv6-labs-2b19190c13a12b276ac5cd3a69187d2ab504f36e.tar.gz xv6-labs-2b19190c13a12b276ac5cd3a69187d2ab504f36e.tar.bz2 xv6-labs-2b19190c13a12b276ac5cd3a69187d2ab504f36e.zip |
clean up stale error checks and panics
delete unused functions
a few comments
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -25,8 +25,6 @@ main0(void) int i; struct proc *p; - lcr4(0); // xxx copy of cpu # - // clear BSS memset(edata, 0, end - edata); @@ -97,8 +95,6 @@ main0(void) void mpmain(void) { - lcr4(1); // xxx copy of cpu # - cprintf("cpu%d: starting\n", cpu()); idtinit(); // CPU's idt if(cpu() == 0) |