2006-09-05 15:50:55 +00:00
|
|
|
# basic headers
|
2019-07-01 17:02:24 +00:00
|
|
|
kernel/types.h
|
|
|
|
kernel/param.h
|
|
|
|
kernel/memlayout.h
|
|
|
|
kernel/defs.h
|
|
|
|
kernel/riscv.h
|
|
|
|
kernel/elf.h
|
|
|
|
kernel/date.h
|
2006-09-05 15:50:55 +00:00
|
|
|
|
2011-08-16 00:28:28 +00:00
|
|
|
# entering xv6
|
2019-07-01 17:02:24 +00:00
|
|
|
kernel/entry.S
|
|
|
|
kernel/main.c
|
2006-09-06 00:07:09 +00:00
|
|
|
|
|
|
|
# locks
|
2019-07-01 17:02:24 +00:00
|
|
|
kernel/spinlock.h
|
|
|
|
kernel/spinlock.c
|
2006-09-06 00:07:09 +00:00
|
|
|
|
|
|
|
# processes
|
2019-07-01 17:02:24 +00:00
|
|
|
kernel/vm.c
|
|
|
|
kernel/proc.h
|
|
|
|
kernel/proc.c
|
|
|
|
kernel/swtch.S
|
|
|
|
kernel/kalloc.c
|
2011-09-01 14:25:20 +00:00
|
|
|
|
2006-09-06 00:07:09 +00:00
|
|
|
# system calls
|
2019-07-01 17:02:24 +00:00
|
|
|
user/usys.pl
|
|
|
|
kernel/trap.c
|
|
|
|
kernel/syscall.h
|
|
|
|
kernel/syscall.c
|
|
|
|
kernel/sysproc.c
|
2006-09-05 15:50:55 +00:00
|
|
|
|
|
|
|
# file system
|
2019-07-01 17:02:24 +00:00
|
|
|
kernel/buf.h
|
|
|
|
kernel/sleeplock.h
|
|
|
|
kernel/fcntl.h
|
|
|
|
kernel/stat.h
|
|
|
|
kernel/fs.h
|
|
|
|
kernel/file.h
|
|
|
|
kernel/virtio_disk.c
|
|
|
|
kernel/bio.c
|
|
|
|
kernel/sleeplock.c
|
|
|
|
kernel/log.c
|
|
|
|
kernel/fs.c
|
|
|
|
kernel/file.c
|
|
|
|
kernel/sysfile.c
|
|
|
|
kernel/exec.c
|
2006-09-06 00:07:09 +00:00
|
|
|
|
2006-09-06 16:36:54 +00:00
|
|
|
# pipes
|
2019-07-01 17:02:24 +00:00
|
|
|
kernel/pipe.c
|
2006-09-06 16:36:54 +00:00
|
|
|
|
|
|
|
# string operations
|
2019-07-01 17:02:24 +00:00
|
|
|
kernel/string.c
|
2006-09-05 15:50:55 +00:00
|
|
|
|
2007-08-28 19:39:49 +00:00
|
|
|
# low-level hardware
|
2019-07-01 17:02:24 +00:00
|
|
|
kernel/uart.c
|
2007-08-27 23:54:24 +00:00
|
|
|
|
2007-08-28 04:26:55 +00:00
|
|
|
# user-level
|
2019-07-01 17:02:24 +00:00
|
|
|
user/initcode.S
|
|
|
|
user/usys.S
|
|
|
|
user/init.c
|
|
|
|
user/sh.c
|
2007-08-27 23:54:24 +00:00
|
|
|
|
2018-08-30 18:09:03 +00:00
|
|
|
# link
|
2019-07-01 17:02:24 +00:00
|
|
|
kernel/kernel.ld
|