os-workshop

same materials and sample source for RV32 OS projects
git clone http://frotz.net/git/os-workshop.git
Log | Files | Refs

ModeNameSize
-rw-r--r--.gitignore4L
-rw-r--r--Makefile61L
-rw-r--r--boot/boot.c123L
-rw-r--r--boot/boot.h21L
-rw-r--r--boot/console.c216L
-rw-r--r--boot/entry.S120L
-rw-r--r--boot/helpers.S32L
-rw-r--r--boot/netboot.c191L
-rw-r--r--docs/book-xv6-riscv-rev2.pdf559148B
-rw-r--r--docs/build-system.md51L
-rw-r--r--docs/devicetree-specification-v0.4-rc1.pdf400414B
-rw-r--r--docs/hardware-setup.md193L
-rw-r--r--docs/hardware.jpg387242B
-rw-r--r--docs/riscv-abi-spec.pdf253048B
-rw-r--r--docs/riscv-assembly.md122L
-rw-r--r--docs/riscv-debug-stable.pdf1011490B
-rw-r--r--docs/riscv-isa-reference-card.pdf167566B
-rw-r--r--docs/riscv-isa-spec-i-20191213.pdf1021610B
-rw-r--r--docs/riscv-isa-spec-ii-20211105.pdf770723B
-rw-r--r--docs/setup.md134L
-rw-r--r--docs/virtio-spec-v1.1.pdf715112B
-rw-r--r--example/ex00-hello.c32L
-rw-r--r--example/ex01-timer.c72L
-rw-r--r--example/ex05-ethernet.c101L
-rw-r--r--example/ex10-threads-cooperative.c219L
-rw-r--r--example/ex11-threads-preemptive.c260L
-rw-r--r--example/ex20-mmu.c152L
-rw-r--r--example/ex25-kernel.c241L
-rw-r--r--example/ex25-syscalls.S14L
-rw-r--r--example/ex25-syscalls.h4L
-rw-r--r--example/ex25-user.c15L
-rw-r--r--external/sha256.c157L
-rw-r--r--external/sha256.h32L
-rw-r--r--external/vgafonts.c1242L
-rw-r--r--external/vgafonts.txt59L
-rw-r--r--hw/inc/compiler.h5L
-rw-r--r--hw/inc/hw/context.h118L
-rw-r--r--hw/inc/hw/debug.h16L
-rw-r--r--hw/inc/hw/devicetree.h30L
-rw-r--r--hw/inc/hw/intrinsics.h97L
-rw-r--r--hw/inc/hw/litex.h96L
-rw-r--r--hw/inc/hw/platform.h63L
-rw-r--r--hw/inc/hw/riscv-clint.h7L
-rw-r--r--hw/inc/hw/riscv-plic.h13L
-rw-r--r--hw/inc/hw/riscv.h166L
-rw-r--r--hw/inc/hw/vexriscv.h7L
-rw-r--r--hw/inc/hw/virtio.h35L
-rw-r--r--hw/src/context-switch.S56L
-rw-r--r--hw/src/debug-io.c32L
-rw-r--r--hw/src/debug-printf.c23L
-rw-r--r--hw/src/print-exception.c78L
-rw-r--r--hw/src/start.S25L
-rw-r--r--hw/src/start.mmu.S94L
-rw-r--r--hw/src/trap-entry-dual-stack.S149L
-rw-r--r--hw/src/trap-entry-single-stack.S134L
-rw-r--r--libc/inc/assert.h8L
-rw-r--r--libc/inc/ctype.h16L
-rw-r--r--libc/inc/errno.h0B
-rw-r--r--libc/inc/stdio.h10L
-rw-r--r--libc/inc/stdlib.h0B
-rw-r--r--libc/inc/string.h49L
-rw-r--r--libc/src/atoi.c172L
-rw-r--r--libc/src/ctype.c69L
-rw-r--r--libc/src/printf-engine.h22L
-rw-r--r--libc/src/printf.c622L
-rw-r--r--libc/src/string/memchr.c29L
-rw-r--r--libc/src/string/memcmp.c24L
-rw-r--r--libc/src/string/memcpy.c53L
-rw-r--r--libc/src/string/memmove.c77L
-rw-r--r--libc/src/string/memset.c47L
-rw-r--r--libc/src/string/strcat.c26L
-rw-r--r--libc/src/string/strchr.c21L
-rw-r--r--libc/src/string/strcmp.c25L
-rw-r--r--libc/src/string/strcpy.c23L
-rw-r--r--libc/src/string/strlen.c25L
-rw-r--r--libc/src/string/strncat.c32L
-rw-r--r--libc/src/string/strncmp.c26L
-rw-r--r--libc/src/string/strncpy.c27L
-rw-r--r--libc/src/string/strnlen.c22L
-rw-r--r--libc/src/string/strpbrk.c28L
-rw-r--r--libc/src/string/strrchr.c29L
-rw-r--r--libc/src/string/strspn.c32L
-rw-r--r--libc/src/string/strstr.c30L
-rw-r--r--libc/src/string/strtok.c35L
-rw-r--r--libgfx/inc/gfx/gfx.h78L
-rw-r--r--libgfx/src/gfx.c131L
-rw-r--r--libgfx/src/txt.c63L
-rw-r--r--make/app.mk58L
-rw-r--r--make/app.ram.ld6L
-rw-r--r--make/boot.ram.ld6L
-rw-r--r--make/common.ram.ld55L
-rw-r--r--make/kernel.ram.ld6L
-rw-r--r--make/lib.mk24L
-rw-r--r--make/rules.mk44L
-rw-r--r--make/user.ram.ld6L
-rw-r--r--misc/devicetree.c106L
-rw-r--r--misc/info.c20L
-rw-r--r--misc/mandelbrot-fb.c55L
-rw-r--r--misc/mandelbrot.c31L
-rw-r--r--misc/traps-entry.S109L
-rw-r--r--net/inc/net/ipv6.h130L
-rw-r--r--net/ipv6.c351L
-rw-r--r--prebuilt/fpga.bit.gz310259B
-rw-r--r--project/boot.app.mk9L
-rw-r--r--project/boot.net.app.mk10L
-rw-r--r--project/c.lib.mk4L
-rw-r--r--project/devicetree.app.mk6L
-rw-r--r--project/ex00-hello.app.mk6L
-rw-r--r--project/ex01-timer.app.mk6L
-rw-r--r--project/ex05-ethernet.app.mk8L
-rw-r--r--project/ex10-threads-cooperative.app.mk9L
-rw-r--r--project/ex11-threads-preemptive.app.mk9L
-rw-r--r--project/ex20-mmu.app.mk8L
-rw-r--r--project/ex25-kernel.app.mk10L
-rw-r--r--project/ex25-user.app.mk8L
-rw-r--r--project/gfx.lib.mk7L
-rw-r--r--project/info.app.mk6L
-rw-r--r--project/mandelbrot-fb.app.mk7L
-rw-r--r--project/mandelbrot.app.mk6L
-rw-r--r--project/xos-kernel.app.mk12L
-rw-r--r--project/xos-mandelbrot.app.mk10L
-rw-r--r--project/xos.lib.mk6L
-rw-r--r--readme.md10L
-rw-r--r--tools/netboot.c308L
-rw-r--r--tools/netboot.h45L
-rw-r--r--xos/inc/xos/status.h65L
-rw-r--r--xos/inc/xos/syscall-tmpl.h8L
-rw-r--r--xos/inc/xos/syscalls.h10L
-rw-r--r--xos/inc/xos/types.h13L
-rw-r--r--xos/lib/debug-io.c27L
-rw-r--r--xos/lib/syscalls.S6L
-rw-r--r--xos/src/entry.S165L
-rw-r--r--xos/src/kernel.c174L
-rw-r--r--xos/src/kernel.h61L
-rw-r--r--xos/src/start.S94L
-rw-r--r--xos/src/vmm.c80L
-rw-r--r--xos/usr/mandelbrot.c92L