├── .github └── workflows │ └── Build example.yml ├── .gitignore ├── LICENSE ├── Makefile ├── README.md ├── arch ├── Makefile └── x86_64 │ ├── arch_configurations.hpp │ ├── arch_configurations.ld │ ├── build_kernel.mk │ ├── include │ └── architecture_limit.hpp │ ├── linker.ld │ └── src │ ├── debugout_0xb8000.cpp │ └── entry.asm ├── configurations.mk ├── docs ├── ARCHITECTURE.md ├── CONTRIBUTING.md ├── Compile Process.md ├── framework │ └── Debug System.md └── img │ ├── Architecture.png │ ├── GitBranch.png │ └── Logo.png ├── examples └── x86_64 │ └── HelloWorld │ └── main.cpp ├── framework.mk ├── global_variables.mk ├── kernel ├── Makefile ├── include │ ├── configuration.hpp │ ├── fosd │ │ ├── debug.hpp │ │ └── types.hpp │ └── string.hpp └── src │ ├── debug.cpp │ ├── kernel_init.cpp │ └── string │ ├── string.cpp │ └── vsprintf.cpp └── loader ├── build_common.mk └── x86_64 └── img ├── Makefile ├── bootloader.asm ├── imgmaker ├── imgmaker.c ├── include ├── basicstring.h └── intel_paging.h ├── linker.ld └── src ├── basicstring.c ├── entry.asm ├── intel_paging.c ├── longmode.asm └── main.c /.github/workflows/Build example.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fosd-project/FOSD/HEAD/.github/workflows/Build example.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | test_*.cpp 2 | *.obj 3 | bin/ 4 | OS.* 5 | *.code-workspace 6 | debug.log -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fosd-project/FOSD/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fosd-project/FOSD/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fosd-project/FOSD/HEAD/README.md -------------------------------------------------------------------------------- /arch/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fosd-project/FOSD/HEAD/arch/Makefile -------------------------------------------------------------------------------- /arch/x86_64/arch_configurations.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fosd-project/FOSD/HEAD/arch/x86_64/arch_configurations.hpp -------------------------------------------------------------------------------- /arch/x86_64/arch_configurations.ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fosd-project/FOSD/HEAD/arch/x86_64/arch_configurations.ld -------------------------------------------------------------------------------- /arch/x86_64/build_kernel.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fosd-project/FOSD/HEAD/arch/x86_64/build_kernel.mk -------------------------------------------------------------------------------- /arch/x86_64/include/architecture_limit.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fosd-project/FOSD/HEAD/arch/x86_64/include/architecture_limit.hpp -------------------------------------------------------------------------------- /arch/x86_64/linker.ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fosd-project/FOSD/HEAD/arch/x86_64/linker.ld -------------------------------------------------------------------------------- /arch/x86_64/src/debugout_0xb8000.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fosd-project/FOSD/HEAD/arch/x86_64/src/debugout_0xb8000.cpp -------------------------------------------------------------------------------- /arch/x86_64/src/entry.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fosd-project/FOSD/HEAD/arch/x86_64/src/entry.asm -------------------------------------------------------------------------------- /configurations.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fosd-project/FOSD/HEAD/configurations.mk -------------------------------------------------------------------------------- /docs/ARCHITECTURE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fosd-project/FOSD/HEAD/docs/ARCHITECTURE.md -------------------------------------------------------------------------------- /docs/CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fosd-project/FOSD/HEAD/docs/CONTRIBUTING.md -------------------------------------------------------------------------------- /docs/Compile Process.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fosd-project/FOSD/HEAD/docs/Compile Process.md -------------------------------------------------------------------------------- /docs/framework/Debug System.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fosd-project/FOSD/HEAD/docs/framework/Debug System.md -------------------------------------------------------------------------------- /docs/img/Architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fosd-project/FOSD/HEAD/docs/img/Architecture.png -------------------------------------------------------------------------------- /docs/img/GitBranch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fosd-project/FOSD/HEAD/docs/img/GitBranch.png -------------------------------------------------------------------------------- /docs/img/Logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fosd-project/FOSD/HEAD/docs/img/Logo.png -------------------------------------------------------------------------------- /examples/x86_64/HelloWorld/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fosd-project/FOSD/HEAD/examples/x86_64/HelloWorld/main.cpp -------------------------------------------------------------------------------- /framework.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fosd-project/FOSD/HEAD/framework.mk -------------------------------------------------------------------------------- /global_variables.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fosd-project/FOSD/HEAD/global_variables.mk -------------------------------------------------------------------------------- /kernel/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fosd-project/FOSD/HEAD/kernel/Makefile -------------------------------------------------------------------------------- /kernel/include/configuration.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fosd-project/FOSD/HEAD/kernel/include/configuration.hpp -------------------------------------------------------------------------------- /kernel/include/fosd/debug.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fosd-project/FOSD/HEAD/kernel/include/fosd/debug.hpp -------------------------------------------------------------------------------- /kernel/include/fosd/types.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fosd-project/FOSD/HEAD/kernel/include/fosd/types.hpp -------------------------------------------------------------------------------- /kernel/include/string.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fosd-project/FOSD/HEAD/kernel/include/string.hpp -------------------------------------------------------------------------------- /kernel/src/debug.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fosd-project/FOSD/HEAD/kernel/src/debug.cpp -------------------------------------------------------------------------------- /kernel/src/kernel_init.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fosd-project/FOSD/HEAD/kernel/src/kernel_init.cpp -------------------------------------------------------------------------------- /kernel/src/string/string.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fosd-project/FOSD/HEAD/kernel/src/string/string.cpp -------------------------------------------------------------------------------- /kernel/src/string/vsprintf.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fosd-project/FOSD/HEAD/kernel/src/string/vsprintf.cpp -------------------------------------------------------------------------------- /loader/build_common.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fosd-project/FOSD/HEAD/loader/build_common.mk -------------------------------------------------------------------------------- /loader/x86_64/img/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fosd-project/FOSD/HEAD/loader/x86_64/img/Makefile -------------------------------------------------------------------------------- /loader/x86_64/img/bootloader.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fosd-project/FOSD/HEAD/loader/x86_64/img/bootloader.asm -------------------------------------------------------------------------------- /loader/x86_64/img/imgmaker: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fosd-project/FOSD/HEAD/loader/x86_64/img/imgmaker -------------------------------------------------------------------------------- /loader/x86_64/img/imgmaker.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fosd-project/FOSD/HEAD/loader/x86_64/img/imgmaker.c -------------------------------------------------------------------------------- /loader/x86_64/img/include/basicstring.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fosd-project/FOSD/HEAD/loader/x86_64/img/include/basicstring.h -------------------------------------------------------------------------------- /loader/x86_64/img/include/intel_paging.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fosd-project/FOSD/HEAD/loader/x86_64/img/include/intel_paging.h -------------------------------------------------------------------------------- /loader/x86_64/img/linker.ld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fosd-project/FOSD/HEAD/loader/x86_64/img/linker.ld -------------------------------------------------------------------------------- /loader/x86_64/img/src/basicstring.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fosd-project/FOSD/HEAD/loader/x86_64/img/src/basicstring.c -------------------------------------------------------------------------------- /loader/x86_64/img/src/entry.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fosd-project/FOSD/HEAD/loader/x86_64/img/src/entry.asm -------------------------------------------------------------------------------- /loader/x86_64/img/src/intel_paging.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fosd-project/FOSD/HEAD/loader/x86_64/img/src/intel_paging.c -------------------------------------------------------------------------------- /loader/x86_64/img/src/longmode.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fosd-project/FOSD/HEAD/loader/x86_64/img/src/longmode.asm -------------------------------------------------------------------------------- /loader/x86_64/img/src/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fosd-project/FOSD/HEAD/loader/x86_64/img/src/main.c --------------------------------------------------------------------------------