]> Devi Nivas Git - cs3210-lab1.git/log
cs3210-lab1.git
14 years agoMove xv6 release tars/pdfs in to 6.828 repo
Austin Clements [Wed, 7 Sep 2011 15:57:41 +0000 (11:57 -0400)]
Move xv6 release tars/pdfs in to 6.828 repo

14 years agoRemove web directory; all cruft or moved to 6.828 repo
Austin Clements [Wed, 7 Sep 2011 15:49:14 +0000 (11:49 -0400)]
Remove web directory; all cruft or moved to 6.828 repo

14 years agoMake web page refer to git releases
Austin Clements [Wed, 7 Sep 2011 15:36:53 +0000 (11:36 -0400)]
Make web page refer to git releases

14 years agoRemove old book chapters
Austin Clements [Wed, 7 Sep 2011 14:05:52 +0000 (10:05 -0400)]
Remove old book chapters

14 years agoRe-alphabetize OBJS
Austin Clements [Tue, 6 Sep 2011 03:45:04 +0000 (23:45 -0400)]
Re-alphabetize OBJS

14 years agoNote about the meaning of sheet1 in runoff.spec
Austin Clements [Mon, 5 Sep 2011 19:30:14 +0000 (15:30 -0400)]
Note about the meaning of sheet1 in runoff.spec

14 years agosources -> sources and text
Frans Kaashoek [Tue, 6 Sep 2011 00:56:48 +0000 (20:56 -0400)]
sources -> sources and text

14 years agoShorten history of xv6
Frans Kaashoek [Tue, 6 Sep 2011 00:54:25 +0000 (20:54 -0400)]
Shorten history of xv6
Cut section about commentary
Add (failing) link to xv6 source section pointing to the text.
Delete the incorrect/incomplete list of universities using jos/xv6

14 years agoSetting indent-tabs-mode nil everywhere is dangerous
Austin Clements [Mon, 5 Sep 2011 19:22:16 +0000 (15:22 -0400)]
Setting indent-tabs-mode nil everywhere is dangerous

14 years agoSync up clean and gitignore better
Austin Clements [Mon, 5 Sep 2011 19:21:40 +0000 (15:21 -0400)]
Sync up clean and gitignore better

14 years agoUpdate gitignore
Austin Clements [Mon, 5 Sep 2011 16:54:42 +0000 (12:54 -0400)]
Update gitignore

14 years agoFix stale comments in entryother.S
Austin Clements [Sun, 4 Sep 2011 19:56:16 +0000 (15:56 -0400)]
Fix stale comments in entryother.S

14 years agoMake the ELF entry point a physical address
Austin Clements [Sun, 4 Sep 2011 19:51:46 +0000 (15:51 -0400)]
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.

14 years agokernel depends on kernel.ld
Austin Clements [Sun, 4 Sep 2011 19:19:43 +0000 (15:19 -0400)]
kernel depends on kernel.ld

14 years agoAdd QEMUEXTRA environment to add extra QEMU arguments, like in JOS
Austin Clements [Sun, 4 Sep 2011 19:19:33 +0000 (15:19 -0400)]
Add QEMUEXTRA environment to add extra QEMU arguments, like in JOS

14 years agoI can't do math; fix bug introduced in 5a9761
Austin Clements [Sat, 3 Sep 2011 14:21:51 +0000 (10:21 -0400)]
I can't do math; fix bug introduced in 5a9761

14 years agoA few missed xv6.pdf dependencies
Austin Clements [Fri, 2 Sep 2011 20:36:08 +0000 (16:36 -0400)]
A few missed xv6.pdf dependencies

14 years agoUpdate year in URL
Austin Clements [Fri, 2 Sep 2011 20:32:46 +0000 (16:32 -0400)]
Update year in URL

14 years agoUpdate index example in TOC footer
Austin Clements [Fri, 2 Sep 2011 20:30:20 +0000 (16:30 -0400)]
Update index example in TOC footer

14 years agoUpdated runoff spec; everything but ide.c is satisfied
Austin Clements [Fri, 2 Sep 2011 19:36:23 +0000 (15:36 -0400)]
Updated runoff spec; everything but ide.c is satisfied

14 years agoFix same wonky pagebreak bug in console.c
Austin Clements [Fri, 2 Sep 2011 19:35:49 +0000 (15:35 -0400)]
Fix same wonky pagebreak bug in console.c

14 years agoPut filewrite in its own column
Austin Clements [Fri, 2 Sep 2011 19:35:34 +0000 (15:35 -0400)]
Put filewrite in its own column

14 years agoFix weird pagebreak bug
Austin Clements [Fri, 2 Sep 2011 19:29:33 +0000 (15:29 -0400)]
Fix weird pagebreak bug

14 years agoFit exec on a page. Again
Austin Clements [Fri, 2 Sep 2011 19:27:41 +0000 (15:27 -0400)]
Fit exec on a page.  Again

14 years agoShorten sys_unlink a little; create now fits in column
Austin Clements [Fri, 2 Sep 2011 19:20:27 +0000 (15:20 -0400)]
Shorten sys_unlink a little; create now fits in column

14 years agoAdd blank page to get our super FS spreads back
Austin Clements [Fri, 2 Sep 2011 19:14:06 +0000 (15:14 -0400)]
Add blank page to get our super FS spreads back

14 years agoRemove comment debug prints from log.c; now fits nicely in a spread
Austin Clements [Fri, 2 Sep 2011 19:11:52 +0000 (15:11 -0400)]
Remove comment debug prints from log.c; now fits nicely in a spread

14 years agoDefine struct log separately from log to avoid confusing column breaker
Austin Clements [Fri, 2 Sep 2011 19:08:35 +0000 (15:08 -0400)]
Define struct log separately from log to avoid confusing column breaker

14 years agoComment balance
Austin Clements [Fri, 2 Sep 2011 19:08:13 +0000 (15:08 -0400)]
Comment balance

14 years agoRemove unused headers from log.c
Austin Clements [Fri, 2 Sep 2011 19:07:56 +0000 (15:07 -0400)]
Remove unused headers from log.c

14 years agoFit fs.h in one column
Austin Clements [Fri, 2 Sep 2011 18:57:28 +0000 (14:57 -0400)]
Fit fs.h in one column

14 years agoRemove data.S from runoff, too
Austin Clements [Fri, 2 Sep 2011 18:52:53 +0000 (14:52 -0400)]
Remove data.S from runoff, too

14 years agoRemove unused x86.h definitions
Austin Clements [Fri, 2 Sep 2011 18:52:13 +0000 (14:52 -0400)]
Remove unused x86.h definitions

14 years agoNuke data.S, since we do have a custom linker script.
Austin Clements [Fri, 2 Sep 2011 18:51:55 +0000 (14:51 -0400)]
Nuke data.S, since we do have a custom linker script.

14 years agoCorrect terminology in kernel.ld
Austin Clements [Fri, 2 Sep 2011 18:46:01 +0000 (14:46 -0400)]
Correct terminology in kernel.ld

14 years agoOops, dropped a paren
Austin Clements [Fri, 2 Sep 2011 18:37:42 +0000 (14:37 -0400)]
Oops, dropped a paren

14 years agoclear_pte_u -> clearpteu
Austin Clements [Fri, 2 Sep 2011 18:37:04 +0000 (14:37 -0400)]
clear_pte_u -> clearpteu

14 years agoMove copy_pte_u; fits vm.c in one less column and aligns proc.h
Austin Clements [Fri, 2 Sep 2011 18:35:58 +0000 (14:35 -0400)]
Move copy_pte_u; fits vm.c in one less column and aligns proc.h

14 years agoCleanup comments and fit setupkvm on same page as kmap, which aligns lots of other...
Austin Clements [Fri, 2 Sep 2011 18:34:29 +0000 (14:34 -0400)]
Cleanup comments and fit setupkvm on same page as kmap, which aligns lots of other things

14 years agoStyle
Austin Clements [Fri, 2 Sep 2011 18:28:44 +0000 (14:28 -0400)]
Style

14 years agoMake mappages fit on the page
Austin Clements [Fri, 2 Sep 2011 18:11:16 +0000 (14:11 -0400)]
Make mappages fit on the page

14 years agobootother -> entryother in README
Austin Clements [Fri, 2 Sep 2011 18:00:33 +0000 (14:00 -0400)]
bootother -> entryother in README

14 years agoSkip missing page directories in deallocuvm
Austin Clements [Fri, 2 Sep 2011 01:29:09 +0000 (21:29 -0400)]
Skip missing page directories in deallocuvm

Previously, deallocuvm scanned from 0 to KERNBASE in one page
increments, which had a noticable effect on boot time.  Now it skips
over missing page directories.

14 years agoMerge branch 'master' of git+ssh://amsterdam.csail.mit.edu/home/am0/6.828/xv6
Robert Morris [Thu, 1 Sep 2011 17:26:03 +0000 (13:26 -0400)]
Merge branch 'master' of git+ssh://amsterdam.csail.mit.edu/home/am0/6.828/xv6

14 years agoinaccessible page under the user stack page, to help exec deal w/ too-large args
Robert Morris [Thu, 1 Sep 2011 17:25:34 +0000 (13:25 -0400)]
inaccessible page under the user stack page, to help exec deal w/ too-large args

14 years agoFix layout
Frans Kaashoek [Thu, 1 Sep 2011 17:18:02 +0000 (13:18 -0400)]
Fix layout

14 years agoHave one definition of kernel stack size
Frans Kaashoek [Thu, 1 Sep 2011 16:18:43 +0000 (12:18 -0400)]
Have one definition of kernel stack size

14 years agoMerge branch 'master' of git+ssh://amsterdam.csail.mit.edu/home/am0/6.828/xv6
Robert Morris [Thu, 1 Sep 2011 16:03:49 +0000 (12:03 -0400)]
Merge branch 'master' of git+ssh://amsterdam.csail.mit.edu/home/am0/6.828/xv6

Conflicts:
vm.c

14 years agofix usertests to correctly test what happens when you call
Robert Morris [Thu, 1 Sep 2011 16:02:49 +0000 (12:02 -0400)]
fix usertests to correctly test what happens when you call
exec() with arguments that don't fit on a single page.

14 years agoUse stosl in memset; makes boot time bearable
Austin Clements [Thu, 1 Sep 2011 14:41:21 +0000 (10:41 -0400)]
Use stosl in memset; makes boot time bearable

14 years agoFix layout issues for printed version
Frans Kaashoek [Thu, 1 Sep 2011 14:25:20 +0000 (10:25 -0400)]
Fix layout issues for printed version

14 years agomove the kernel to 0x80000000
Robert Morris [Wed, 31 Aug 2011 13:48:52 +0000 (09:48 -0400)]
move the kernel to 0x80000000

14 years agosimplify the end of entry.S
Robert Morris [Wed, 31 Aug 2011 09:38:05 +0000 (05:38 -0400)]
simplify the end of entry.S

14 years agoenterpgdir -> entrypgdir
Robert Morris [Wed, 31 Aug 2011 00:50:19 +0000 (20:50 -0400)]
enterpgdir -> entrypgdir

14 years agoRevert "Introduce and use sleeplocks instead of BUSY flags"
Frans Kaashoek [Mon, 29 Aug 2011 21:18:40 +0000 (17:18 -0400)]
Revert "Introduce and use sleeplocks instead of BUSY flags"
My changes have a race with re-used bufs and the code doesn't seem to get shorter
Keep the changes that fixed ip->off race

This reverts commit 3a5fa7ed9020eaf8ab843a16d26db7393b2ec072.

Conflicts:

defs.h
file.c
file.h

14 years agoRenumber I_VALID since I_BUSY is gone
Austin Clements [Mon, 29 Aug 2011 20:14:44 +0000 (16:14 -0400)]
Renumber I_VALID since I_BUSY is gone

14 years agodir-locals.el to set style in Emacs
Austin Clements [Mon, 29 Aug 2011 20:12:17 +0000 (16:12 -0400)]
dir-locals.el to set style in Emacs

14 years agoStyle nits; indentation and tabs
Austin Clements [Mon, 29 Aug 2011 20:12:01 +0000 (16:12 -0400)]
Style nits; indentation and tabs

14 years agoMerge branch 'master' of git+ssh://amsterdam.csail.mit.edu/home/am0/6.828/xv6
Frans Kaashoek [Fri, 26 Aug 2011 14:10:37 +0000 (10:10 -0400)]
Merge branch 'master' of git+ssh://amsterdam.csail.mit.edu/home/am0/6.828/xv6

14 years agoIntroduce and use sleeplocks instead of BUSY flags
Frans Kaashoek [Fri, 26 Aug 2011 14:08:29 +0000 (10:08 -0400)]
Introduce and use sleeplocks instead of BUSY flags
Remove I_BUSY, B_BUSY, and intrans defs and usages
One spinlock per buf to avoid ugly loop in bget
fix race in filewrite (don't update f->off after releasing lock)

14 years agosegment register -> segment descriptor
Robert Morris [Fri, 26 Aug 2011 10:47:13 +0000 (06:47 -0400)]
segment register -> segment descriptor

14 years agoMake cross reference with text work
Frans Kaashoek [Thu, 25 Aug 2011 18:39:09 +0000 (14:39 -0400)]
Make cross reference with text work

14 years agoEliminate USERTOP; no use for it.
Frans Kaashoek [Wed, 24 Aug 2011 14:24:40 +0000 (10:24 -0400)]
Eliminate USERTOP; no use for it.

14 years agoA comment
Frans Kaashoek [Tue, 23 Aug 2011 00:07:18 +0000 (20:07 -0400)]
A comment

14 years agoRemove sys_init syscall
Frans Kaashoek [Tue, 23 Aug 2011 00:05:15 +0000 (20:05 -0400)]
Remove sys_init syscall
Invoke initlog from forkret on first user process

14 years agoMerge branch 'master' of git+ssh://amsterdam.csail.mit.edu/home/am0/6.828/xv6
Frans Kaashoek [Mon, 22 Aug 2011 01:14:42 +0000 (21:14 -0400)]
Merge branch 'master' of git+ssh://amsterdam.csail.mit.edu/home/am0/6.828/xv6

14 years agodelete dead code
Frans Kaashoek [Mon, 22 Aug 2011 01:14:29 +0000 (21:14 -0400)]
delete dead code

14 years agomake dirlookup and dirlink more similar
Robert Morris [Fri, 19 Aug 2011 17:30:57 +0000 (13:30 -0400)]
make dirlookup and dirlink more similar

14 years agobootloader reads into a physical address (not a virtual address)
Frans Kaashoek [Thu, 18 Aug 2011 00:52:28 +0000 (20:52 -0400)]
bootloader reads into a physical address (not a virtual address)

14 years agoMake elf proghdr fields match what objdump prints
Frans Kaashoek [Thu, 18 Aug 2011 00:23:36 +0000 (20:23 -0400)]
Make elf proghdr fields match what objdump prints

14 years agoSwitch back to #define for PHYSTOP. Using the E820 to retrieve the memory map is...
Frans Kaashoek [Wed, 17 Aug 2011 00:23:17 +0000 (20:23 -0400)]
Switch back to #define for PHYSTOP.  Using the E820 to retrieve the memory map is too complicated (must be done in 16-bit real-mode, probably enlarged bootblock beyond 512 bytes, and a #define requires less explanation).

14 years agoClean up memlayout.h
Frans Kaashoek [Tue, 16 Aug 2011 19:47:22 +0000 (15:47 -0400)]
Clean up memlayout.h
Get rid of last instances of linear address and "la"
Get ready for detecting physical memory dynamically

14 years agoUpdate make clean
Frans Kaashoek [Tue, 16 Aug 2011 00:32:04 +0000 (20:32 -0400)]
Update make clean

14 years agoUpdate list of files to include in printout
Frans Kaashoek [Tue, 16 Aug 2011 00:28:28 +0000 (20:28 -0400)]
Update list of files to include in printout

14 years agoMake Austin happier
Frans Kaashoek [Tue, 16 Aug 2011 00:21:14 +0000 (20:21 -0400)]
Make Austin happier
2011

14 years agoAvoid "boot" in xv6
Frans Kaashoek [Tue, 16 Aug 2011 00:11:13 +0000 (20:11 -0400)]
Avoid "boot" in xv6

14 years agoUse 4Mbyte pages during boot
Frans Kaashoek [Mon, 15 Aug 2011 21:41:58 +0000 (17:41 -0400)]
Use 4Mbyte pages during boot

14 years agoOnly commit log to disk if something was written in to it.
Austin Clements [Mon, 15 Aug 2011 18:11:22 +0000 (14:11 -0400)]
Only commit log to disk if something was written in to it.

Without this, every write to the console results in log writes.

14 years agoMerge branch 'master' of git+ssh://amsterdam.csail.mit.edu/home/am0/6.828/xv6
Robert Morris [Mon, 15 Aug 2011 16:44:41 +0000 (12:44 -0400)]
Merge branch 'master' of git+ssh://amsterdam.csail.mit.edu/home/am0/6.828/xv6

14 years agoavoid deadlock by calling begin_trans() before locking any inodes
Robert Morris [Mon, 15 Aug 2011 16:44:20 +0000 (12:44 -0400)]
avoid deadlock by calling begin_trans() before locking any inodes

14 years agoSeparate more clearly bootloader from xv6 by renaming multiboot.S to entry.S etc.
Frans Kaashoek [Mon, 15 Aug 2011 16:02:59 +0000 (12:02 -0400)]
Separate more clearly bootloader from xv6 by renaming multiboot.S to entry.S etc.
Maybe the string boot shouldn't appear in xv6 code?

14 years agoOops
Frans Kaashoek [Fri, 12 Aug 2011 16:02:17 +0000 (12:02 -0400)]
Oops

14 years agoMerge branch 'master' of git+ssh://amsterdam.csail.mit.edu/home/am0/6.828/xv6
Robert Morris [Fri, 12 Aug 2011 13:26:23 +0000 (09:26 -0400)]
Merge branch 'master' of git+ssh://amsterdam.csail.mit.edu/home/am0/6.828/xv6

14 years agolog write() data
Robert Morris [Fri, 12 Aug 2011 13:25:39 +0000 (09:25 -0400)]
log write() data
usertest for big write()s
push begin_trans/commit_trans down into syscalls

14 years agoSome comments
Frans Kaashoek [Fri, 12 Aug 2011 11:31:52 +0000 (07:31 -0400)]
Some comments

14 years agoMake AP processors boot using bootpgdir
Frans Kaashoek [Thu, 11 Aug 2011 16:25:10 +0000 (12:25 -0400)]
Make AP processors boot using bootpgdir
Remove device mapping from bootpgdir
Remove unnecessary vmenable
Set CPUS back to 2 in Makefile
Passes all usertests

14 years agoOne more low address
Frans Kaashoek [Wed, 10 Aug 2011 03:22:48 +0000 (23:22 -0400)]
One more low address

14 years agoTiny bit of cleanup
Frans Kaashoek [Wed, 10 Aug 2011 01:56:43 +0000 (21:56 -0400)]
Tiny bit of cleanup

14 years agoShorten boot assembly
Frans Kaashoek [Wed, 10 Aug 2011 01:51:17 +0000 (21:51 -0400)]
Shorten boot assembly

14 years agox
Frans Kaashoek [Wed, 10 Aug 2011 01:49:13 +0000 (21:49 -0400)]
x

14 years agoRemove jmpkstack
Frans Kaashoek [Wed, 10 Aug 2011 01:47:40 +0000 (21:47 -0400)]
Remove jmpkstack

14 years agoUse static page table for boot, mapping first 4Mbyte; no more segment trick
Frans Kaashoek [Wed, 10 Aug 2011 01:37:35 +0000 (21:37 -0400)]
Use static page table for boot, mapping first 4Mbyte; no more segment trick
Allocate proper kernel page table immediately in main using boot allocator
Remove pginit
Simplify address space layout a tiny bit
More to come (e.g., superpages to simplify static table)

14 years agoUse kernel virtual addresses for BIOS memory, etc.
Frans Kaashoek [Wed, 10 Aug 2011 01:33:59 +0000 (21:33 -0400)]
Use kernel virtual addresses for BIOS memory, etc.

14 years agoAllow gas to use / as divide (instead of comment)
Frans Kaashoek [Tue, 9 Aug 2011 20:09:15 +0000 (16:09 -0400)]
Allow gas to use / as divide (instead of comment)
Maybe not necessary, but don't want to waste time figuring this out again

14 years agoOne definition of several macros and constants
Frans Kaashoek [Mon, 8 Aug 2011 17:30:08 +0000 (13:30 -0400)]
One definition of several macros and constants

14 years agoSpeedup sbrk tst a bit (forking 100Mbyte processes is slow)
Frans Kaashoek [Mon, 8 Aug 2011 13:20:29 +0000 (09:20 -0400)]
Speedup sbrk tst a bit (forking 100Mbyte processes is slow)

14 years agoAdjust sbrk test for large user address spaces
Frans Kaashoek [Mon, 8 Aug 2011 03:03:48 +0000 (23:03 -0400)]
Adjust sbrk test for large user address spaces
All tests pass

14 years agooops
Frans Kaashoek [Sun, 7 Aug 2011 16:30:34 +0000 (12:30 -0400)]
oops

14 years agoDon't map IO space in the user part of the address space
Frans Kaashoek [Mon, 1 Aug 2011 01:27:02 +0000 (21:27 -0400)]
Don't map IO space in the user part of the address space
Passes all tests now (but need to update usertests to allow for more than 640k)

14 years agoMap kernel high
Frans Kaashoek [Fri, 29 Jul 2011 11:31:27 +0000 (07:31 -0400)]
Map kernel high
Very important to give qemu memory through PHYSTOP :(