summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-08-10have sh print prompt with write, not printf, to makeRobert Morris1-1/+1
system call lecture a little clearer.
2022-08-10put walk() in defs.h so it's clear students can call itRobert Morris1-0/+1
2022-08-10avoid user-level segfault if a process doesn't call exit()Robert Morris2-1/+12
2022-08-10tolerate running out of disk blocksRobert Morris2-12/+76
2022-08-10Merge branch 'riscv' of g.csail.mit.edu:xv6-dev into riscvRobert Morris4-2/+4
2022-08-10comment nitsRobert Morris2-2/+3
2022-08-09nothing muchRobert Morris5-15/+21
2022-08-09[user/ls]: List specific device fileJohn Jolly1-0/+1
When using the ls userspace program to list a specific device file, nothing would be displayed. This was because ls only tests for T_FILE and T_DIR. T_DEVICE files would fall through the case block. Adding T_DEVICE to the T_FILE case allows a device file to be listed. $ ls console console 3 19 0
2022-08-09fix 'kfree' comment in kalloc.cWaheedHafez1-1/+1
'kfree' has a parameter named 'pa' but referenced in the comment as 'v'.
2022-08-09fix comment in mkfs.cmrm1-1/+1
2022-08-09[user/ls]: List specific device fileJohn Jolly1-0/+1
When using the ls userspace program to list a specific device file, nothing would be displayed. This was because ls only tests for T_FILE and T_DIR. T_DEVICE files would fall through the case block. Adding T_DEVICE to the T_FILE case allows a device file to be listed. $ ls console console 3 19 0
2022-08-09fix 'kfree' comment in kalloc.cWaheedHafez1-1/+1
'kfree' has a parameter named 'pa' but referenced in the comment as 'v'.
2022-08-09fix comment in mkfs.cmrm1-1/+1
2022-08-09Added missing va_end().Ravjot Singh Samra1-0/+1
2022-08-09Added missing va_end().Ravjot Singh Samra1-0/+1
2022-08-09nothing muchRobert Morris5-15/+21
2022-08-09README: Fix formatting in acknowledgementsolf1-7/+7
2022-08-09enable reading memory using gdbRahul Thomas1-1/+1
2022-08-09comment nitsRobert Morris4-19/+23
2022-08-09Merge branch 'riscv' of g.csail.mit.edu:xv6-dev into riscvRobert Morris2-8/+0
2022-08-09commentRobert Morris1-0/+1
2022-08-09sscratch cleanupRobert Morris2-8/+0
2022-08-09adopt github PR98 (No need to store TRAPFRAME in sscratch register)Robert Morris3-26/+31
2022-08-08tweak virtio commentsRobert Morris2-4/+4
2022-08-02Merge branch 'virtio' into riscvFrans Kaashoek3-37/+52
2022-08-02Mark runcmd with attribute noreturn, since it doesn't returnFrans Kaashoek1-0/+1
When compiling with gcc version 12, this change also avoids the compiler warning "infinite recursion detected" for runcmd()
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.