summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-09-27check exec() arg lengthRobert Morris1-3/+8
fix double iunlockput
2010-09-27copyout() copies data to a va in a pagetable, for exec() &cRobert Morris6-45/+95
usertest that passes too many arguments, break exec
2010-09-20map kernel instructions r/oRobert Morris2-2/+35
2010-09-19Merge branch 'master' of git+ssh://amsterdam.csail.mit.edu/home/am0/6.828/xv6Robert Morris1-2/+2
2010-09-19my comment is wrong, exec handles BSS fineRobert Morris2-3/+16
2010-09-19exec questionsRobert Morris2-3/+9
2010-09-15Simplify boot loader by removing some JOS'ismsAustin Clements1-2/+2
2010-09-13change some comments, maybe more informativeRobert Morris8-66/+70
delete most comments from bootother.S (since copy of bootasm.S) ksegment() -> seginit() move more stuff from main() to mainc()
2010-09-03Rev 4Austin Clements2-1/+1
2010-09-02Update example in TOC footerAustin Clements1-5/+4
2010-09-02Consistent style in defs.hAustin Clements1-1/+1
2010-09-02Get consoleintr back on one pageAustin Clements1-5/+2
2010-09-02Get cgaputc and consputc back on the same pageAustin Clements1-6/+2
2010-09-02Get rid of the blank page in picirq.c. It misaligs things now.Austin Clements2-29/+2
2010-09-02Simplify allocuvm/deallocuvm to operate in a contiguous memory model. This ↵Austin Clements4-51/+44
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).
2010-09-02NitsAustin Clements1-1/+3
2010-09-02Comment inituvm and loaduvmAustin Clements1-0/+4
2010-09-02Fix comment capitalizationAustin Clements1-14/+14
2010-09-02Rearrange vm.c so it's in logical order and prints nicely. Shorten a few ↵Austin Clements2-137/+137
functions in uninteresting ways to make them fit.
2010-09-02Simplify inituvm and userinit by assuming initcode fits on a pageAustin Clements3-19/+10
2010-09-02Simplify freevm using deallocuvmAustin Clements1-19/+6
2010-09-02Oops. Broke the build when I rearranged proc.cAustin Clements2-0/+3
2010-09-02Remove unused nop_pause function.Austin Clements2-6/+2
2010-09-02Rearrange proc.h and proc.c to get our action-packed spreads back (mostly). ↵Austin Clements3-120/+126
They also make sense in this order, so it's not just for page layout.
2010-09-02Re-re-arrange bootasm and bootother. We can't get bootasm and bootmain on ↵Austin Clements2-2/+2
the same page, but this will make them easier to flip between.
2010-09-02I totally misunderstood the even/odd spec. Add some docs, remove my 'left+' ↵Austin Clements2-8/+16
hack, and orthogonalize left/right versus even/odd so you can specify them independently.
2010-09-02Specify in runoff.spec which side sheet 1 is on, since it keeps changingAustin Clements2-9/+12
2010-09-02Pack five columns into cross-ref. This saves us an entire page and fixes ↵Austin Clements1-1/+1
the single dangling line.
2010-09-02Oops, missed a comment about the stack guardAustin Clements1-1/+0
2010-09-02Add Nickolai and myself and scrunch two lines out of the text elsewhereAustin Clements1-5/+5
2010-09-01Slight simplification of copyuvm. We could simplify other things now that ↵Austin Clements1-8/+8
processes are contiguous, but we'd have to think harder about the error paths.
2010-09-01Remove the stack guard page. Processes are now contiguous from 0 to ↵Austin Clements3-24/+42
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.
2010-09-01Make it easy to change the number of CPUsAustin Clements1-1/+4
2010-09-01Space policeAustin Clements6-45/+45
2010-09-01Tab policeAustin Clements4-15/+15
2010-09-01Merge branch 'master' of git+ssh://am.lcs/home/am0/6.828/xv6Austin Clements1-4/+3
2010-09-01Fix similar leak in copyuvmAustin Clements1-2/+6
2010-08-31Cleanup if allocuvm fails to alloc. Add a test.Austin Clements3-3/+40
2010-08-31Merge branch 'master' of git+ssh://amsterdam.csail.mit.edu/home/am0/6.828/xv6Robert Morris10-81/+82
2010-08-31oops. last minute simplicifaction to kalloc().Robert Morris1-4/+3
2010-08-31Page break kalloc.cAustin Clements1-0/+1
2010-08-31Our proc.c alignment is perfect. Since ksegment/usegment went away, we get ↵Austin Clements1-3/+2
a column back, so we get our two action-packed spreads.
2010-08-31Make it possible to express half-page preferencesAustin Clements1-4/+5
2010-08-31Got the meat of spinlocks on one spreadAustin Clements1-0/+1
2010-08-31Swap bootmain.c and bootother.S. This puts the whole boot process on one ↵Austin Clements1-1/+1
spread, though it separates the two asm files.
2010-08-31Sheet 1 is a right page now because of the (much) longer cross-refAustin Clements1-5/+6
2010-08-31print depends on runoff.specAustin Clements1-1/+1
2010-08-31We don't use lesp/lebp and using them at all from C would be fraught with ↵Austin Clements1-19/+11
peril. Keep resp/rebp, but fix their code style.
2010-08-31Page breaking of mmu.hAustin Clements1-17/+14
2010-08-31Start PDE defs on new pageAustin Clements1-3/+1