Skip to content

phodina/witcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Witcher

Attempt to write x86 kernel in C++ based on vlog Write your own Operating System.

Aim of this project is to learn from first hand how kernel works in order to build a microkernel in Rust for other architectures.

How to build

To build the mykernel.bin file you need gcc (i386).

make

How to run

To run the kernel you can use QEMU.

make qemu

How to debug

To debug the kernel simply type:

make debug

This will launch and halt kernel image in the QEMU until gdb connects to the localhost:1234 target. It also sets temporary breakpoint to kernelMain as the entry point to the kernel and runs to this breakpoint.

Progress

  • Hello world
  • Memory management (GDT)
  • Ports
  • Interrupts
  • Keyboard
  • Mouse
  • PCIe

About

Kernel for x86 written in C++

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published