cc21c06e3bUpdate example in TOC footer
Austin Clements
2010-09-02 19:03:48 -04:00
588644f472Consistent style in defs.h
Austin Clements
2010-09-02 19:01:25 -04:00
8440dbfee1Get consoleintr back on one page
Austin Clements
2010-09-02 18:54:50 -04:00
08eef9eae5Get cgaputc and consputc back on the same page
Austin Clements
2010-09-02 18:50:49 -04:00
5bf11c50b5Get rid of the blank page in picirq.c. It misaligs things now.
Austin Clements
2010-09-02 18:36:06 -04:00
79cd8b3eedSimplify 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 -04:00
f25a3f9a41Rearrange 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 -04:00
f53e6110beSimplify inituvm and userinit by assuming initcode fits on a page
Austin Clements
2010-09-02 15:37:05 -04:00
b3cfd7fc37Simplify freevm using deallocuvm
Austin Clements
2010-09-02 15:18:19 -04:00
c7c21467c3Oops. Broke the build when I rearranged proc.c
Austin Clements
2010-09-02 14:30:06 -04:00
d8828817d7Rearrange 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 -04:00
dd3ecd42cdRe-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 -04:00
d2c7f64978I 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 -04:00
9d7a63e073Specify in runoff.spec which side sheet 1 is on, since it keeps changing
Austin Clements
2010-09-02 03:57:20 -04:00
0fa1ab632fPack 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 -04:00
1280d26802Oops, missed a comment about the stack guard
Austin Clements
2010-09-02 03:36:39 -04:00
4d245c79f9Add Nickolai and myself and scrunch two lines out of the text elsewhere
Austin Clements
2010-09-02 03:25:33 -04:00
d3ecf3eb44Slight 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 -04:00
b1d41d6788Remove 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 -04:00
41c4bbb505Make it easy to change the number of CPUs
Austin Clements
2010-09-01 02:14:35 -04:00
87b2099ae4Our proc.c alignment is perfect. Since ksegment/usegment went away, we get a column back, so we get our two action-packed spreads.
Austin Clements
2010-08-31 17:49:47 -04:00
13b3f4d2e3Make it possible to express half-page preferences
Austin Clements
2010-08-31 17:46:30 -04:00
fd462b6a01Got the meat of spinlocks on one spread
Austin Clements
2010-08-31 17:40:21 -04:00
6a6bf37c3cSwap bootmain.c and bootother.S. This puts the whole boot process on one spread, though it separates the two asm files.
Austin Clements
2010-08-31 17:35:17 -04:00
c7ceb71d57Sheet 1 is a right page now because of the (much) longer cross-ref
Austin Clements
2010-08-31 17:33:04 -04:00
51e2a7b324print depends on runoff.spec
Austin Clements
2010-08-31 17:30:31 -04:00
29c054df81We don't use lesp/lebp and using them at all from C would be fraught with peril. Keep resp/rebp, but fix their code style.
Austin Clements
2010-08-31 17:07:54 -04:00
7914ab7214Page breaking of mmu.h
Austin Clements
2010-08-31 16:54:50 -04:00
b5592b4d2fStart PDE defs on new page
Austin Clements
2010-08-31 16:47:50 -04:00
92639b6ba9Follow xv6 code style. Also fixes indexing for these functions
Austin Clements
2010-08-31 16:43:41 -04:00
37ee75f42eRearrange for better page breaking
Austin Clements
2010-08-31 16:42:05 -04:00
1aee6a6c4fHopefully get the printf size spec right, regardless of compiler.
Austin Clements
2010-08-31 16:01:38 -04:00
8d774afb2dno more pminit, or ELF header at 0x10000 kinit() knows about end and PHYSTOP map all of kernel read/write (rather than r/o instructions) thanks, austin
Robert Morris
2010-08-31 15:39:25 -04:00
880ee18ab1mkfs must be compiled 32-bit. Fix mkfs warnings
Austin Clements
2010-08-31 15:11:10 -04:00
1e8035be53Infer qemu path, just like in JOS
Austin Clements
2010-08-31 15:05:27 -04:00
0f0456ec53Infer TOOLPREFIX, just like in JOS
Austin Clements
2010-08-31 15:01:26 -04:00
9acdfe0d04Merge branch 'page' of git+ssh://amsterdam.csail.mit.edu/home/am0/6.828/xv6 into page
Frans Kaashoek
2010-08-31 13:58:50 -04:00
7d7dc9331bkalloc/kfree now only a page at a time do not keep sorted contiguous free list
Robert Morris
2010-08-31 12:54:47 -04:00
791d81cadeMerge branch 'page' of git+ssh://amsterdam.csail.mit.edu/home/am0/6.828/xv6 into page
Frans Kaashoek
2010-08-30 17:28:39 -04:00
156b307e28Merge branch 'master' of git+ssh://amsterdam.csail.mit.edu/home/am0/6.828/xv6 into page
Frans Kaashoek
2010-08-30 17:14:56 -04:00
81b30b14d6Merge remote branch 'origin/master' into page
Robert Morris
2010-08-30 15:30:53 -04:00
fe4623b99cFix for gdbstub argument change in qemu 0.11. Rename qemu-gdb-nox target to qemu-nox-gdb because you frequently want to add the gdb part, but rarely the nox part.
Austin Clements
2010-08-30 12:22:08 -04:00
3c9ff073e0oops ended up with 2x vm.c
Robert Morris
2010-08-30 11:17:54 -04:00
979c5686b7Merge remote branch 'origin/page' into page
Robert Morris
2010-08-30 10:23:27 -04:00
ac090078c6xx
Robert Morris
2010-08-30 10:13:49 -04:00
4d972493b6no more xv6.pdf .ps
Robert Morris
2010-08-30 07:26:54 -04:00
8d8d6c7be3we don't need CR0_WP
Robert Morris
2010-08-30 06:48:48 -04:00
5ab868fd90set only PG and WP in vminit; the rest don't seem to be needed and are confusing
Robert Morris
2010-08-30 06:38:58 -04:00
d55b2fac07Merge commit 'origin/page' into page
Frans Kaashoek
2010-08-26 08:03:18 -04:00
d87f51c5a1add vm.c
Frans Kaashoek
2010-08-26 07:51:08 -04:00
789b508d53uptime() sys call for benchmarking increase PHYSTOP
Robert Morris
2010-08-11 14:34:45 -04:00
83d2db91f7allow sbrk(-x) to de-allocate user memory
Robert Morris
2010-08-10 17:08:41 -04:00
c4cc10da7efix corner cases in exec of ELF put an invalid page below the stack have fork() handle invalid pages
Robert Morris
2010-08-06 11:12:18 -04:00
1afc9d3fcaadd some comments find out the hard way why user and kernel must have separate segment descriptors
Robert Morris
2010-08-05 21:16:55 -04:00
c99599784eremove some unused vm #defines fix corner cases with alignment when mapping kernel ELF file
Robert Morris
2010-08-05 16:00:59 -04:00
2cf6b32d4dmove jkstack to main.c replace jstack with asm()s
Robert Morris
2010-08-05 14:15:03 -04:00
eb18645f17fix allocuvm() to handle sbrk() with non-page-granularity argument (maybe this never worked, but it works now)
Robert Morris
2010-08-05 12:10:54 -04:00
b738a4f1a2kill TLB shoot down code
Frans Kaashoek
2010-07-28 14:38:05 -04:00
de40730dadmore cleanup
Frans Kaashoek
2010-07-26 08:10:02 -04:00
30f5bf0548some cleanup
Frans Kaashoek
2010-07-25 20:30:21 -04:00
af03ab142da few nits passes all tests on two-processor smp
Frans Kaashoek
2010-07-23 12:52:50 -04:00
b364c4b881oops, vm.c
Frans Kaashoek
2010-07-23 12:52:35 -04:00
4714c20521Checkpoint page-table version for SMP Includes code for TLB shootdown (which actually seems unnecessary for xv6)
Frans Kaashoek
2010-07-23 07:41:13 -04:00
74c82bc158nits
Frans Kaashoek
2010-07-02 17:45:37 -04:00
40889627baInitial version of single-cpu xv6 with page tables
Frans Kaashoek
2010-07-02 14:51:53 -04:00