A hobby x86_64 OS
Go to file
Valentin Anger ea32228161 Several fixes, changes and improvements
"Improved" physical memory management, now using a linked list
Split initialization (start) and main kernel function apart
Make the logging target runtime changeable
Add a lock to log to stop parallel access
Remove the distiction of Virtual and Physical pointers, it is too
cumbersome to use
Make kernel debug information accessible
Add panic backtraces
Allow the display of an image on panic
2020-01-29 20:16:31 +01:00
src Several fixes, changes and improvements 2020-01-29 20:16:31 +01:00
.envrc Initial commit 2020-01-10 12:24:51 +01:00
.gitignore Initial commit 2020-01-10 12:24:51 +01:00
LICENSE Initial commit 2020-01-10 12:24:51 +01:00
README Initial commit 2020-01-10 12:24:51 +01:00
build.zig Update enum value to upstreamed version 2020-01-29 19:34:14 +01:00
linker.ld Link all sections into one 2020-01-29 19:45:46 +01:00
mkdisk.sh Only partition and format the disk image when it didn't already exists 2020-01-10 20:05:25 +01:00
mkinitrd.sh Several fixes, changes and improvements 2020-01-29 20:16:31 +01:00
run.sh Several fixes, changes and improvements 2020-01-29 20:16:31 +01:00
shell.nix Initial commit 2020-01-10 12:24:51 +01:00

README

# Build

Pick a psf1 font and run the following command.
NOTE The input filename matters.

$ ld -r -b binary -o font.o font.psf

Put `font.o` into third_party/

Clone https://gitlab.com/bztsrc/bootboot.git into third_party/bootboot/

$ zig build
$ ./mkdisk.sh


# Running on hardware

Copy disk.img onto a usb drive


# Running in qemu

$ ./run.sh (uefi)

# With existing bootboot compatible bootloader

The initrd can be generated with

$ ./mkinitrd.sh