summaryrefslogtreecommitdiff
path: root/kernel
AgeCommit message (Collapse)Author
2020-10-05improve virtio_disk comments; bring it closer to wording in the specRobert Morris
2020-10-04don't unpin if recovering -- the resulting negative refcnt suppresses next unpinRobert Morris
2020-10-04avoid deadlock by disk intr acking interrupt first, then processing ringRobert Morris
2020-10-03Corrects order of UART RX/TX interrupt enable bitsMatt Harvey
(per http://byterunner.com/16550.html and manually tested in qemu bare metal echo)
2020-10-03Fix minor typosFumiya Shigemitsu
2020-10-03Clarify CLINT and PLIC acronymFrans Kaashoek
2020-09-24When either_copyin/out fails, return an error from write/readFrans Kaashoek
Add a test to check that read/write return an error
2020-08-28move panicked check to uart.cRobert Morris
2020-08-28suppress write() output after panic()Robert Morris
2020-08-21Adjust a few prototypes to be explicit that they don't take argumentsFrans Kaashoek
2020-08-19usertest for exec() out of memory recoveryRobert Morris
and fix a few exec() bugs
2020-08-15xRobert Morris
2020-08-13fix a bug in the out-of-memory handling code in execRobert Morris
2020-08-13handle another out-of-memory in fork(). the policy here is not consistent,Robert Morris
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 Morris
2020-08-13modify uvmunmap() to be in aligned pagesRobert Morris
fix a bug in fork() recovering from out of memory
2020-08-13Merge branch 'riscv' of g.csail.mit.edu:xv6-dev into riscvRobert Morris
2020-08-13pa isn't needed in the uvmunmap() loopRobert Morris
2020-08-10Typo (thanks yt <jaichenhengjie@qq.com>)Frans Kaashoek
2020-08-10update initcode to avoid using the compressed extensionAsami Doi
2020-08-10Write interrupt ack register in virtio_disk_intr()Takahiro
2020-08-10Update ramdisk.cJonathan Kimmitt
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 Shigemitsu
2020-08-07streamline copyin/copyout code in usertestsRobert Morris
fix bugs in read/write return values when there's an error
2020-08-07Merge branch 'riscv' of g.csail.mit.edu:xv6-dev into riscvRobert Morris
2020-08-07modify each page in usertests countfree()Robert Morris
get rid of static for walk() and freewalk()
2020-08-06Change tf -> trapframe in a few commentsFrans Kaashoek
2020-07-23defines for UART register bitsRobert Morris
2020-07-22fix printf() in interruptsRobert Morris
2020-07-20interrupt-driven uart output, hopefully a nice example for teaching.Robert Morris
2020-07-17cpu->scheduler -> cpu->context to reduce confusionRobert Morris
2020-07-17rename p->tf to p->trapframe, for consistency with p->contextRobert Morris
2020-07-16make "echo hello > x" truncate file x.Robert Morris
2019-10-29mention LRU list a bit more in comments.Robert Morris
2019-10-27fix a potential memory leakRobert Morris
2019-10-27nitsRobert Morris
2019-10-21Clean up linker scriptAnish Athalye
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 Morris
2019-10-03updated alarmtestRobert Morris
2019-09-24no buf->qnextRobert Morris
2019-09-23fix major validationXi Wang
fileread/filewrite should validate major to avoid buffer overflows or bogus function pointers.
2019-09-23story is more complex than I thought.Robert Morris
2019-09-23bug fix: reparent() sometimes deadlockedRobert Morris
bug fix: exit() sometimes released a different parent lock than it acquired usertests
2019-09-21don't leak memory if exec() arguments are invalid.Robert Morris
2019-09-20don't leak a file system block if the buf argument to write is invalidRobert Morris
and a usertest
2019-09-20yet another sbrk() bug fix, and usertestRobert Morris
2019-09-20don't panic if a program frees all its memory with sbrk().Robert Morris
if a program sbrk()'s to a non-page-boundary, don't free that page. corresponding usertests.
2019-09-20more incorrect cast to uintRobert Morris
2019-09-20fix a potential kernel crashRobert Morris
add a regression test for it
2019-09-20nitsRobert Morris