├── .clang-format ├── .clang-format-backup ├── .gdbinit ├── .gdbinit.tmpl-riscv ├── .gitignore ├── Makefile ├── README.md ├── busybox.S ├── doc ├── StartOS Book.pdf ├── img │ ├── platform.png │ └── problem2.png ├── src │ └── StartOS Book.docx ├── vfs.md ├── 环境搭建.md └── 问题记录.md ├── kernel ├── Makefile ├── StartOS.cpp ├── boot │ ├── crti.S │ ├── crtn.S │ ├── entry.S │ └── main.cpp ├── common │ ├── printk.cpp │ └── string.cpp ├── device │ ├── Clock.cpp │ ├── Console.cpp │ ├── DeviceManager.cpp │ ├── Sdcard.cpp │ └── virtio_disk.cpp ├── driver │ ├── Plic.cpp │ ├── dmac.cpp │ ├── fpioa.c │ ├── gpiohs.cpp │ ├── rtc.c │ ├── spi.cpp │ ├── sysctl.c │ ├── utils.cpp │ └── virtio.cpp ├── fs │ ├── Pipe.cpp │ ├── buf │ │ └── BufferLayer.cpp │ ├── devfs │ │ ├── DeviceFileSystem.cpp │ │ └── device_file_system.cpp │ ├── disk │ │ ├── Disk.cpp │ │ ├── VirtioDisk.cpp │ │ └── readme.txt │ ├── fat32 │ │ ├── Fat.cpp │ │ ├── fat32_file_system.cpp │ │ └── fat_utils.cpp │ ├── path.cpp │ ├── vfs │ │ ├── Vfs.cpp │ │ ├── inode.cpp │ │ └── vfs.cpp │ └── vfs_file.cpp ├── include │ ├── Elf.hpp │ ├── StartOS.hpp │ ├── common │ │ ├── logger.h │ │ ├── printk.hpp │ │ ├── sbi.h │ │ └── string.hpp │ ├── device │ │ ├── Clock.hpp │ │ ├── Console.hpp │ │ ├── DeviceManager.hpp │ │ ├── RwDevice.hpp │ │ ├── SdCard.hpp │ │ └── virtio_disk.hpp │ ├── driver │ │ ├── Plic.hpp │ │ ├── dmac.hpp │ │ ├── fpioa.hpp │ │ ├── gpiohs.hpp │ │ ├── rtc.h │ │ ├── spi.hpp │ │ ├── sysctl.hpp │ │ ├── utils.hpp │ │ └── virtio.hpp │ ├── fs │ │ ├── Pipe.hpp │ │ ├── buf │ │ │ └── BufferLayer.hpp │ │ ├── devfs │ │ │ ├── DeviceFileSystem.hpp │ │ │ └── device_file_system.hpp │ │ ├── elf.hpp │ │ ├── fat │ │ │ ├── Fat32.hpp │ │ │ ├── fat.hpp │ │ │ ├── fat32_file_system.hpp │ │ │ └── thinternal.h │ │ ├── path.hpp │ │ ├── vfs │ │ │ ├── FileSystem.hpp │ │ │ ├── Vfs.hpp │ │ │ ├── file_system.hpp │ │ │ ├── inode.hpp │ │ │ └── vfs.hpp │ │ └── vfs_file.h │ ├── memlayout.hpp │ ├── memory │ │ ├── BuddyAllocator.hpp │ │ ├── MemAllocator.hpp │ │ ├── MemoryPool.hpp │ │ ├── VmManager.hpp │ │ └── mmap.hpp │ ├── os │ │ ├── Cpu.hpp │ │ ├── Intr.hpp │ │ ├── Process.hpp │ │ ├── SleepLock.hpp │ │ ├── SpinLock.hpp │ │ ├── Syscall.hpp │ │ ├── SyscallNum.hpp │ │ ├── TaskScheduler.hpp │ │ ├── Timer.hpp │ │ ├── time.hpp │ │ └── trap.hpp │ ├── param.hpp │ ├── riscv.hpp │ ├── startos │ │ └── binformat.hpp │ └── types.hpp ├── k210.ld ├── memory │ ├── BuddyAllocator.cpp │ ├── MemAllocator.cpp │ ├── VmManager.cpp │ └── mmap.cpp ├── os │ ├── Cpu.cpp │ ├── Exec.cpp │ ├── Intr.cpp │ ├── SleepLock.cpp │ ├── SpinLock.cpp │ ├── SyscallFile.cpp │ ├── TaskScheduler.cpp │ ├── Timer.cpp │ ├── kernelvec.S │ ├── switch.S │ ├── syscall.cpp │ ├── syscallProc.cpp │ ├── task.cpp │ ├── time.cpp │ ├── trampoline.S │ └── trap.cpp ├── qemu.ld └── startos │ └── binformat.cpp ├── lib ├── errorno.h ├── fcntl.h ├── file.h ├── io.h ├── poll.h ├── signal.h ├── sysinfo.h ├── time.h ├── types.h └── utsname.h ├── platform.mk ├── result.txt ├── rustsbi ├── rustsbi-k210 │ ├── .cargo │ │ └── config.toml │ ├── Cargo.toml │ ├── README.md │ ├── build.rs │ ├── justfile │ ├── kendryte-k210.dtsi │ ├── link-k210.ld │ ├── rust-toolchain │ └── src │ │ ├── console.rs │ │ ├── main.back.rs │ │ ├── main.rs │ │ └── serial.rs ├── rustsbi-qemu │ ├── .cargo │ │ └── config.toml │ ├── Cargo.toml │ ├── README.md │ ├── build.rs │ ├── justfile │ ├── link-qemu.ld │ ├── rust-toolchain │ └── src │ │ ├── hal.rs │ │ ├── hal │ │ ├── clint.rs │ │ └── ns16550a.rs │ │ └── main.rs ├── sbi-k210 └── sbi-qemu ├── sstl ├── bitmap.hpp ├── iterator.hpp ├── linux_list.hpp ├── list.hpp ├── map.hpp ├── type_traits.hpp └── utility.hpp ├── target └── test.txt ├── tools ├── flash-list.json └── kflash.py └── user ├── Makefile ├── cat.c ├── echo.c ├── gen_submit_init.py ├── init.c ├── initcode ├── initcode.S ├── ls.c ├── malloc.c ├── oscmp ├── dynamic │ ├── busybox │ ├── dynamic_busybox.S │ └── lua ├── lua │ ├── date.lua │ ├── file_io.lua │ ├── lua │ ├── max_min.lua │ ├── random.lua │ ├── remove.lua │ ├── round_num.lua │ ├── sin30.lua │ ├── sort.lua │ ├── strings.lua │ └── test.sh ├── oscmp_init.asm ├── oscom_user.h ├── scripts │ ├── busybox_cmd.txt │ ├── busybox_testcode.sh │ └── result.txt ├── static │ ├── busybox │ └── lua └── submit.txt ├── oscmp_init.c ├── printf.c ├── shell.c ├── this_is_long_name_file.txt ├── ulib.c ├── ulib.h ├── user.h ├── usys.S ├── usys.pl └── wc.c /.clang-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/.clang-format -------------------------------------------------------------------------------- /.clang-format-backup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/.clang-format-backup -------------------------------------------------------------------------------- /.gdbinit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/.gdbinit -------------------------------------------------------------------------------- /.gdbinit.tmpl-riscv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/.gdbinit.tmpl-riscv -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/.gitignore -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/README.md -------------------------------------------------------------------------------- /busybox.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/busybox.S -------------------------------------------------------------------------------- /doc/StartOS Book.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/doc/StartOS Book.pdf -------------------------------------------------------------------------------- /doc/img/platform.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/doc/img/platform.png -------------------------------------------------------------------------------- /doc/img/problem2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/doc/img/problem2.png -------------------------------------------------------------------------------- /doc/src/StartOS Book.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/doc/src/StartOS Book.docx -------------------------------------------------------------------------------- /doc/vfs.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /doc/环境搭建.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/doc/环境搭建.md -------------------------------------------------------------------------------- /doc/问题记录.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/doc/问题记录.md -------------------------------------------------------------------------------- /kernel/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/Makefile -------------------------------------------------------------------------------- /kernel/StartOS.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/StartOS.cpp -------------------------------------------------------------------------------- /kernel/boot/crti.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/boot/crti.S -------------------------------------------------------------------------------- /kernel/boot/crtn.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/boot/crtn.S -------------------------------------------------------------------------------- /kernel/boot/entry.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/boot/entry.S -------------------------------------------------------------------------------- /kernel/boot/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/boot/main.cpp -------------------------------------------------------------------------------- /kernel/common/printk.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/common/printk.cpp -------------------------------------------------------------------------------- /kernel/common/string.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/common/string.cpp -------------------------------------------------------------------------------- /kernel/device/Clock.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/device/Clock.cpp -------------------------------------------------------------------------------- /kernel/device/Console.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/device/Console.cpp -------------------------------------------------------------------------------- /kernel/device/DeviceManager.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/device/DeviceManager.cpp -------------------------------------------------------------------------------- /kernel/device/Sdcard.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/device/Sdcard.cpp -------------------------------------------------------------------------------- /kernel/device/virtio_disk.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/device/virtio_disk.cpp -------------------------------------------------------------------------------- /kernel/driver/Plic.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/driver/Plic.cpp -------------------------------------------------------------------------------- /kernel/driver/dmac.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/driver/dmac.cpp -------------------------------------------------------------------------------- /kernel/driver/fpioa.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/driver/fpioa.c -------------------------------------------------------------------------------- /kernel/driver/gpiohs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/driver/gpiohs.cpp -------------------------------------------------------------------------------- /kernel/driver/rtc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/driver/rtc.c -------------------------------------------------------------------------------- /kernel/driver/spi.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/driver/spi.cpp -------------------------------------------------------------------------------- /kernel/driver/sysctl.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/driver/sysctl.c -------------------------------------------------------------------------------- /kernel/driver/utils.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/driver/utils.cpp -------------------------------------------------------------------------------- /kernel/driver/virtio.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/driver/virtio.cpp -------------------------------------------------------------------------------- /kernel/fs/Pipe.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/fs/Pipe.cpp -------------------------------------------------------------------------------- /kernel/fs/buf/BufferLayer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/fs/buf/BufferLayer.cpp -------------------------------------------------------------------------------- /kernel/fs/devfs/DeviceFileSystem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/fs/devfs/DeviceFileSystem.cpp -------------------------------------------------------------------------------- /kernel/fs/devfs/device_file_system.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/fs/devfs/device_file_system.cpp -------------------------------------------------------------------------------- /kernel/fs/disk/Disk.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/fs/disk/Disk.cpp -------------------------------------------------------------------------------- /kernel/fs/disk/VirtioDisk.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/fs/disk/VirtioDisk.cpp -------------------------------------------------------------------------------- /kernel/fs/disk/readme.txt: -------------------------------------------------------------------------------- 1 | 该文件夹已经弃用 -------------------------------------------------------------------------------- /kernel/fs/fat32/Fat.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/fs/fat32/Fat.cpp -------------------------------------------------------------------------------- /kernel/fs/fat32/fat32_file_system.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/fs/fat32/fat32_file_system.cpp -------------------------------------------------------------------------------- /kernel/fs/fat32/fat_utils.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/fs/fat32/fat_utils.cpp -------------------------------------------------------------------------------- /kernel/fs/path.cpp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /kernel/fs/vfs/Vfs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/fs/vfs/Vfs.cpp -------------------------------------------------------------------------------- /kernel/fs/vfs/inode.cpp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /kernel/fs/vfs/vfs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/fs/vfs/vfs.cpp -------------------------------------------------------------------------------- /kernel/fs/vfs_file.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/fs/vfs_file.cpp -------------------------------------------------------------------------------- /kernel/include/Elf.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/Elf.hpp -------------------------------------------------------------------------------- /kernel/include/StartOS.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/StartOS.hpp -------------------------------------------------------------------------------- /kernel/include/common/logger.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/common/logger.h -------------------------------------------------------------------------------- /kernel/include/common/printk.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/common/printk.hpp -------------------------------------------------------------------------------- /kernel/include/common/sbi.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/common/sbi.h -------------------------------------------------------------------------------- /kernel/include/common/string.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/common/string.hpp -------------------------------------------------------------------------------- /kernel/include/device/Clock.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/device/Clock.hpp -------------------------------------------------------------------------------- /kernel/include/device/Console.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/device/Console.hpp -------------------------------------------------------------------------------- /kernel/include/device/DeviceManager.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/device/DeviceManager.hpp -------------------------------------------------------------------------------- /kernel/include/device/RwDevice.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/device/RwDevice.hpp -------------------------------------------------------------------------------- /kernel/include/device/SdCard.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/device/SdCard.hpp -------------------------------------------------------------------------------- /kernel/include/device/virtio_disk.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/device/virtio_disk.hpp -------------------------------------------------------------------------------- /kernel/include/driver/Plic.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/driver/Plic.hpp -------------------------------------------------------------------------------- /kernel/include/driver/dmac.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/driver/dmac.hpp -------------------------------------------------------------------------------- /kernel/include/driver/fpioa.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/driver/fpioa.hpp -------------------------------------------------------------------------------- /kernel/include/driver/gpiohs.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/driver/gpiohs.hpp -------------------------------------------------------------------------------- /kernel/include/driver/rtc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/driver/rtc.h -------------------------------------------------------------------------------- /kernel/include/driver/spi.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/driver/spi.hpp -------------------------------------------------------------------------------- /kernel/include/driver/sysctl.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/driver/sysctl.hpp -------------------------------------------------------------------------------- /kernel/include/driver/utils.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/driver/utils.hpp -------------------------------------------------------------------------------- /kernel/include/driver/virtio.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/driver/virtio.hpp -------------------------------------------------------------------------------- /kernel/include/fs/Pipe.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/fs/Pipe.hpp -------------------------------------------------------------------------------- /kernel/include/fs/buf/BufferLayer.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/fs/buf/BufferLayer.hpp -------------------------------------------------------------------------------- /kernel/include/fs/devfs/DeviceFileSystem.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/fs/devfs/DeviceFileSystem.hpp -------------------------------------------------------------------------------- /kernel/include/fs/devfs/device_file_system.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/fs/devfs/device_file_system.hpp -------------------------------------------------------------------------------- /kernel/include/fs/elf.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/fs/elf.hpp -------------------------------------------------------------------------------- /kernel/include/fs/fat/Fat32.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/fs/fat/Fat32.hpp -------------------------------------------------------------------------------- /kernel/include/fs/fat/fat.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/fs/fat/fat.hpp -------------------------------------------------------------------------------- /kernel/include/fs/fat/fat32_file_system.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/fs/fat/fat32_file_system.hpp -------------------------------------------------------------------------------- /kernel/include/fs/fat/thinternal.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/fs/fat/thinternal.h -------------------------------------------------------------------------------- /kernel/include/fs/path.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/fs/path.hpp -------------------------------------------------------------------------------- /kernel/include/fs/vfs/FileSystem.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/fs/vfs/FileSystem.hpp -------------------------------------------------------------------------------- /kernel/include/fs/vfs/Vfs.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/fs/vfs/Vfs.hpp -------------------------------------------------------------------------------- /kernel/include/fs/vfs/file_system.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/fs/vfs/file_system.hpp -------------------------------------------------------------------------------- /kernel/include/fs/vfs/inode.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/fs/vfs/inode.hpp -------------------------------------------------------------------------------- /kernel/include/fs/vfs/vfs.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/fs/vfs/vfs.hpp -------------------------------------------------------------------------------- /kernel/include/fs/vfs_file.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/fs/vfs_file.h -------------------------------------------------------------------------------- /kernel/include/memlayout.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/memlayout.hpp -------------------------------------------------------------------------------- /kernel/include/memory/BuddyAllocator.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/memory/BuddyAllocator.hpp -------------------------------------------------------------------------------- /kernel/include/memory/MemAllocator.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/memory/MemAllocator.hpp -------------------------------------------------------------------------------- /kernel/include/memory/MemoryPool.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/memory/MemoryPool.hpp -------------------------------------------------------------------------------- /kernel/include/memory/VmManager.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/memory/VmManager.hpp -------------------------------------------------------------------------------- /kernel/include/memory/mmap.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/memory/mmap.hpp -------------------------------------------------------------------------------- /kernel/include/os/Cpu.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/os/Cpu.hpp -------------------------------------------------------------------------------- /kernel/include/os/Intr.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/os/Intr.hpp -------------------------------------------------------------------------------- /kernel/include/os/Process.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/os/Process.hpp -------------------------------------------------------------------------------- /kernel/include/os/SleepLock.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/os/SleepLock.hpp -------------------------------------------------------------------------------- /kernel/include/os/SpinLock.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/os/SpinLock.hpp -------------------------------------------------------------------------------- /kernel/include/os/Syscall.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/os/Syscall.hpp -------------------------------------------------------------------------------- /kernel/include/os/SyscallNum.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/os/SyscallNum.hpp -------------------------------------------------------------------------------- /kernel/include/os/TaskScheduler.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/os/TaskScheduler.hpp -------------------------------------------------------------------------------- /kernel/include/os/Timer.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/os/Timer.hpp -------------------------------------------------------------------------------- /kernel/include/os/time.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/os/time.hpp -------------------------------------------------------------------------------- /kernel/include/os/trap.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/os/trap.hpp -------------------------------------------------------------------------------- /kernel/include/param.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/param.hpp -------------------------------------------------------------------------------- /kernel/include/riscv.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/riscv.hpp -------------------------------------------------------------------------------- /kernel/include/startos/binformat.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/startos/binformat.hpp -------------------------------------------------------------------------------- /kernel/include/types.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/include/types.hpp -------------------------------------------------------------------------------- /kernel/k210.ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/k210.ld -------------------------------------------------------------------------------- /kernel/memory/BuddyAllocator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/memory/BuddyAllocator.cpp -------------------------------------------------------------------------------- /kernel/memory/MemAllocator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/memory/MemAllocator.cpp -------------------------------------------------------------------------------- /kernel/memory/VmManager.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/memory/VmManager.cpp -------------------------------------------------------------------------------- /kernel/memory/mmap.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/memory/mmap.cpp -------------------------------------------------------------------------------- /kernel/os/Cpu.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/os/Cpu.cpp -------------------------------------------------------------------------------- /kernel/os/Exec.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/os/Exec.cpp -------------------------------------------------------------------------------- /kernel/os/Intr.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/os/Intr.cpp -------------------------------------------------------------------------------- /kernel/os/SleepLock.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/os/SleepLock.cpp -------------------------------------------------------------------------------- /kernel/os/SpinLock.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/os/SpinLock.cpp -------------------------------------------------------------------------------- /kernel/os/SyscallFile.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/os/SyscallFile.cpp -------------------------------------------------------------------------------- /kernel/os/TaskScheduler.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/os/TaskScheduler.cpp -------------------------------------------------------------------------------- /kernel/os/Timer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/os/Timer.cpp -------------------------------------------------------------------------------- /kernel/os/kernelvec.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/os/kernelvec.S -------------------------------------------------------------------------------- /kernel/os/switch.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/os/switch.S -------------------------------------------------------------------------------- /kernel/os/syscall.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/os/syscall.cpp -------------------------------------------------------------------------------- /kernel/os/syscallProc.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/os/syscallProc.cpp -------------------------------------------------------------------------------- /kernel/os/task.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/os/task.cpp -------------------------------------------------------------------------------- /kernel/os/time.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/os/time.cpp -------------------------------------------------------------------------------- /kernel/os/trampoline.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/os/trampoline.S -------------------------------------------------------------------------------- /kernel/os/trap.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/os/trap.cpp -------------------------------------------------------------------------------- /kernel/qemu.ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/qemu.ld -------------------------------------------------------------------------------- /kernel/startos/binformat.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/kernel/startos/binformat.cpp -------------------------------------------------------------------------------- /lib/errorno.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/lib/errorno.h -------------------------------------------------------------------------------- /lib/fcntl.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/lib/fcntl.h -------------------------------------------------------------------------------- /lib/file.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/lib/file.h -------------------------------------------------------------------------------- /lib/io.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/lib/io.h -------------------------------------------------------------------------------- /lib/poll.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/lib/poll.h -------------------------------------------------------------------------------- /lib/signal.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/lib/signal.h -------------------------------------------------------------------------------- /lib/sysinfo.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/lib/sysinfo.h -------------------------------------------------------------------------------- /lib/time.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/lib/time.h -------------------------------------------------------------------------------- /lib/types.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/lib/types.h -------------------------------------------------------------------------------- /lib/utsname.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/lib/utsname.h -------------------------------------------------------------------------------- /platform.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/platform.mk -------------------------------------------------------------------------------- /result.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/result.txt -------------------------------------------------------------------------------- /rustsbi/rustsbi-k210/.cargo/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/rustsbi/rustsbi-k210/.cargo/config.toml -------------------------------------------------------------------------------- /rustsbi/rustsbi-k210/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/rustsbi/rustsbi-k210/Cargo.toml -------------------------------------------------------------------------------- /rustsbi/rustsbi-k210/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/rustsbi/rustsbi-k210/README.md -------------------------------------------------------------------------------- /rustsbi/rustsbi-k210/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/rustsbi/rustsbi-k210/build.rs -------------------------------------------------------------------------------- /rustsbi/rustsbi-k210/justfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/rustsbi/rustsbi-k210/justfile -------------------------------------------------------------------------------- /rustsbi/rustsbi-k210/kendryte-k210.dtsi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/rustsbi/rustsbi-k210/kendryte-k210.dtsi -------------------------------------------------------------------------------- /rustsbi/rustsbi-k210/link-k210.ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/rustsbi/rustsbi-k210/link-k210.ld -------------------------------------------------------------------------------- /rustsbi/rustsbi-k210/rust-toolchain: -------------------------------------------------------------------------------- 1 | nightly-2020-08-01 -------------------------------------------------------------------------------- /rustsbi/rustsbi-k210/src/console.rs: -------------------------------------------------------------------------------- 1 | // The implementation of stdin 2 | -------------------------------------------------------------------------------- /rustsbi/rustsbi-k210/src/main.back.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/rustsbi/rustsbi-k210/src/main.back.rs -------------------------------------------------------------------------------- /rustsbi/rustsbi-k210/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/rustsbi/rustsbi-k210/src/main.rs -------------------------------------------------------------------------------- /rustsbi/rustsbi-k210/src/serial.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/rustsbi/rustsbi-k210/src/serial.rs -------------------------------------------------------------------------------- /rustsbi/rustsbi-qemu/.cargo/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/rustsbi/rustsbi-qemu/.cargo/config.toml -------------------------------------------------------------------------------- /rustsbi/rustsbi-qemu/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/rustsbi/rustsbi-qemu/Cargo.toml -------------------------------------------------------------------------------- /rustsbi/rustsbi-qemu/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/rustsbi/rustsbi-qemu/README.md -------------------------------------------------------------------------------- /rustsbi/rustsbi-qemu/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/rustsbi/rustsbi-qemu/build.rs -------------------------------------------------------------------------------- /rustsbi/rustsbi-qemu/justfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/rustsbi/rustsbi-qemu/justfile -------------------------------------------------------------------------------- /rustsbi/rustsbi-qemu/link-qemu.ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/rustsbi/rustsbi-qemu/link-qemu.ld -------------------------------------------------------------------------------- /rustsbi/rustsbi-qemu/rust-toolchain: -------------------------------------------------------------------------------- 1 | nightly-2020-08-01 -------------------------------------------------------------------------------- /rustsbi/rustsbi-qemu/src/hal.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/rustsbi/rustsbi-qemu/src/hal.rs -------------------------------------------------------------------------------- /rustsbi/rustsbi-qemu/src/hal/clint.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/rustsbi/rustsbi-qemu/src/hal/clint.rs -------------------------------------------------------------------------------- /rustsbi/rustsbi-qemu/src/hal/ns16550a.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/rustsbi/rustsbi-qemu/src/hal/ns16550a.rs -------------------------------------------------------------------------------- /rustsbi/rustsbi-qemu/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/rustsbi/rustsbi-qemu/src/main.rs -------------------------------------------------------------------------------- /rustsbi/sbi-k210: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/rustsbi/sbi-k210 -------------------------------------------------------------------------------- /rustsbi/sbi-qemu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/rustsbi/sbi-qemu -------------------------------------------------------------------------------- /sstl/bitmap.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/sstl/bitmap.hpp -------------------------------------------------------------------------------- /sstl/iterator.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/sstl/iterator.hpp -------------------------------------------------------------------------------- /sstl/linux_list.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/sstl/linux_list.hpp -------------------------------------------------------------------------------- /sstl/list.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/sstl/list.hpp -------------------------------------------------------------------------------- /sstl/map.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/sstl/map.hpp -------------------------------------------------------------------------------- /sstl/type_traits.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/sstl/type_traits.hpp -------------------------------------------------------------------------------- /sstl/utility.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/sstl/utility.hpp -------------------------------------------------------------------------------- /target/test.txt: -------------------------------------------------------------------------------- 1 | this is a test.txt! -------------------------------------------------------------------------------- /tools/flash-list.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/tools/flash-list.json -------------------------------------------------------------------------------- /tools/kflash.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/tools/kflash.py -------------------------------------------------------------------------------- /user/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/user/Makefile -------------------------------------------------------------------------------- /user/cat.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/user/cat.c -------------------------------------------------------------------------------- /user/echo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/user/echo.c -------------------------------------------------------------------------------- /user/gen_submit_init.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/user/gen_submit_init.py -------------------------------------------------------------------------------- /user/init.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/user/init.c -------------------------------------------------------------------------------- /user/initcode: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/user/initcode -------------------------------------------------------------------------------- /user/initcode.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/user/initcode.S -------------------------------------------------------------------------------- /user/ls.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/user/ls.c -------------------------------------------------------------------------------- /user/malloc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/user/malloc.c -------------------------------------------------------------------------------- /user/oscmp/dynamic/busybox: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/user/oscmp/dynamic/busybox -------------------------------------------------------------------------------- /user/oscmp/dynamic/dynamic_busybox.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/user/oscmp/dynamic/dynamic_busybox.S -------------------------------------------------------------------------------- /user/oscmp/dynamic/lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/user/oscmp/dynamic/lua -------------------------------------------------------------------------------- /user/oscmp/lua/date.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/user/oscmp/lua/date.lua -------------------------------------------------------------------------------- /user/oscmp/lua/file_io.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/user/oscmp/lua/file_io.lua -------------------------------------------------------------------------------- /user/oscmp/lua/lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/user/oscmp/lua/lua -------------------------------------------------------------------------------- /user/oscmp/lua/max_min.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/user/oscmp/lua/max_min.lua -------------------------------------------------------------------------------- /user/oscmp/lua/random.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/user/oscmp/lua/random.lua -------------------------------------------------------------------------------- /user/oscmp/lua/remove.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/user/oscmp/lua/remove.lua -------------------------------------------------------------------------------- /user/oscmp/lua/round_num.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/user/oscmp/lua/round_num.lua -------------------------------------------------------------------------------- /user/oscmp/lua/sin30.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/user/oscmp/lua/sin30.lua -------------------------------------------------------------------------------- /user/oscmp/lua/sort.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/user/oscmp/lua/sort.lua -------------------------------------------------------------------------------- /user/oscmp/lua/strings.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/user/oscmp/lua/strings.lua -------------------------------------------------------------------------------- /user/oscmp/lua/test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/user/oscmp/lua/test.sh -------------------------------------------------------------------------------- /user/oscmp/oscmp_init.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/user/oscmp/oscmp_init.asm -------------------------------------------------------------------------------- /user/oscmp/oscom_user.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/user/oscmp/oscom_user.h -------------------------------------------------------------------------------- /user/oscmp/scripts/busybox_cmd.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/user/oscmp/scripts/busybox_cmd.txt -------------------------------------------------------------------------------- /user/oscmp/scripts/busybox_testcode.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/user/oscmp/scripts/busybox_testcode.sh -------------------------------------------------------------------------------- /user/oscmp/scripts/result.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/user/oscmp/scripts/result.txt -------------------------------------------------------------------------------- /user/oscmp/static/busybox: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/user/oscmp/static/busybox -------------------------------------------------------------------------------- /user/oscmp/static/lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/user/oscmp/static/lua -------------------------------------------------------------------------------- /user/oscmp/submit.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/user/oscmp/submit.txt -------------------------------------------------------------------------------- /user/oscmp_init.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/user/oscmp_init.c -------------------------------------------------------------------------------- /user/printf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/user/printf.c -------------------------------------------------------------------------------- /user/shell.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/user/shell.c -------------------------------------------------------------------------------- /user/this_is_long_name_file.txt: -------------------------------------------------------------------------------- 1 | this_is_long_name_file 2 | -------------------------------------------------------------------------------- /user/ulib.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/user/ulib.c -------------------------------------------------------------------------------- /user/ulib.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/user/ulib.h -------------------------------------------------------------------------------- /user/user.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/user/user.h -------------------------------------------------------------------------------- /user/usys.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/user/usys.S -------------------------------------------------------------------------------- /user/usys.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/user/usys.pl -------------------------------------------------------------------------------- /user/wc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pleasewhy/startos/HEAD/user/wc.c --------------------------------------------------------------------------------