Commit graph

844 commits

Author SHA1 Message Date
Austin Clements
49d64d330e Update index example in TOC footer 2011-09-02 16:30:20 -04:00
Austin Clements
2a2e6eb13d Updated runoff spec; everything but ide.c is satisfied 2011-09-02 15:36:23 -04:00
Austin Clements
c6c0cb82c4 Fix same wonky pagebreak bug in console.c 2011-09-02 15:35:49 -04:00
Austin Clements
e76dab4fd7 Put filewrite in its own column 2011-09-02 15:35:34 -04:00
Austin Clements
7d9ee3b833 Fix weird pagebreak bug 2011-09-02 15:29:33 -04:00
Austin Clements
5a97613bab Fit exec on a page. Again 2011-09-02 15:27:41 -04:00
Austin Clements
4e015d81aa Shorten sys_unlink a little; create now fits in column 2011-09-02 15:20:27 -04:00
Austin Clements
9bb1e53df5 Add blank page to get our super FS spreads back 2011-09-02 15:14:06 -04:00
Austin Clements
7fb21193b0 Remove comment debug prints from log.c; now fits nicely in a spread 2011-09-02 15:11:52 -04:00
Austin Clements
ee1b33065c Define struct log separately from log to avoid confusing column breaker 2011-09-02 15:08:35 -04:00
Austin Clements
a14c96f825 Comment balance 2011-09-02 15:08:13 -04:00
Austin Clements
436f657e2d Remove unused headers from log.c 2011-09-02 15:07:56 -04:00
Austin Clements
788e27def2 Fit fs.h in one column 2011-09-02 14:57:28 -04:00
Austin Clements
3c01f5a0ed Remove data.S from runoff, too 2011-09-02 14:52:53 -04:00
Austin Clements
30c1901a5a Remove unused x86.h definitions 2011-09-02 14:52:13 -04:00
Austin Clements
dd4438b4fe Nuke data.S, since we do have a custom linker script. 2011-09-02 14:51:55 -04:00
Austin Clements
ce6dd9de27 Correct terminology in kernel.ld 2011-09-02 14:46:01 -04:00
Austin Clements
6f3ca059f2 Oops, dropped a paren 2011-09-02 14:37:42 -04:00
Austin Clements
2eb214c9db clear_pte_u -> clearpteu 2011-09-02 14:37:04 -04:00
Austin Clements
91aa0f3296 Move copy_pte_u; fits vm.c in one less column and aligns proc.h 2011-09-02 14:35:58 -04:00
Austin Clements
9e4272c14e Cleanup comments and fit setupkvm on same page as kmap, which aligns lots of other things 2011-09-02 14:34:29 -04:00
Austin Clements
14835ec987 Style 2011-09-02 14:28:44 -04:00
Austin Clements
cf7b670293 Make mappages fit on the page 2011-09-02 14:11:16 -04:00
Austin Clements
82bb0b56c6 bootother -> entryother in README 2011-09-02 14:00:33 -04:00
Austin Clements
052e18485d 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.
2011-09-01 21:29:09 -04:00
Robert Morris
1eadf4a8fc Merge branch 'master' of git+ssh://amsterdam.csail.mit.edu/home/am0/6.828/xv6 2011-09-01 13:26:03 -04:00
Robert Morris
371ab7fa96 inaccessible page under the user stack page, to help exec deal w/ too-large args 2011-09-01 13:25:34 -04:00
Frans Kaashoek
6bb9221395 Fix layout 2011-09-01 13:18:02 -04:00
Frans Kaashoek
e04329aae8 Have one definition of kernel stack size 2011-09-01 12:18:43 -04:00
Robert Morris
62e3b8a92c Merge branch 'master' of git+ssh://amsterdam.csail.mit.edu/home/am0/6.828/xv6
Conflicts:
	vm.c
2011-09-01 12:03:49 -04:00
Robert Morris
5a23692444 fix usertests to correctly test what happens when you call
exec() with arguments that don't fit on a single page.
2011-09-01 12:02:49 -04:00
Austin Clements
d0f3efca65 Use stosl in memset; makes boot time bearable 2011-09-01 10:41:27 -04:00
Frans Kaashoek
e25b74ca80 Fix layout issues for printed version 2011-09-01 10:25:20 -04:00
Robert Morris
15997d5849 move the kernel to 0x80000000 2011-08-31 09:48:52 -04:00
Robert Morris
5c292b3d71 simplify the end of entry.S 2011-08-31 05:38:05 -04:00
Robert Morris
5e08357827 enterpgdir -> entrypgdir 2011-08-30 20:50:19 -04:00
Frans Kaashoek
1ddfbbb194 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 3a5fa7ed90.

Conflicts:

	defs.h
	file.c
	file.h
2011-08-29 17:18:40 -04:00
Austin Clements
22f7db5336 Renumber I_VALID since I_BUSY is gone 2011-08-29 16:14:44 -04:00
Austin Clements
920b7b44b5 dir-locals.el to set style in Emacs 2011-08-29 16:12:17 -04:00
Austin Clements
a7061b4f97 Style nits; indentation and tabs 2011-08-29 16:12:01 -04:00
Frans Kaashoek
16f205b5c9 Merge branch 'master' of git+ssh://amsterdam.csail.mit.edu/home/am0/6.828/xv6 2011-08-26 10:10:37 -04:00
Frans Kaashoek
3a5fa7ed90 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)
2011-08-26 10:08:29 -04:00
Robert Morris
41911afa45 segment register -> segment descriptor 2011-08-26 06:47:13 -04:00
Frans Kaashoek
8a9b6dbd44 Make cross reference with text work 2011-08-25 14:39:09 -04:00
Frans Kaashoek
6f2327580f Eliminate USERTOP; no use for it. 2011-08-24 10:24:40 -04:00
Frans Kaashoek
194f8bf739 A comment 2011-08-22 20:07:18 -04:00
Frans Kaashoek
d10d324e79 Remove sys_init syscall
Invoke initlog from forkret on first user process
2011-08-22 20:05:15 -04:00
Frans Kaashoek
39f8cc56d3 Merge branch 'master' of git+ssh://amsterdam.csail.mit.edu/home/am0/6.828/xv6 2011-08-21 21:14:42 -04:00
Frans Kaashoek
3682474f77 delete dead code 2011-08-21 21:14:29 -04:00
Robert Morris
327cc21fba make dirlookup and dirlink more similar 2011-08-19 13:30:57 -04:00