Skip to content

p1k0chu/kernel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kernel

this is my kernel written from nothing for learning purposes.
its x86_64 assembly.

it contains first and second stage bootloader and a kernel,
second entering long mode and loading the kernel at 1 MB in ram

second boot loader is 32 bit nasm + C
the kernel is x86_64 NASM + C

Build

Install clang compiler and lld (llvm linker)

and you can just run make to get a boot.bin raw binary!

if you have qemu-system installed, you can run it with make run

works on my machine btw.

License

This project is licensed under MIT license
Copyright (c) 2025 p1k0chu

About

my hand written kernel for learning purposes only!!!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published