summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-02-27Update LICENSEAlice Ferrazzi1-1/+1
updated copyright year
2017-01-30wolfgang kellerFrans Kaashoek1-4/+4
2017-01-30Fix spelling Gaoron.Frans Kaashoek1-1/+1
2017-01-30Thanks to Wolfgang Keller <[email protected]>Frans Kaashoek1-1/+1
2017-01-30Thanks to Wolfgang Keller <[email protected]>Frans Kaashoek1-1/+1
2017-01-30Add support for qemu-system-x86_64 in 64bit hostsAntonio Gutierrez1-0/+2
As x86-64 is a superset of x86, we can use qemu-system-x86_64 to run the OS image. Signed-off-by: Antonio Gutierrez <[email protected]>
2017-01-30Thanks to Jeehoon Kang <[email protected]>Frans Kaashoek1-0/+1
2017-01-30Fix long-standing switchuvm() inconsistency.Peter Froehlich1-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. :-)
2017-01-30Fix unsigned conversion bug.Peter H. Froehlich1-1/+1
Since readi() returns -1 for errors, checking with < against an unsigned value is inadvisable. Checking with != works as intended however.
2017-01-30CodyFrans Kaashoek1-6/+6
2016-09-26fix possible memory leak in deallocuvmCody Cutler1-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-26Fixed broken build on newer gold linker with NaCl supportIcenowy Zheng1-1/+1
On platforms with NaCl support, ld.gold -V will return a "elf_i386_nacl" in addition to "elf_i386", which will make the build fail.
2016-09-26Add mikecat's argp testFrans Kaashoek1-0/+14
2016-09-26fix memory region validation in argptr()MikeCAT1-1/+1
2016-09-25Typo (Thanks to Austin Liew)Frans Kaashoek1-1/+1
2016-09-19Merge branch 'master' of g.csail.mit.edu:xv6-devFrans Kaashoek1-1/+1
2016-09-19Check result of write (thans to Alexander Kapshuk <alexander.kapshuk@gmail)Frans Kaashoek1-2/+6
2016-09-16Fix a small README typoTej Chajed1-1/+1
2016-09-15Remove left-over print statementsFrans Kaashoek1-6/+0
2016-09-15Merge branch 'master' of g.csail.mit.edu:xv6-devRobert Morris3-3/+3
2016-09-15change allocproc() back to acquiring the ptable.lock.Robert Morris1-14/+6
fix bugs where caller incorrectly released lock on error return path.
2016-09-15xxRobert Morris1-1/+1
2016-09-14Delete two left-over print statementsFrans Kaashoek1-2/+0
2016-09-14Update comment a bit.Frans Kaashoek1-1/+1
2016-09-14Add sleeplock.[ch] to listingFrans Kaashoek1-0/+2
2016-09-13one more BUSYFrans Kaashoek1-2/+2
2016-09-11sleeplock filesFrans Kaashoek2-0/+66
2016-09-11Replace I_BUSY with sleep locksFrans Kaashoek7-21/+20
2016-09-11Move retry loop/sleep/wakeup in bio.c into sleeping locksFrans Kaashoek3-28/+31
2016-09-11Straight replacement of B_BUSY with a sleeping lock.Frans Kaashoek8-21/+45
2016-09-08Merge branch 'master' of g.csail.mit.edu:xv6-devFrans Kaashoek2-3/+21
2016-09-08xFrans Kaashoek2-3/+3
2016-09-08use asm() for lock release, not a C assignmentRobert Morris1-2/+4
2016-09-08this might fix the reported deadlock, though I can't reproduce it.Robert Morris1-1/+17
2016-09-08Be a bit more explicit what kind of suggestions are are interested.Frans Kaashoek1-2/+6
2016-09-02Make runoff happyFrans Kaashoek4-18/+18
2016-09-02Fix a few lines that runoff is complaining about that they are too longFrans Kaashoek3-7/+13
2016-09-02ack xiFrans Kaashoek1-2/+2
2016-09-02Merge branch 'master' of g.csail.mit.edu:xv6-devFrans Kaashoek3-3/+9
2016-09-02APIC IDs may not be consecutive and start from zero, so we cannot really use itFrans Kaashoek6-18/+26
as a direct index into cpus. Record apicid in struct cpu and have cpunum() look for it. Replace cpu->id with cpunum() everywhere, and replace cpu->id with cpu->apicid. Thanks to Xi Wang.
2016-09-02comment about sched() saving/restoring cpu->intenaRobert Morris2-2/+8
2016-09-01curproc -> proc in a commentRobert Morris1-1/+1
2016-08-26better commentFrans Kaashoek1-1/+3
2016-08-26ackFrans Kaashoek1-2/+2
2016-08-26set iomb to forbid i/o instructions from user spaceFrans Kaashoek2-0/+33
add to test that they indeed trap in user space thanks to [email protected] and [email protected]
2016-08-25xFrans Kaashoek1-6/+6
2016-08-25Remove trailing white space with:Frans Kaashoek32-116/+116
for f in *.{h,c}; do sed -i .sed 's/[[:blank:]]*$//' $f; done (Thanks to Nicolás Wolovick)
2016-08-25ack mikecatFrans Kaashoek1-2/+2
2016-08-25add check for wrapping of address + size in exec()MikeCAT1-0/+2
2016-08-25add alignment check of virtual address to exec()MikeCAT1-0/+2