xv6-riscv/kernel
Robert Morris 92e60dd833 switch from machine-mode to supervisor timer interrupts.
this requires qemu version >= 7.2.
2024-07-10 07:29:26 -04:00
..
bio.c mention LRU list a bit more in comments. 2019-10-29 04:32:55 -04:00
buf.h no buf->qnext 2019-09-24 14:41:51 -04:00
console.c Merge branch 'riscv-killed' into riscv 2022-08-23 07:31:08 -04:00
defs.h tell gcc to check printf format strings 2023-12-31 12:21:46 -05:00
elf.h
entry.S comment nits 2022-08-09 14:17:46 -04:00
exec.c Use simple linker script to force data segment to be page aligned 2022-08-23 10:54:40 -04:00
fcntl.h make "echo hello > x" truncate file x. 2020-08-10 11:19:10 -04:00
file.c hopefully make writei more correct 2020-11-05 06:56:51 -05:00
file.h Add major/minor/mkdev 2019-08-23 19:41:53 -04:00
fs.c sfence before writing satp, as well as after 2022-08-24 13:24:24 -04:00
fs.h
kalloc.c fix 'kfree' comment in kalloc.c 2022-08-09 20:29:38 -04:00
kernel.ld Clean up linker script 2019-10-21 22:27:18 -04:00
kernelvec.S switch from machine-mode to supervisor timer interrupts. 2024-07-10 07:29:26 -04:00
log.c fix typos in user/usertest.c & kernel/log.c 2021-08-31 14:10:14 -04:00
main.c Change inode cache in main.c to inode table 2021-08-31 14:17:39 -04:00
memlayout.h switch from machine-mode to supervisor timer interrupts. 2024-07-10 07:29:26 -04:00
param.h Linker script makes binaries bigger; use larger disk so that usertests 2022-08-23 11:19:33 -04:00
pipe.c Clean up using killed() 2022-08-11 07:23:17 -04:00
plic.c cosmetic changes (thanks Harry Porter) 2022-08-12 10:57:16 -04:00
printf.c tell gcc to check printf format strings 2023-12-31 12:21:46 -05:00
proc.c x 2022-10-17 04:10:01 -04:00
proc.h sscratch cleanup 2022-08-09 12:14:29 -04:00
ramdisk.c Update ramdisk.c 2020-01-16 15:05:27 +00:00
riscv.h switch from machine-mode to supervisor timer interrupts. 2024-07-10 07:29:26 -04:00
sleeplock.c
sleeplock.h
spinlock.c nits 2019-10-27 08:03:19 -04:00
spinlock.h nits 2019-07-10 14:54:34 -04:00
start.c switch from machine-mode to supervisor timer interrupts. 2024-07-10 07:29:26 -04:00
stat.h Make size in stat.h be a uint64 2019-07-04 08:57:23 -04:00
string.c memmove(dst, src, 0) leads to overflow in while(n-- > 0) as n is uint64 (thanks 2021-09-01 07:29:12 -04:00
swtch.S
syscall.c Help students read this C syntax 2022-08-24 08:57:56 -04:00
syscall.h
sysfile.c tolerate running out of inodes 2022-08-23 12:26:26 -04:00
sysproc.c handle negative arguments to sleep() a little better 2022-09-09 09:17:37 -04:00
trampoline.S fix copyout() to refuse to write a read-only page 2022-10-04 11:52:57 -04:00
trap.c switch from machine-mode to supervisor timer interrupts. 2024-07-10 07:29:26 -04:00
types.h
uart.c Simplify uartputc slightly (thanks Harry Porter) 2022-08-22 19:36:11 -04:00
virtio.h tweak virtio comments 2022-08-08 11:10:54 -04:00
virtio_disk.c tweak virtio comments 2022-08-08 11:10:54 -04:00
vm.c Made va and size page aligned in mappages 2022-10-18 00:11:49 -04:00