History log of /xv6-public/bootmain.c (Results 1 – 25 of 29)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: xv6-rev11, xv6-rev9
# 7894fcd2 25-Aug-2016 Frans Kaashoek <kaashoek@mit.edu>

Remove trailing white space with:
for f in *.{h,c}; do sed -i .sed 's/[[:blank:]]*$//' $f; done
(Thanks to Nicolás Wolovick)


# c24ac5d7 03-Apr-2015 Frans Kaashoek <kaashoek@mit.edu>

Disentangle block size from the disk's sector size. Set block size to 1024 to show
that they can be different. Clean up mkfs, simplifying specifying fs parameters,
remove some redundancy between fs

Disentangle block size from the disk's sector size. Set block size to 1024 to show
that they can be different. Clean up mkfs, simplifying specifying fs parameters,
remove some redundancy between fs and mkfs, and fix disk layout bugs. Call blocks
in the file system blocks instead of sectors. Passes usertests for different
block sizes.

show more ...


Revision tags: xv6-rev8, xv6-rev7, osdi12-submit, xv6-rev6
# 2fc6c35b 04-Sep-2011 Austin Clements <amdragon@mit.edu>

Make the ELF entry point a physical address

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.


# 15997d58 31-Aug-2011 Robert Morris <rtm@csail.mit.edu>

move the kernel to 0x80000000


# cd3d739e 18-Aug-2011 Frans Kaashoek <kaashoek@Frans-Kaashoeks-MacBook-Pro.local>

bootloader reads into a physical address (not a virtual address)


# fa81545f 18-Aug-2011 Frans Kaashoek <kaashoek@Frans-Kaashoeks-MacBook-Pro.local>

Make elf proghdr fields match what objdump prints


# 9aa0337d 29-Jul-2011 Frans Kaashoek <kaashoek@Frans-Kaashoeks-MacBook-Pro.local>

Map kernel high
Very important to give qemu memory through PHYSTOP :(


Revision tags: xv6-rev5
# 1a81e38b 11-Jan-2011 Russ Cox <rsc@swtch.com>

make new code like old code

Variable declarations at top of function,
separate from initialization.

Use == 0 instead of ! for checking pointers.

Consistent spacing around {, *, casts.

Declare 0-p

make new code like old code

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.

show more ...


# 4c274cef 15-Sep-2010 Austin Clements <amdragon@mit.edu>

Simplify boot loader by removing some JOS'isms


Revision tags: xv6-2010, xv6-rev4, xv6-rev3
# b7f653dc 08-Mar-2009 rsc <rsc>

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 kerne

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

show more ...


Revision tags: xv6-2008
# 411ee741 15-Sep-2007 rtm <rtm>

fix comments


Revision tags: xv6-2007, xv6-rev1
# 3e1eaf22 28-Aug-2007 rsc <rsc>

fix offsets


# a491dba0 28-Aug-2007 rsc <rsc>

more cmain -> bootmain


# c35c064e 28-Aug-2007 rsc <rsc>

cmain -> bootmain


# 8e670053 27-Aug-2007 rsc <rsc>

cut bootmain to 1 sheet


# 97ac612f 24-Aug-2007 rsc <rsc>

nits


# 20365348 24-Aug-2007 rtm <rtm>

add missing iput() at end of _namei()


# eaea18cb 22-Aug-2007 rsc <rsc>

PDF at http://am.lcs.mit.edu/~rsc/xv6.pdf

Various changes made while offline.

+ bwrite sector argument is redundant; use b->sector.
+ reformatting of files for nicer PDF page breaks
+ distinguis

PDF at http://am.lcs.mit.edu/~rsc/xv6.pdf

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

show more ...


Revision tags: symlinks, xv6-2006, xv6-rev0
# 0cfc7290 06-Sep-2006 rsc <rsc>

wrap long lines


# db8fb62e 06-Sep-2006 rsc <rsc>

for vs while


# f5527388 06-Sep-2006 rsc <rsc>

no /* */ comments


# 9e9bcaf1 06-Sep-2006 rsc <rsc>

standardize various * conventions


# a650c606 06-Sep-2006 rsc <rsc>

spacing fixes: no tabs, 2-space indents (for rtm)


# 29270816 20-Jul-2006 rtm <rtm>

uint32_t -> uint &c


# b5f17007 17-Jul-2006 rsc <rsc>

standarize on unix-like lowercase struct names


12