summaryrefslogtreecommitdiff
path: root/bootmain.c
AgeCommit message (Collapse)AuthorFilesLines
2011-09-04Make the ELF entry point a physical addressAustin Clements1-1/+1
This way, the bootloader doesn't have to translate the entry point. This also makes xv6 multiboot-compliant and follows the convention used by Linux.
2011-08-31move the kernel to 0x80000000Robert Morris1-1/+1
2011-08-17bootloader reads into a physical address (not a virtual address)Frans Kaashoek1-7/+7
2011-08-17Make elf proghdr fields match what objdump printsFrans Kaashoek1-2/+2
2011-07-29Map kernel highFrans Kaashoek1-5/+6
Very important to give qemu memory through PHYSTOP :(
2011-01-11make new code like old codeRuss Cox1-1/+1
Variable declarations at top of function, separate from initialization. Use == 0 instead of ! for checking pointers. Consistent spacing around {, *, casts. Declare 0-parameter functions as (void) not (). Integer valued functions return -1 on failure, 0 on success.
2010-09-15Simplify boot loader by removing some JOS'ismsAustin Clements1-2/+2
2009-03-08xv6: boot loader adjustmentsrsc1-15/+14
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
2007-09-15fix commentsrtm1-7/+5
2007-08-28fix offsetsrsc1-2/+2
2007-08-28more cmain -> bootmainrsc1-1/+1
2007-08-28cmain -> bootmainrsc1-1/+1
2007-08-27cut bootmain to 1 sheetrsc1-28/+8
2007-08-24nitsrsc1-27/+24
2007-08-24add missing iput() at end of _namei()rtm1-1/+1
2007-08-22PDF at http://am.lcs.mit.edu/~rsc/xv6.pdfrsc1-27/+28
Various changes made while offline. + bwrite sector argument is redundant; use b->sector. + reformatting of files for nicer PDF page breaks + distinguish between locked, unlocked inodes in type signatures + change FD_FILE to FD_INODE + move userinit (nee proc0init) to proc.c + move ROOTDEV to param.h + always parenthesize sizeof argument
2006-09-06wrap long linesrsc1-4/+6
2006-09-06for vs whilersc1-1/+1
2006-09-06no /* */ commentsrsc1-30/+27
2006-09-06standardize various * conventionsrsc1-12/+12
2006-09-06spacing fixes: no tabs, 2-space indents (for rtm)rsc1-56/+56
2006-07-20uint32_t -> uint &crtm1-8/+8
2006-07-17standarize on unix-like lowercase struct namesrsc1-3/+3
2006-07-17add uint and standardize on typedefs instead of unsignedrsc1-1/+1
2006-07-16standardize on not using foo_ prefix in struct foorsc1-5/+5
2006-07-16standardize on #include "foo" not <foo>rsc1-3/+3
2006-06-12importrtm1-0/+121