summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-08-02Revert "Not treat `infinite-recursion` as error"Frans Kaashoek1-1/+1
This reverts commit 759bb34113d214819b2f01b2c38c0b36a5ca775b.
2022-07-21Not treat `infinite-recursion` as errorDezhi Wu1-1/+1
2021-10-17port virtio_disk to virtio spec 1.0+Xi Wang3-37/+52
The legacy interface is confusing. It's better to make virtio_disk conform to the virtio spec. This is supported in QEMU since 4.2 by disabling force-legacy for virtio-mmio.
2021-09-01updateFrans Kaashoek1-10/+10
2021-09-01memmove(dst, src, 0) leads to overflow in `while(n-- > 0)` as `n` is uint64 ↵Frans Kaashoek1-0/+3
(thanks Matúš Jókay <[email protected]>)
2021-09-01Delete unused code (Jude Rich <[email protected]>)Frans Kaashoek1-8/+0
2021-08-31updateFrans Kaashoek1-12/+14
2021-08-31fix ld warning: undefined symbol _entryyzhu1-0/+1
2021-08-31diePavan Maddamsetti1-24/+20
2021-08-31commentPavan Maddamsetti1-1/+1
2021-08-31exec() only accepts MAXARG argumentsl0stman1-1/+1
The terminating NULL string is already included (see sys_exec()).
2021-08-31Assert that the size in mappages() is always positivel0stman1-1/+4
If va % PGSIZE == 0 and size == 0, we have last < a at the start of the loop so we might never terminate. That being said, this particular case couldn't be triggered for now.
2021-08-31Change `inode cache` in main.c to `inode table`kimjungwow1-1/+1
2021-08-31I fixed a typo in the comment.amane-uehara1-1/+1
2021-08-31fix a invalid printf format stringflespark1-1/+1
2021-08-31Remove setproc prototypeOptimisticSide1-1/+0
2021-08-31fix comment for 'sepc'Vadim Kolontsov1-1/+1
2021-08-31fix typos in user/usertest.c & kernel/log.cFIXED-TERM Chen Ian (BT-CO/QMM5)2-3/+3
2021-08-30Configure PMP at bootJonathan Behrens2-0/+17
2021-08-10check for alignment just onceRobert Morris1-4/+1
2021-08-06check that there's no panic if user process tries to write >= MAXVARobert Morris1-0/+25
2021-07-02sync usertestsRobert Morris1-0/+11
2021-07-02keep usertests.c in sync with riscv-sol-2020Robert Morris1-0/+27
2020-11-23Rename icache to itableFrans Kaashoek1-25/+25
The inode cache isn't really a cache. The main purpose of it is to allow for synchronization (locking individual inodes), providing long-lived references to inodes, and ensuring that there is only inode in memory.
2020-11-19suppress an incorrect error message in grindRobert Morris1-2/+3
2020-11-05Merge remote-tracking branch 'refs/remotes/origin/riscv' into riscvFrans Kaashoek0-0/+0
2020-11-05xFrans Kaashoek1-1/+1
2020-11-05kill/status testFrans Kaashoek1-0/+31
2020-11-05Be principled: acquire lock firstFrans Kaashoek1-1/+1
2020-11-05proc_tree_lock -> wait_lockRobert Morris1-14/+15
2020-11-05don't over-lock in exit()Robert Morris2-3/+7
2020-11-05xFrans Kaashoek1-1/+1
2020-11-05kill/status testFrans Kaashoek1-0/+31
2020-11-05Be principled: acquire lock firstFrans Kaashoek1-1/+1
2020-11-05proc_tree_lock -> wait_lockRobert Morris1-14/+15
2020-11-05don't over-lock in exit()Robert Morris2-3/+7
2020-11-05oopsRobert Morris1-1/+1
2020-11-05Frans' proc_lock.Robert Morris2-77/+34
2020-11-05free proc if kalloc failsRobert Morris1-0/+1
2020-11-05hopefully make writei more correctRobert Morris2-13/+14
2020-11-05test for closed pipe or killed on every char, not just if pipe fullRobert Morris1-11/+14
2020-11-05fix uart.c to work with UART_TX_BUF_SIZE == 1Robert Morris1-7/+7
2020-11-05consolewrite does not need cons.lock -- can lead to sleep() with lock heldRobert Morris1-2/+0
2020-11-03oopsRobert Morris1-1/+1
2020-11-03Frans' proc_lock.Robert Morris2-77/+34
2020-11-01free proc if kalloc failsRobert Morris1-0/+1
2020-10-23hopefully make writei more correctRobert Morris2-13/+14
2020-10-22test for closed pipe or killed on every char, not just if pipe fullRobert Morris1-11/+14
2020-10-20fix uart.c to work with UART_TX_BUF_SIZE == 1Robert Morris1-7/+7
2020-10-20Merge branch 'riscv' of g.csail.mit.edu:xv6-dev into riscvRobert Morris3-28/+48