Skip to content

lezione-os/lezione

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lezione

Code for the first lesson in lezione-os OSDev tutorial series.

Building

Install python3, fuse, rsync, qemu-system-x86_64 and build-essential packages.

Install xbstrap from pip: pip3 install xbstrap.

Run make build-release/make build-debug in root directory to build release image (OS image with kernel built in release mode) and image for debugging respectively.

Run make run-release to run release image in QEMU

Run make run-debug to run debug image in QEMU. QEMU will wait for debugger to be attached. Run make gdb-attach in a separate terminal to start GDB and attach it to QEMU. Now you can debug lezione kernel!

Releases

No releases published

Packages

No packages published