xv6-65oo2/kernel
Robert Morris 4de161f973 don't panic if a program frees all its memory with sbrk().
if a program sbrk()'s to a non-page-boundary, don't free that page.
corresponding usertests.
2019-09-20 11:35:27 -04:00
..
bio.c Make pin/unpin explicit 2019-07-30 08:54:43 -04:00
buf.h Track in buf if disk "owns" buffer 2019-07-30 12:53:19 -04:00
console.c cleaner UART register interface 2019-07-27 06:44:24 -04:00
date.h separate source into kernel/ user/ mkfs/ 2019-06-11 09:57:14 -04:00
defs.h Support exit status for exit/wait 2019-09-10 12:30:10 -04:00
elf.h separate source into kernel/ user/ mkfs/ 2019-06-11 09:57:14 -04:00
entry.S mstart -> start 2019-07-23 14:31:12 -04:00
exec.c rationalize some vm function names 2019-07-24 15:28:37 -04:00
fcntl.h separate source into kernel/ user/ mkfs/ 2019-06-11 09:57:14 -04:00
file.c 512 -> BSIZE 2019-08-20 11:56:56 -04:00
file.h Add major/minor/mkdev 2019-08-23 19:41:53 -04:00
fs.c Also release buffer on failed copyout 2019-08-20 12:46:56 -04:00
fs.h FD_DEVICE 2019-06-13 10:29:27 -04:00
kalloc.c Make the end variable be really at the end of bss, and delete + 4096 in freerange() 2019-09-08 15:19:19 -04:00
kernel.ld Make the end variable be really at the end of bss, and delete + 4096 in freerange() 2019-09-08 15:19:19 -04:00
kernelvec.S ??? 2019-07-26 11:09:54 -04:00
log.c Cosmetic cleanup: fsinit reads sb and calls loginit. initialize icache 2019-08-18 14:35:11 -04:00
main.c sfence.vma in trampoline as well 2019-09-03 16:29:48 -04:00
memlayout.h cut ramdisk 2019-07-30 16:06:00 -04:00
param.h separate source into kernel/ user/ mkfs/ 2019-06-11 09:57:14 -04:00
pipe.c A few now unused DOC 2019-08-19 18:12:19 -04:00
plic.c clean up virtio code 2019-06-13 09:40:17 -04:00
printf.c split printf into a separate file, to make console.c more like a driver 2019-07-27 03:49:03 -04:00
proc.c don't panic if a program frees all its memory with sbrk(). 2019-09-20 11:35:27 -04:00
proc.h Support exit status for exit/wait 2019-09-10 12:30:10 -04:00
ramdisk.c separate source into kernel/ user/ mkfs/ 2019-06-11 09:57:14 -04:00
riscv.h all of PTE_FLAGS 2019-09-17 06:07:58 -04:00
sleeplock.c Checkpoint switching to per-process locks, in attempt clarify xv6's 2019-07-02 09:14:47 -04:00
sleeplock.h separate source into kernel/ user/ mkfs/ 2019-06-11 09:57:14 -04:00
spinlock.c a few core -> CPU 2019-07-23 11:14:10 -04:00
spinlock.h nits 2019-07-10 14:54:34 -04:00
start.c separate out timer init code for clarity 2019-07-28 13:16:49 -04:00
stat.h Make size in stat.h be a uint64 2019-07-04 08:57:23 -04:00
string.c separate source into kernel/ user/ mkfs/ 2019-06-11 09:57:14 -04:00
swtch.S separate source into kernel/ user/ mkfs/ 2019-06-11 09:57:14 -04:00
syscall.c nits 2019-09-20 06:02:47 -04:00
syscall.h separate source into kernel/ user/ mkfs/ 2019-06-11 09:57:14 -04:00
sysfile.c Support exit status for exit/wait 2019-09-10 12:30:10 -04:00
sysproc.c Support exit status for exit/wait 2019-09-10 12:30:10 -04:00
trampoline.S set architecture riscv:rv64 -- fix gdb trampoline disassembly, thanks jonathan 2019-09-12 10:48:48 -04:00
trap.c all of PTE_FLAGS 2019-09-17 06:07:58 -04:00
types.h separate source into kernel/ user/ mkfs/ 2019-06-11 09:57:14 -04:00
uart.c xxx 2019-07-28 07:43:22 -04:00
virtio.h Introduce alloc3_desc and UsedArea to make code easier to read 2019-07-01 08:20:35 -04:00
virtio_disk.c Wrap state of disk driver in a struct so that it is easier to support 2019-08-12 07:20:32 -04:00
vm.c don't panic if a program frees all its memory with sbrk(). 2019-09-20 11:35:27 -04:00