summaryrefslogtreecommitdiff
path: root/kernel
AgeCommit message (Collapse)Author
2020-10-03Clarify CLINT and PLIC acronymFrans Kaashoek
2020-10-03When either_copyin/out fails, return an error from write/readFrans Kaashoek
Add a test to check that read/write return an error
2020-09-14Corrects order of UART RX/TX interrupt enable bitsMatt Harvey
(per http://byterunner.com/16550.html and manually tested in qemu bare metal echo)
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-21usertest for exec() out of memory recoveryRobert Morris
and fix a few exec() bugs
2020-08-17xRobert Morris
2020-08-17fix a bug in the out-of-memory handling code in execRobert Morris
2020-08-17handle 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-17try to handle a few of the possible out-of-memory errors in fork()Robert Morris
2020-08-17modify uvmunmap() to be in aligned pagesRobert Morris
fix a bug in fork() recovering from out of memory
2020-08-17pa isn't needed in the uvmunmap() loopRobert Morris
2020-08-10Typo (thanks yt <jaichenhengjie@qq.com>)Frans Kaashoek
2020-08-10Merge pull request #9 from d0iasm/riscvFrans Kaashoek
update initcode to avoid using the compressed extension
2020-08-10Merge pull request #10 from takahirox/VirtioInterruptAckFrans Kaashoek
Write virtio interrupt ack register in virtio_disk_intr()
2020-08-10Merge pull request #6 from jrrk2/riscvFrans Kaashoek
Update ramdisk.c
2020-08-10Merge branch 'riscv' into riscvFrans Kaashoek
2020-08-10streamline copyin/copyout code in usertestsRobert Morris
fix bugs in read/write return values when there's an error
2020-08-10Change tf -> trapframe in a few commentsFrans Kaashoek
2020-08-10modify each page in usertests countfree()Robert Morris
get rid of static for walk() and freewalk()
2020-08-10defines for UART register bitsRobert Morris
2020-08-10fix printf() in interruptsRobert Morris
2020-08-10interrupt-driven uart output, hopefully a nice example for teaching.Robert Morris
2020-08-10cpu->scheduler -> cpu->context to reduce confusionRobert Morris
2020-08-10rename p->tf to p->trapframe, for consistency with p->contextRobert Morris
2020-08-10make "echo hello > x" truncate file x.Robert Morris
2020-04-18Write interrupt ack register in virtio_disk_intr()Takahiro
2020-03-20update initcode to avoid using the compressed extensionAsami Doi
2020-01-16Update 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
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-21Fix minor typosFumiya Shigemitsu
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
2019-09-17all of PTE_FLAGSRobert Morris
2019-09-12set architecture riscv:rv64 -- fix gdb trampoline disassembly, thanks jonathanRobert Morris