summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-08-10Generate initcode without compressed extensionsFrans Kaashoek1-1/+1
2020-08-10Merge pull request #9 from d0iasm/riscvFrans Kaashoek1-7/+7
update initcode to avoid using the compressed extension
2020-08-10Merge pull request #10 from takahirox/VirtioInterruptAckFrans Kaashoek1-0/+1
Write virtio interrupt ack register in virtio_disk_intr()
2020-08-10Merge pull request #8 from rui314/cat-fixFrans Kaashoek0-0/+0
cat should exit normally if reading from stdin
2020-08-10Merge pull request #6 from jrrk2/riscvFrans Kaashoek1-1/+1
Update ramdisk.c
2020-08-10Merge pull request #4 from 4ge32/riscvFrans Kaashoek1-2/+2
Fix minor typos
2020-08-10Merge branch 'riscv' into riscvFrans Kaashoek31-251/+1074
2020-08-10test string system call arguments that cross over the end of the last page.Robert Morris1-0/+53
2020-08-10test copyinstr()'s handling of the terminating nullRobert Morris1-2/+64
2020-08-10streamline copyin/copyout code in usertestsRobert Morris4-77/+86
fix bugs in read/write return values when there's an error
2020-08-10test pointer checking in copyin, copyout, copyinstrRobert Morris1-0/+92
2020-08-10Change tf -> trapframe in a few commentsFrans Kaashoek1-6/+6
2020-08-10modify each page in usertests countfree()Robert Morris4-9/+11
get rid of static for walk() and freewalk()
2020-08-10defines for UART register bitsRobert Morris1-13/+21
2020-08-10fix printf() in interruptsRobert Morris3-25/+29
2020-08-10interrupt-driven uart output, hopefully a nice example for teaching.Robert Morris5-18/+100
2020-08-10cpu->scheduler -> cpu->context to reduce confusionRobert Morris2-3/+3
2020-08-10rename p->tf to p->trapframe, for consistency with p->contextRobert Morris6-30/+30
2020-08-10drop QEMUEXTRARobert Morris1-2/+2
2020-08-10make "echo hello > x" truncate file x.Robert Morris6-8/+148
2020-08-10allow more filesRobert Morris1-1/+1
2020-08-10more grindRobert Morris2-18/+145
2020-08-10yet another toolchain namertm1-0/+2
2020-04-18Write interrupt ack register in virtio_disk_intr()Takahiro1-0/+1
2020-03-20update initcode to avoid using the compressed extensionAsami Doi1-7/+7
2020-03-11cat should exit normally if reading from stdinRui Ueyama1-1/+1
2020-01-16Update 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
2019-11-07more grindRobert Morris2-4/+50
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-21Fix minor typosFumiya Shigemitsu1-2/+2
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
2019-09-30Add editorconfigAnish Athalye1-0/+19
2019-09-30Make QEMU memory size match PHYSTOPAnish Athalye1-1/+1
2019-09-24no buf->qnextRobert Morris1-1/+0
2019-09-23fix major validationXi Wang1-0/+4
fileread/filewrite should validate major to avoid buffer overflows or bogus function pointers.
2019-09-23story is more complex than I thought.Robert Morris1-8/+11
2019-09-23bug fix: reparent() sometimes deadlockedRobert Morris2-31/+71
bug fix: exit() sometimes released a different parent lock than it acquired usertests
2019-09-21Stress copyin for the full allocated page (good for lazy lab).Frans Kaashoek1-1/+1
2019-09-21don't leak memory if exec() arguments are invalid.Robert Morris2-4/+27
2019-09-21Refactor big sbrk test in smaller, easier-to-understand testsFrans Kaashoek1-21/+44
2019-09-20Not much: factor sbrksimple from big sbrktestFrans Kaashoek1-11/+21