├── .gitignore ├── Makefile ├── README.md ├── const.h ├── defs.h ├── fdt.c ├── fdt.h ├── init.S ├── kernel.ld ├── kmain.c ├── printfmt.c ├── sbi.h ├── spinlock.S ├── stdarg.h ├── stdio.c ├── stdio.h ├── string.c ├── string.h ├── test.c ├── test.h └── trap_entry.S /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twd2/riscv-osdev/HEAD/.gitignore -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twd2/riscv-osdev/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # riscv-osdev 2 | 3 | Hello RISC-V 64! 4 | -------------------------------------------------------------------------------- /const.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twd2/riscv-osdev/HEAD/const.h -------------------------------------------------------------------------------- /defs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twd2/riscv-osdev/HEAD/defs.h -------------------------------------------------------------------------------- /fdt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twd2/riscv-osdev/HEAD/fdt.c -------------------------------------------------------------------------------- /fdt.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twd2/riscv-osdev/HEAD/fdt.h -------------------------------------------------------------------------------- /init.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twd2/riscv-osdev/HEAD/init.S -------------------------------------------------------------------------------- /kernel.ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twd2/riscv-osdev/HEAD/kernel.ld -------------------------------------------------------------------------------- /kmain.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twd2/riscv-osdev/HEAD/kmain.c -------------------------------------------------------------------------------- /printfmt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twd2/riscv-osdev/HEAD/printfmt.c -------------------------------------------------------------------------------- /sbi.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twd2/riscv-osdev/HEAD/sbi.h -------------------------------------------------------------------------------- /spinlock.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twd2/riscv-osdev/HEAD/spinlock.S -------------------------------------------------------------------------------- /stdarg.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twd2/riscv-osdev/HEAD/stdarg.h -------------------------------------------------------------------------------- /stdio.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twd2/riscv-osdev/HEAD/stdio.c -------------------------------------------------------------------------------- /stdio.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twd2/riscv-osdev/HEAD/stdio.h -------------------------------------------------------------------------------- /string.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twd2/riscv-osdev/HEAD/string.c -------------------------------------------------------------------------------- /string.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twd2/riscv-osdev/HEAD/string.h -------------------------------------------------------------------------------- /test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twd2/riscv-osdev/HEAD/test.c -------------------------------------------------------------------------------- /test.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twd2/riscv-osdev/HEAD/test.h -------------------------------------------------------------------------------- /trap_entry.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/twd2/riscv-osdev/HEAD/trap_entry.S --------------------------------------------------------------------------------