Commit graph

827 commits

Author SHA1 Message Date
Austin Clements 9d59eb0151 Make fetchint and fetchstr use proc instead of taking a struct proc
Previously, these were inconsistent: they used their struct proc
argument for bounds checking, but always copied the argument from the
current address space (and hence the current process).  Drop the
struct proc argument and always use the current proc.

Suggested by Carmi Merimovich.
2012-02-17 23:20:13 -05:00
Robert Morris 12abb1a561 don't let dirty blocks be evicted from cache! 2011-10-14 10:23:23 -04:00
Robert Morris 38eee5bca7 more FS comment clarification 2011-10-11 10:11:53 -04:00
Robert Morris a5fbfe418a clarify some FS comments 2011-10-11 06:41:37 -04:00
Austin Clements d73dd097a5 Fix compile error on newer gcc's 2011-09-30 15:28:33 -04:00
Frans Kaashoek 0ca1c0407d Merge branch 'master' of git+ssh://amsterdam.csail.mit.edu/home/am0/6.828/xv6 2011-09-27 13:00:20 -04:00
Frans Kaashoek 9b972c06b1 Update stressfs to trigger race now the logging code serializes writes 2011-09-27 12:59:47 -04:00
Austin Clements 1e6f0146d2 Use | instead of + for entrypgdir. Linker doesn't get in our way here. 2011-09-14 13:47:04 -04:00
Robert Morris c092540e39 eliminate enter_alloc -- use kalloc for everything 2011-09-13 13:14:52 -04:00
Robert Morris 7e7cb106d0 more regular kmap[] and description 2011-09-13 12:28:45 -04:00
Robert Morris 90a81b3228 comment nits 2011-09-12 14:27:14 -04:00
Austin Clements 9b59dc44dc Remove unused 'state' variable that broke the build in recent gcc's 2011-09-07 16:39:27 -04:00
Austin Clements e64c661ae8 Rev 6 2011-09-07 12:42:09 -04:00
Austin Clements 8bfcffeae1 Remove nice font from master 2011-09-07 12:40:02 -04:00
Austin Clements 5c87802de2 Fetch nice font from font branch, if possible 2011-09-07 12:38:24 -04:00
Austin Clements 5304c854a4 Move xv6 release tars/pdfs in to 6.828 repo 2011-09-07 11:57:41 -04:00
Austin Clements 01a6c054d5 Remove web directory; all cruft or moved to 6.828 repo 2011-09-07 11:49:14 -04:00
Austin Clements 64a03bd7aa Make web page refer to git releases 2011-09-07 11:36:53 -04:00
Austin Clements b81aadf093 Remove old book chapters 2011-09-07 10:05:52 -04:00
Austin Clements 09b1909163 Re-alphabetize OBJS 2011-09-05 23:45:04 -04:00
Austin Clements 03f48901f0 Note about the meaning of sheet1 in runoff.spec 2011-09-05 21:52:50 -04:00
Frans Kaashoek 861cc158be sources -> sources and text 2011-09-05 20:56:48 -04:00
Frans Kaashoek 5f46b272fe 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
2011-09-05 20:54:25 -04:00
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