bond is a hobby x86-64 kernel
Go to file
2019-06-26 01:54:40 -04:00
arch merge 2019-06-26 01:54:40 -04:00
inc merge 2019-06-26 01:54:40 -04:00
kern compiling 2019-06-26 01:47:18 -04:00
mk compiling 2019-06-26 01:47:18 -04:00
mm cmt 2018-12-19 08:33:23 +08:00
scripts compiling 2019-06-26 01:47:18 -04:00
test working 2018-12-16 18:52:33 -05: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 compiling 2019-06-26 01:47:18 -04:00
LICENSE Non-recursive make + compiled + set up QEMU + GDB. 2018-02-07 00:42:59 -05:00
README.md Finally compiles after refactoring.. 2018-10-02 02:43:30 -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.