Commit graph

804 commits

Author SHA1 Message Date
Austin Clements
79bc8be8de Setting indent-tabs-mode nil everywhere is dangerous 2011-09-05 15:22:16 -04:00
Austin Clements
b1c66ca899 Sync up clean and gitignore better 2011-09-05 15:21:40 -04:00
Austin Clements
87904b01a3 Update gitignore 2011-09-05 12:54:42 -04:00
Austin Clements
310edc99fe Fix stale comments in entryother.S 2011-09-04 15:56:16 -04:00
Austin Clements
2fc6c35b2f 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.
2011-09-04 15:51:46 -04:00
Austin Clements
68b5872716 kernel depends on kernel.ld 2011-09-04 15:19:43 -04:00
Austin Clements
e33873067b Add QEMUEXTRA environment to add extra QEMU arguments, like in JOS 2011-09-04 15:19:33 -04:00
Austin Clements
549c62cc1c I can't do math; fix bug introduced in 5a9761 2011-09-03 10:21:51 -04:00
Austin Clements
215a9ce237 A few missed xv6.pdf dependencies 2011-09-02 16:36:08 -04:00
Austin Clements
e3ab68e031 Update year in URL 2011-09-02 16:32:46 -04:00
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