Commit graph

  • a7061b4f97 Style nits; indentation and tabs Austin Clements 2011-08-29 16:12:01 -0400
  • 16f205b5c9 Merge branch 'master' of git+ssh://amsterdam.csail.mit.edu/home/am0/6.828/xv6 Frans Kaashoek 2011-08-26 10:10:37 -0400
  • 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) Frans Kaashoek 2011-08-26 10:08:29 -0400
  • 41911afa45 segment register -> segment descriptor Robert Morris 2011-08-26 06:47:13 -0400
  • 8a9b6dbd44 Make cross reference with text work Frans Kaashoek 2011-08-25 14:39:09 -0400
  • 6f2327580f Eliminate USERTOP; no use for it. Frans Kaashoek 2011-08-24 10:24:40 -0400
  • 194f8bf739 A comment Frans Kaashoek 2011-08-22 20:07:18 -0400
  • d10d324e79 Remove sys_init syscall Invoke initlog from forkret on first user process Frans Kaashoek 2011-08-22 20:05:15 -0400
  • 39f8cc56d3 Merge branch 'master' of git+ssh://amsterdam.csail.mit.edu/home/am0/6.828/xv6 Frans Kaashoek 2011-08-21 21:14:42 -0400
  • 3682474f77 delete dead code Frans Kaashoek 2011-08-21 21:14:29 -0400
  • 327cc21fba make dirlookup and dirlink more similar Robert Morris 2011-08-19 13:30:57 -0400
  • cd3d739e6f bootloader reads into a physical address (not a virtual address) Frans Kaashoek 2011-08-17 20:52:28 -0400
  • fa81545f1c Make elf proghdr fields match what objdump prints Frans Kaashoek 2011-08-17 20:23:36 -0400
  • 5f069dcf2f 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). Frans Kaashoek 2011-08-16 20:23:17 -0400
  • c3dcf47966 Clean up memlayout.h Get rid of last instances of linear address and "la" Get ready for detecting physical memory dynamically Frans Kaashoek 2011-08-16 15:47:22 -0400
  • 427958cb71 Update make clean Frans Kaashoek 2011-08-15 20:32:04 -0400
  • eeea49e8d5 Update list of files to include in printout Frans Kaashoek 2011-08-15 20:28:28 -0400
  • d9818bdd7d Make Austin happier 2011 Frans Kaashoek 2011-08-15 20:21:14 -0400
  • a4b213cf49 Avoid "boot" in xv6 Frans Kaashoek 2011-08-15 20:11:13 -0400
  • 9449646853 Use 4Mbyte pages during boot Frans Kaashoek 2011-08-15 17:41:58 -0400
  • 843eecfcd0 Only commit log to disk if something was written in to it. Austin Clements 2011-08-15 14:11:22 -0400
  • 7f1718ca33 Merge branch 'master' of git+ssh://amsterdam.csail.mit.edu/home/am0/6.828/xv6 Robert Morris 2011-08-15 12:44:41 -0400
  • 5053dd6a6d avoid deadlock by calling begin_trans() before locking any inodes Robert Morris 2011-08-15 12:44:20 -0400
  • c60a3551c2 Separate more clearly bootloader from xv6 by renaming multiboot.S to entry.S etc. Maybe the string boot shouldn't appear in xv6 code? Frans Kaashoek 2011-08-15 12:02:59 -0400
  • c95ce31c59 Oops Frans Kaashoek 2011-08-12 12:02:17 -0400
  • e0d1ba0d74 Merge branch 'master' of git+ssh://amsterdam.csail.mit.edu/home/am0/6.828/xv6 Robert Morris 2011-08-12 09:26:23 -0400
  • 2e59046362 log write() data usertest for big write()s push begin_trans/commit_trans down into syscalls Robert Morris 2011-08-12 09:25:39 -0400
  • e577a62f0d Some comments Frans Kaashoek 2011-08-12 07:31:52 -0400
  • bd71a45046 Make AP processors boot using bootpgdir Remove device mapping from bootpgdir Remove unnecessary vmenable Set CPUS back to 2 in Makefile Passes all usertests Frans Kaashoek 2011-08-11 12:25:10 -0400
  • 673b739d31 One more low address Frans Kaashoek 2011-08-09 23:22:48 -0400
  • 8a9933a200 Tiny bit of cleanup Frans Kaashoek 2011-08-09 21:56:43 -0400
  • 22c73411ca Shorten boot assembly Frans Kaashoek 2011-08-09 21:51:17 -0400
  • 5460667c9c x Frans Kaashoek 2011-08-09 21:49:13 -0400
  • 832af025a3 Remove jmpkstack Frans Kaashoek 2011-08-09 21:47:40 -0400
  • 66ba8079c7 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) Frans Kaashoek 2011-08-09 21:37:35 -0400
  • 3a03810643 Use kernel virtual addresses for BIOS memory, etc. Frans Kaashoek 2011-08-09 21:33:59 -0400
  • b23d8329e7 Allow gas to use / as divide (instead of comment) Maybe not necessary, but don't want to waste time figuring this out again Frans Kaashoek 2011-08-09 16:09:15 -0400
  • a56c8d609b One definition of several macros and constants Frans Kaashoek 2011-08-08 13:30:08 -0400
  • 11b7438b10 Speedup sbrk tst a bit (forking 100Mbyte processes is slow) Frans Kaashoek 2011-08-08 09:20:29 -0400
  • 6479766334 Adjust sbrk test for large user address spaces All tests pass Frans Kaashoek 2011-08-07 23:03:48 -0400
  • 67d4254d15 oops Frans Kaashoek 2011-08-07 12:30:34 -0400
  • 547c28fc1e 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) Frans Kaashoek 2011-07-31 21:27:02 -0400
  • 9aa0337dc1 Map kernel high Very important to give qemu memory through PHYSTOP :( Frans Kaashoek 2011-07-29 07:31:27 -0400
  • dccb915282 Merge commit 'origin/master' into page Frans Kaashoek 2011-07-27 20:49:45 -0400
  • 13a96baefc Dirt simple logging Passes usertests and stressfs Seems to recover correctly in a number of simple cases Frans Kaashoek 2011-07-27 20:35:46 -0400
  • 97657d703f Add -fno-omit-frame-pointer to compile flags. Austin Clements 2011-06-24 14:20:51 -0400
  • 96b7da5f03 do not run past the end of the disk! [ cherry-picked de6075ff0978108daea1d658425bcb37663a98a0 ] Nickolai Zeldovich 2011-06-24 05:26:57 -0400
  • f70ef994dc Russ's fix for panic remap Frans Kaashoek 2011-04-28 08:01:36 -0400
  • ae603ff5e7 rebuild xv6-rev5.tar.gz Russ Cox 2011-02-28 09:32:54 -0500
  • c5f5387351 fixes from Peter Froehlich Russ Cox 2011-02-28 09:32:20 -0500
  • a6cd7509c4 web: rev5 Russ Cox 2011-02-19 21:21:49 -0500
  • 688b5c03dd updated book pdfs Russ Cox 2011-02-19 21:19:58 -0500
  • cf4b1ad90b xv6: formatting, cleanup, rev5 (take 2) Russ Cox 2011-02-19 21:17:55 -0500
  • 9c4fe7ba10 xv6: formatting, cleanup, rev5 Russ Cox 2011-02-19 21:16:54 -0500
  • 97b21b5838 xv6: refresh from 2010 page Russ Cox 2011-02-19 10:36:14 -0500
  • 08864affaa xv6: link to xv6-rev4 Russ Cox 2011-02-19 10:23:19 -0500
  • 4fa8614db0 missing file memide.c Russ Cox 2011-01-11 13:54:23 -0500
  • 417c37115e more trivial cleanup Russ Cox 2011-01-11 13:51:40 -0500
  • 89bfdd4db1 multiboot support and memory-only (no disk) kernel Russ Cox 2011-01-11 13:27:45 -0500
  • af6a6a4775 mp: do not panic on surprising hw Russ Cox 2011-01-11 13:16:28 -0500
  • 1a81e38b17 make new code like old code Russ Cox 2011-01-11 13:01:13 -0500
  • 240679608c mkfs: avoid clash with system struct stat Russ Cox 2011-01-10 10:43:40 -0500
  • e92fd6142d mkfs: avoid out of bounds access to sb in wsect Russ Cox 2011-01-02 17:59:57 -0500
  • 2ea6c764c3 even more fabulous exec Robert Morris 2010-09-29 14:12:26 -0400
  • 06feabecee check exec() arg length fix double iunlockput Robert Morris 2010-09-27 16:17:57 -0400
  • 4655d42e3b copyout() copies data to a va in a pagetable, for exec() &c usertest that passes too many arguments, break exec Robert Morris 2010-09-27 16:14:33 -0400
  • a9183883b8 map kernel instructions r/o Robert Morris 2010-09-20 06:00:22 -0400
  • 26d11ee8dc Merge branch 'master' of git+ssh://amsterdam.csail.mit.edu/home/am0/6.828/xv6 Robert Morris 2010-09-19 13:48:22 -0400
  • 05d66b0629 my comment is wrong, exec handles BSS fine Robert Morris 2010-09-19 13:47:52 -0400
  • 4587b35847 exec questions Robert Morris 2010-09-19 07:18:42 -0400
  • 4c274cef74 Simplify boot loader by removing some JOS'isms Austin Clements 2010-09-15 16:15:07 -0400
  • faad047ab2 change some comments, maybe more informative delete most comments from bootother.S (since copy of bootasm.S) ksegment() -> seginit() move more stuff from main() to mainc() Robert Morris 2010-09-13 15:34:44 -0400
  • 124fe7e457 Rev 4 Austin Clements 2010-09-03 15:47:28 -0400
  • cc21c06e3b Update example in TOC footer Austin Clements 2010-09-02 19:03:48 -0400
  • 588644f472 Consistent style in defs.h Austin Clements 2010-09-02 19:01:25 -0400
  • 8440dbfee1 Get consoleintr back on one page Austin Clements 2010-09-02 18:54:50 -0400
  • 08eef9eae5 Get cgaputc and consputc back on the same page Austin Clements 2010-09-02 18:50:49 -0400
  • 5bf11c50b5 Get rid of the blank page in picirq.c. It misaligs things now. Austin Clements 2010-09-02 18:36:06 -0400
  • 79cd8b3eed Simplify allocuvm/deallocuvm to operate in a contiguous memory model. This makes their interface match up better with proc->sz and also simplifies the callers (it even gets the main body of exec on one page). Austin Clements 2010-09-02 18:28:36 -0400
  • d49d31381d Nits Austin Clements 2010-09-02 17:03:19 -0400
  • 9a4670a138 Comment inituvm and loaduvm Austin Clements 2010-09-02 16:39:55 -0400
  • 93a1e4cb07 Fix comment capitalization Austin Clements 2010-09-02 16:36:38 -0400
  • f25a3f9a41 Rearrange vm.c so it's in logical order and prints nicely. Shorten a few functions in uninteresting ways to make them fit. Austin Clements 2010-09-02 16:23:15 -0400
  • f53e6110be Simplify inituvm and userinit by assuming initcode fits on a page Austin Clements 2010-09-02 15:37:05 -0400
  • b3cfd7fc37 Simplify freevm using deallocuvm Austin Clements 2010-09-02 15:18:19 -0400
  • c7c21467c3 Oops. Broke the build when I rearranged proc.c Austin Clements 2010-09-02 14:30:06 -0400
  • d599aa2e40 Remove unused nop_pause function. Austin Clements 2010-09-02 14:08:45 -0400
  • d8828817d7 Rearrange proc.h and proc.c to get our action-packed spreads back (mostly). They also make sense in this order, so it's not just for page layout. Austin Clements 2010-09-02 04:15:17 -0400
  • dd3ecd42cd Re-re-arrange bootasm and bootother. We can't get bootasm and bootmain on the same page, but this will make them easier to flip between. Austin Clements 2010-09-02 04:06:35 -0400
  • d2c7f64978 I totally misunderstood the even/odd spec. Add some docs, remove my 'left+' hack, and orthogonalize left/right versus even/odd so you can specify them independently. Austin Clements 2010-09-02 04:03:42 -0400
  • 9d7a63e073 Specify in runoff.spec which side sheet 1 is on, since it keeps changing Austin Clements 2010-09-02 03:57:20 -0400
  • 0fa1ab632f Pack five columns into cross-ref. This saves us an entire page and fixes the single dangling line. Austin Clements 2010-09-02 03:56:36 -0400
  • 1280d26802 Oops, missed a comment about the stack guard Austin Clements 2010-09-02 03:36:39 -0400
  • 4d245c79f9 Add Nickolai and myself and scrunch two lines out of the text elsewhere Austin Clements 2010-09-02 03:25:33 -0400
  • d3ecf3eb44 Slight simplification of copyuvm. We could simplify other things now that processes are contiguous, but we'd have to think harder about the error paths. Austin Clements 2010-09-01 17:14:58 -0400
  • b1d41d6788 Remove the stack guard page. Processes are now contiguous from 0 to proc->sz, which means our syscall argument validation is correct. Add a pointer validation test and remove the stack test, which tested for the guard page. Austin Clements 2010-09-01 16:46:37 -0400
  • 41c4bbb505 Make it easy to change the number of CPUs Austin Clements 2010-09-01 02:14:35 -0400
  • b0751a3e9b Space police Austin Clements 2010-09-01 00:41:25 -0400
  • 5efca9054f Tab police Austin Clements 2010-09-01 00:32:27 -0400
  • 5c4dc7395b Merge branch 'master' of git+ssh://am.lcs/home/am0/6.828/xv6 Austin Clements 2010-09-01 00:31:04 -0400