4655d42e3bcopyout() 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
a9183883b8map kernel instructions r/o
Robert Morris
2010-09-20 06:00:22 -0400
26d11ee8dcMerge branch 'master' of git+ssh://amsterdam.csail.mit.edu/home/am0/6.828/xv6
Robert Morris
2010-09-19 13:48:22 -0400
05d66b0629my comment is wrong, exec handles BSS fine
Robert Morris
2010-09-19 13:47:52 -0400
4587b35847exec questions
Robert Morris
2010-09-19 07:18:42 -0400
4c274cef74Simplify boot loader by removing some JOS'isms
Austin Clements
2010-09-15 16:15:07 -0400
faad047ab2change 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
cc21c06e3bUpdate example in TOC footer
Austin Clements
2010-09-02 19:03:48 -0400
588644f472Consistent style in defs.h
Austin Clements
2010-09-02 19:01:25 -0400
8440dbfee1Get consoleintr back on one page
Austin Clements
2010-09-02 18:54:50 -0400
08eef9eae5Get cgaputc and consputc back on the same page
Austin Clements
2010-09-02 18:50:49 -0400
5bf11c50b5Get rid of the blank page in picirq.c. It misaligs things now.
Austin Clements
2010-09-02 18:36:06 -0400
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 -0400
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 -0400
f53e6110beSimplify inituvm and userinit by assuming initcode fits on a page
Austin Clements
2010-09-02 15:37:05 -0400
b3cfd7fc37Simplify freevm using deallocuvm
Austin Clements
2010-09-02 15:18:19 -0400
c7c21467c3Oops. Broke the build when I rearranged proc.c
Austin Clements
2010-09-02 14:30:06 -0400
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 -0400
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 -0400
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 -0400
9d7a63e073Specify in runoff.spec which side sheet 1 is on, since it keeps changing
Austin Clements
2010-09-02 03:57:20 -0400
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 -0400
1280d26802Oops, missed a comment about the stack guard
Austin Clements
2010-09-02 03:36:39 -0400
4d245c79f9Add Nickolai and myself and scrunch two lines out of the text elsewhere
Austin Clements
2010-09-02 03:25:33 -0400
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 -0400
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 -0400
41c4bbb505Make it easy to change the number of CPUs
Austin Clements
2010-09-01 02:14:35 -0400
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 -0400
13b3f4d2e3Make it possible to express half-page preferences
Austin Clements
2010-08-31 17:46:30 -0400
fd462b6a01Got the meat of spinlocks on one spread
Austin Clements
2010-08-31 17:40:21 -0400
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 -0400
c7ceb71d57Sheet 1 is a right page now because of the (much) longer cross-ref
Austin Clements
2010-08-31 17:33:04 -0400
51e2a7b324print depends on runoff.spec
Austin Clements
2010-08-31 17:30:31 -0400
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 -0400
7914ab7214Page breaking of mmu.h
Austin Clements
2010-08-31 16:54:50 -0400
b5592b4d2fStart PDE defs on new page
Austin Clements
2010-08-31 16:47:50 -0400
92639b6ba9Follow xv6 code style. Also fixes indexing for these functions
Austin Clements
2010-08-31 16:43:41 -0400
37ee75f42eRearrange for better page breaking
Austin Clements
2010-08-31 16:42:05 -0400
1aee6a6c4fHopefully get the printf size spec right, regardless of compiler.
Austin Clements
2010-08-31 16:01:38 -0400
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 -0400
880ee18ab1mkfs must be compiled 32-bit. Fix mkfs warnings
Austin Clements
2010-08-31 15:11:10 -0400
1e8035be53Infer qemu path, just like in JOS
Austin Clements
2010-08-31 15:05:27 -0400
0f0456ec53Infer TOOLPREFIX, just like in JOS
Austin Clements
2010-08-31 15:01:26 -0400
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 -0400
7d7dc9331bkalloc/kfree now only a page at a time do not keep sorted contiguous free list
Robert Morris
2010-08-31 12:54:47 -0400
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 -0400
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 -0400
81b30b14d6Merge remote branch 'origin/master' into page
Robert Morris
2010-08-30 15:30:53 -0400
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 -0400
3c9ff073e0oops ended up with 2x vm.c
Robert Morris
2010-08-30 11:17:54 -0400
979c5686b7Merge remote branch 'origin/page' into page
Robert Morris
2010-08-30 10:23:27 -0400
ac090078c6xx
Robert Morris
2010-08-30 10:13:49 -0400
4d972493b6no more xv6.pdf .ps
Robert Morris
2010-08-30 07:26:54 -0400
8d8d6c7be3we don't need CR0_WP
Robert Morris
2010-08-30 06:48:48 -0400
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 -0400
d55b2fac07Merge commit 'origin/page' into page
Frans Kaashoek
2010-08-26 08:03:18 -0400
d87f51c5a1add vm.c
Frans Kaashoek
2010-08-26 07:51:08 -0400
789b508d53uptime() sys call for benchmarking increase PHYSTOP
Robert Morris
2010-08-11 14:34:45 -0400
83d2db91f7allow sbrk(-x) to de-allocate user memory
Robert Morris
2010-08-10 17:08:41 -0400
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 -0400
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 -0400
c99599784eremove some unused vm #defines fix corner cases with alignment when mapping kernel ELF file
Robert Morris
2010-08-05 16:00:59 -0400
2cf6b32d4dmove jkstack to main.c replace jstack with asm()s
Robert Morris
2010-08-05 14:15:03 -0400
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 -0400
b738a4f1a2kill TLB shoot down code
Frans Kaashoek
2010-07-28 14:38:05 -0400
de40730dadmore cleanup
Frans Kaashoek
2010-07-26 08:10:02 -0400
30f5bf0548some cleanup
Frans Kaashoek
2010-07-25 20:30:21 -0400
af03ab142da few nits passes all tests on two-processor smp
Frans Kaashoek
2010-07-23 12:52:50 -0400
b364c4b881oops, vm.c
Frans Kaashoek
2010-07-23 12:52:35 -0400
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 -0400