Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-01-30 | Fix long-standing switchuvm() inconsistency. | Peter Froehlich | 1 | -3/+8 | |
switchuvm() is supposed to switch the TSS and page table to the process p it is passed. Alas, instead of using p to access the kstack field, it used the global proc. This worked fine because (a) most uses of switchuvm() pass proc anyway and (b) because in the schedule, where we call switchuvm with the newly scheduled process, we actually set the global proc before the call. But I think it's still a bug, even if it never broke a test case. :-) | |||||
2016-09-26 | fix possible memory leak in deallocuvm | Cody Cutler | 1 | -1/+1 | |
when a zero PDE is encountered while searching for present PTEs to free, resume searching at first entry of the next page table instead of the current entry of the next page table. | |||||
2016-09-01 | curproc -> proc in a comment | Robert Morris | 1 | -1/+1 | |
2016-08-26 | better comment | Frans Kaashoek | 1 | -1/+3 | |
2016-08-26 | set iomb to forbid i/o instructions from user space | Frans Kaashoek | 1 | -0/+1 | |
add to test that they indeed trap in user space thanks to pablogventura@gmail.com and nwolovick@gmail.com | |||||
2016-08-25 | Remove trailing white space with: | Frans Kaashoek | 1 | -7/+7 | |
for f in *.{h,c}; do sed -i .sed 's/[[:blank:]]*$//' $f; done (Thanks to Nicolás Wolovick) | |||||
2016-08-24 | p2v -> P2V | Robert Morris | 1 | -13/+13 | |
2016-08-11 | nothing much | Robert Morris | 1 | -1/+1 | |
2016-08-10 | tiny clarifications to some gdt code. | Robert Morris | 1 | -2/+1 | |
2016-08-08 | shell nits | Robert Morris | 1 | -1/+6 | |
fix Regehr complaint | |||||
2014-08-29 | Nice layout for a printout of the code | Frans Kaashoek | 1 | -0/+8 | |
2013-03-04 | Correct a security bug in copyuvm() | Stephen Tu | 1 | -2/+3 | |
copyuvm() should not allow new copied pages to inherit more permissions than the original pages. | |||||
2012-08-28 | nits | Robert Morris | 1 | -4/+4 | |
2012-08-22 | Runoff still complaints these lines are too long, but it is now ok on printout | Frans Kaashoek | 1 | -4/+4 | |
2012-08-22 | Remove unused argument to setupkvm (thanks to Peter Froehlich) | Frans Kaashoek | 1 | -1/+1 | |
2011-09-13 | eliminate enter_alloc -- use kalloc for everything | Robert Morris | 1 | -13/+12 | |
2011-09-13 | more regular kmap[] and description | Robert Morris | 1 | -19/+22 | |
2011-09-02 | Nuke data.S, since we do have a custom linker script. | Austin Clements | 1 | -1/+1 | |
2011-09-02 | Oops, dropped a paren | Austin Clements | 1 | -1/+1 | |
2011-09-02 | clear_pte_u -> clearpteu | Austin Clements | 1 | -2/+2 | |
2011-09-02 | Move copy_pte_u; fits vm.c in one less column and aligns proc.h | Austin Clements | 1 | -13/+13 | |
2011-09-02 | Cleanup comments and fit setupkvm on same page as kmap, which aligns lots of ↵ | Austin Clements | 1 | -10/+6 | |
other things | |||||
2011-09-02 | Style | Austin Clements | 1 | -7/+7 | |
2011-09-02 | Make mappages fit on the page | Austin Clements | 1 | -2/+1 | |
2011-09-01 | Skip missing page directories in deallocuvm | Austin Clements | 1 | -1/+3 | |
Previously, deallocuvm scanned from 0 to KERNBASE in one page increments, which had a noticable effect on boot time. Now it skips over missing page directories. | |||||
2011-09-01 | inaccessible page under the user stack page, to help exec deal w/ too-large args | Robert Morris | 1 | -0/+13 | |
2011-09-01 | Merge branch 'master' of git+ssh://amsterdam.csail.mit.edu/home/am0/6.828/xv6 | Robert Morris | 1 | -15/+17 | |
Conflicts: vm.c | |||||
2011-09-01 | fix usertests to correctly test what happens when you call | Robert Morris | 1 | -2/+3 | |
exec() with arguments that don't fit on a single page. | |||||
2011-09-01 | Fix layout issues for printed version | Frans Kaashoek | 1 | -16/+19 | |
2011-08-29 | Style nits; indentation and tabs | Austin Clements | 1 | -1/+1 | |
2011-08-24 | Eliminate USERTOP; no use for it. | Frans Kaashoek | 1 | -3/+3 | |
2011-08-16 | Switch back to #define for PHYSTOP. Using the E820 to retrieve the memory ↵ | Frans Kaashoek | 1 | -11/+5 | |
map is too complicated (must be done in 16-bit real-mode, probably enlarged bootblock beyond 512 bytes, and a #define requires less explanation). | |||||
2011-08-16 | Clean up memlayout.h | Frans Kaashoek | 1 | -9/+17 | |
Get rid of last instances of linear address and "la" Get ready for detecting physical memory dynamically | |||||
2011-08-15 | Make Austin happier | Frans Kaashoek | 1 | -12/+12 | |
2011 | |||||
2011-08-15 | Avoid "boot" in xv6 | Frans Kaashoek | 1 | -2/+2 | |
2011-08-11 | Make AP processors boot using bootpgdir | Frans Kaashoek | 1 | -26/+4 | |
Remove device mapping from bootpgdir Remove unnecessary vmenable Set CPUS back to 2 in Makefile Passes all usertests | |||||
2011-08-09 | Tiny bit of cleanup | Frans Kaashoek | 1 | -7/+7 | |
2011-08-09 | x | Frans Kaashoek | 1 | -4/+4 | |
2011-08-09 | Use static page table for boot, mapping first 4Mbyte; no more segment trick | Frans Kaashoek | 1 | -76/+18 | |
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) | |||||
2011-08-07 | Adjust sbrk test for large user address spaces | Frans Kaashoek | 1 | -1/+1 | |
All tests pass | |||||
2011-07-31 | Don't map IO space in the user part of the address space | Frans Kaashoek | 1 | -8/+10 | |
Passes all tests now (but need to update usertests to allow for more than 640k) | |||||
2011-07-29 | Map kernel high | Frans Kaashoek | 1 | -28/+99 | |
Very important to give qemu memory through PHYSTOP :( | |||||
2011-02-19 | xv6: formatting, cleanup, rev5 (take 2) | Russ Cox | 1 | -61/+54 | |
2011-01-11 | more trivial cleanup | Russ Cox | 1 | -12/+9 | |
2011-01-11 | make new code like old code | Russ Cox | 1 | -59/+84 | |
Variable declarations at top of function, separate from initialization. Use == 0 instead of ! for checking pointers. Consistent spacing around {, *, casts. Declare 0-parameter functions as (void) not (). Integer valued functions return -1 on failure, 0 on success. | |||||
2010-09-27 | copyout() copies data to a va in a pagetable, for exec() &c | Robert Morris | 1 | -4/+28 | |
usertest that passes too many arguments, break exec | |||||
2010-09-20 | map kernel instructions r/o | Robert Morris | 1 | -2/+7 | |
2010-09-13 | change some comments, maybe more informative | Robert Morris | 1 | -1/+1 | |
delete most comments from bootother.S (since copy of bootasm.S) ksegment() -> seginit() move more stuff from main() to mainc() | |||||
2010-09-02 | Simplify allocuvm/deallocuvm to operate in a contiguous memory model. This ↵ | Austin Clements | 1 | -31/+27 | |
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-02 | Comment inituvm and loaduvm | Austin Clements | 1 | -0/+4 | |