bond is a hobby x86-64 kernel
Go to file
2018-10-02 16:11:32 -04:00
common Finally compiles after refactoring.. 2018-10-02 02:43:30 -04:00
hal Finally compiles after refactoring.. 2018-10-02 02:43:30 -04:00
inc Finally compiles after refactoring.. 2018-10-02 02:43:30 -04:00
kernel Finally compiles after refactoring.. 2018-10-02 02:43:30 -04:00
mk Finally compiles after refactoring.. 2018-10-02 02:43:30 -04:00
test Finally compiles after refactoring.. 2018-10-02 02:43:30 -04:00
.gitattributes line ending.... 2018-01-26 11:17:58 -05:00
.gitignore - Got rid of bogus callback_func 2018-03-29 06:00:22 -04:00
CMakeLists.txt Finally compiles after refactoring.. 2018-10-02 02:43:30 -04:00
dbgq change qemu options 2018-10-02 16:11:32 -04:00
LICENSE Non-recursive make + compiled + set up QEMU + GDB. 2018-02-07 00:42:59 -05:00
Makefile Finally compiles after refactoring.. 2018-10-02 02:43:30 -04:00
qemu_bios.bin Finally compiles after refactoring.. 2018-10-02 02:43:30 -04:00
README.md Finally compiles after refactoring.. 2018-10-02 02:43:30 -04:00
Rules.top Finally compiles after refactoring.. 2018-10-02 02:43:30 -04:00
runq.sh change qemu options 2018-10-02 16:11:32 -04:00

Building

Environment

All platforms where the required packages are available.

Required packages

For compiling kernel only (make compile):

nasm, clang, lld, llvm

To make bootable ISO (make all):

xorriso; grub-pc-bin for bios; grub-efi-amd64-bin, mtools for UEFI.

Compiling

Run "make all" or "make compile" in the root directory.

This will generate secxkrnl.elf, secxkrnl.dmp, (and secxkrnl.iso) in "out" folder

Run "make clean" to clean a build.

Running

Load the iso with your favorite simulator or use "-kernel" option with QEMU.

For UEFI simulation, use qemu_bios.bin in the root dir with QEMU.