]> Devi Nivas Git - cs3210-lab0.git/commit
xv6: boot loader adjustments
authorrsc <rsc>
Sun, 8 Mar 2009 21:41:30 +0000 (21:41 +0000)
committerrsc <rsc>
Sun, 8 Mar 2009 21:41:30 +0000 (21:41 +0000)
commitb7f653dc49dd4af29a3b7bdd66cd712bea166623
treee3bc07bdacacf2a7e311f3a87bbad243e5ba79d7
parent8220135362c02b5e4a5532a561c6c1bd4b4d1540
xv6: boot loader adjustments

do Bochs breakpoint and spin in bootasm.S.
not needed in bootmain too.
fix readseg bug (rounding of va).
zero segments when memsz > filesz.
no need to clear BSS in kernel main.
make bootother.S like bootasm.S
bootasm.S
bootmain.c
bootother.S
main.c