├── .gitignore ├── LICENSE ├── README.md ├── common.c ├── common.h ├── kernel.c ├── kernel.h ├── kernel.ld ├── lorem.txt ├── memo ├── 10-memory_allocation.md ├── 11-process.md ├── 12-page_table.md ├── 13-application.md ├── 14-user_mode.md ├── 15-system_call.md ├── 16-disk_io.md ├── 17-filesystem.md ├── 5-boot.md ├── 6-hello_world.md ├── 7-std.md ├── 8-kernel_panic.md └── 9-exception.md ├── run.sh ├── shell.c ├── tmp ├── hello.txt └── meow.txt ├── user.c ├── user.h └── user.ld /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/speed1313/cos/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/speed1313/cos/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/speed1313/cos/HEAD/README.md -------------------------------------------------------------------------------- /common.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/speed1313/cos/HEAD/common.c -------------------------------------------------------------------------------- /common.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/speed1313/cos/HEAD/common.h -------------------------------------------------------------------------------- /kernel.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/speed1313/cos/HEAD/kernel.c -------------------------------------------------------------------------------- /kernel.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/speed1313/cos/HEAD/kernel.h -------------------------------------------------------------------------------- /kernel.ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/speed1313/cos/HEAD/kernel.ld -------------------------------------------------------------------------------- /lorem.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/speed1313/cos/HEAD/lorem.txt -------------------------------------------------------------------------------- /memo/10-memory_allocation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/speed1313/cos/HEAD/memo/10-memory_allocation.md -------------------------------------------------------------------------------- /memo/11-process.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/speed1313/cos/HEAD/memo/11-process.md -------------------------------------------------------------------------------- /memo/12-page_table.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/speed1313/cos/HEAD/memo/12-page_table.md -------------------------------------------------------------------------------- /memo/13-application.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/speed1313/cos/HEAD/memo/13-application.md -------------------------------------------------------------------------------- /memo/14-user_mode.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/speed1313/cos/HEAD/memo/14-user_mode.md -------------------------------------------------------------------------------- /memo/15-system_call.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/speed1313/cos/HEAD/memo/15-system_call.md -------------------------------------------------------------------------------- /memo/16-disk_io.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/speed1313/cos/HEAD/memo/16-disk_io.md -------------------------------------------------------------------------------- /memo/17-filesystem.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/speed1313/cos/HEAD/memo/17-filesystem.md -------------------------------------------------------------------------------- /memo/5-boot.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/speed1313/cos/HEAD/memo/5-boot.md -------------------------------------------------------------------------------- /memo/6-hello_world.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/speed1313/cos/HEAD/memo/6-hello_world.md -------------------------------------------------------------------------------- /memo/7-std.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/speed1313/cos/HEAD/memo/7-std.md -------------------------------------------------------------------------------- /memo/8-kernel_panic.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/speed1313/cos/HEAD/memo/8-kernel_panic.md -------------------------------------------------------------------------------- /memo/9-exception.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/speed1313/cos/HEAD/memo/9-exception.md -------------------------------------------------------------------------------- /run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/speed1313/cos/HEAD/run.sh -------------------------------------------------------------------------------- /shell.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/speed1313/cos/HEAD/shell.c -------------------------------------------------------------------------------- /tmp/hello.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/speed1313/cos/HEAD/tmp/hello.txt -------------------------------------------------------------------------------- /tmp/meow.txt: -------------------------------------------------------------------------------- 1 | mewo 2 | -------------------------------------------------------------------------------- /user.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/speed1313/cos/HEAD/user.c -------------------------------------------------------------------------------- /user.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/speed1313/cos/HEAD/user.h -------------------------------------------------------------------------------- /user.ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/speed1313/cos/HEAD/user.ld --------------------------------------------------------------------------------