summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-08-19touch sbrk()-allocated memory to make sure it existsRobert Morris1-2/+14
2020-08-19usertest for exec() out of memory recoveryRobert Morris3-4/+42
and fix a few exec() bugs
2020-08-18Use the major number defined in file.h. The minor number is ignored;Frans Kaashoek1-1/+5
might as well use 0.
2020-08-17Delete some obselete stuffFrans Kaashoek2-59/+0
2020-08-15xRobert Morris3-15/+21
2020-08-13fix a bug in the out-of-memory handling code in execRobert Morris2-5/+5
2020-08-13handle another out-of-memory in fork(). the policy here is not consistent,Robert Morris3-3/+10
since other calls (e.g. exec()) panic on out of memory.
2020-08-13try to handle a few of the possible out-of-memory errors in fork()Robert Morris1-5/+18
2020-08-13modify uvmunmap() to be in aligned pagesRobert Morris2-21/+18
fix a bug in fork() recovering from out of memory
2020-08-13Merge branch 'riscv' of g.csail.mit.edu:xv6-dev into riscvRobert Morris11-23/+26
2020-08-13pa isn't needed in the uvmunmap() loopRobert Morris1-3/+1
2020-08-10Update to the latest specsFrans Kaashoek4-0/+0
2020-08-10copyright and 6.S081Frans Kaashoek1-2/+2
2020-08-10Ack bug finders.Frans Kaashoek1-9/+11
2020-08-10Typo (thanks yt <[email protected]>)Frans Kaashoek1-1/+1
2020-08-10Generate initcode without compressed extensionsFrans Kaashoek1-1/+1
2020-08-10update initcode to avoid using the compressed extensionAsami Doi1-7/+7
2020-08-10Write interrupt ack register in virtio_disk_intr()Takahiro1-0/+1
2020-08-10Update ramdisk.cJonathan Kimmitt1-1/+1
The qemu syntax for a ram disk was documented incorrectly. The documented syntax is here: https://qemu.weilnetz.de/doc/qemu-doc.html
2020-08-10Fix minor typosFumiya Shigemitsu1-2/+2
2020-08-07test string system call arguments that cross over the end of the last page.Robert Morris1-0/+53
2020-08-07test copyinstr()'s handling of the terminating nullRobert Morris1-2/+64
2020-08-07streamline copyin/copyout code in usertestsRobert Morris4-77/+86
fix bugs in read/write return values when there's an error
2020-08-07test pointer checking in copyin, copyout, copyinstrRobert Morris1-0/+92
2020-08-07Merge branch 'riscv' of g.csail.mit.edu:xv6-dev into riscvRobert Morris1-6/+6
2020-08-07modify each page in usertests countfree()Robert Morris4-9/+11
get rid of static for walk() and freewalk()
2020-08-06Change tf -> trapframe in a few commentsFrans Kaashoek1-6/+6
2020-07-23defines for UART register bitsRobert Morris1-13/+21
2020-07-22fix printf() in interruptsRobert Morris3-25/+29
2020-07-20interrupt-driven uart output, hopefully a nice example for teaching.Robert Morris5-18/+100
2020-07-17cpu->scheduler -> cpu->context to reduce confusionRobert Morris2-3/+3
2020-07-17rename p->tf to p->trapframe, for consistency with p->contextRobert Morris6-30/+30
2020-07-17drop QEMUEXTRARobert Morris1-2/+2
2020-07-16make "echo hello > x" truncate file x.Robert Morris6-8/+148
2019-11-08allow more filesRobert Morris1-1/+1
2019-11-07more grindRobert Morris2-18/+145
2019-11-07Merge branch 'riscv' of g.csail.mit.edu:xv6-dev into riscvRobert Morris1-0/+2
2019-11-07more grindRobert Morris2-4/+50
2019-11-07yet another toolchain namertm1-0/+2
2019-11-06grind: run parallel system calls foreverRobert Morris3-5/+170
2019-10-29mention LRU list a bit more in comments.Robert Morris1-3/+5
2019-10-28usertests -c to repeat tests foreverRobert Morris1-16/+80
detect memory leaks no more "already ran user tests"
2019-10-27fix a potential memory leakRobert Morris2-3/+3
2019-10-27nitsRobert Morris6-10/+12
2019-10-21Clean up linker scriptAnish Athalye2-12/+27
This patch does the following: - Add .text.* to the .text section in the output - Add an assertion that the trampoline does not overflow a page - Add the .rodata section - Make .sdata and .sdata.* (which is for small data) be absorbed into the .data section, because we don't need to distinguish between them; this prevents .sdata from appearing in the output - Make the analogous change for .srodata and .sbss - Make all the data sections 16-byte aligned This patch also updates the .editorconfig for *.ld files.
2019-10-16nitsRobert Morris2-3/+3
2019-10-08Fix ulib's memmove to handle overlap when src<dstAnish Athalye1-2/+9
2019-10-08Add implementations of memcmp and memcpy to ulibAnish Athalye2-0/+22
This is necessary because gcc may generate calls to memcmp, memset, memcpy, and memmove when compiling with -nostdlib.
2019-10-03delete alarmtest from riscvRobert Morris1-106/+0
2019-10-03updated alarmtestRobert Morris6-25/+32