Skip to content

Third Kernel from Scratch project. Learn how to manage the memory in you kernel.

Notifications You must be signed in to change notification settings

rbourgeat/kfs-3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kfs-3

kfs-2 👈🏻 kfs-3

Third Kernel from Scratch project. Learn how to manage the memory in you kernel.

Assembly code is in Intel syntax not in AT&T syntax.

Mandatory part

  • You must enable memory paging in your Kernel

  • You must code a memory structure that handle paging and memory rights

  • You must define Kernel and User space

  • You must implement a function to create / get memory pages

  • You must implement functions to allocate, free and get size of a variable.

  • You must implement those functions for virtual and physical memory

  • You must handle "kernel panics" (Print, stop the kernel)

🐧 Linux and 🍏 Mac

📖 Kernel Bible

https://wiki.osdev.org/Main_Page

💾 Paging

https://wiki.osdev.org/Setting_Up_Paging https://wiki.osdev.org/Paging https://wiki.osdev.org/Writing_A_Page_Frame_Allocator

📚 Good Tutorial

https://samypesse.gitbook.io/how-to-create-an-operating-system

About

Third Kernel from Scratch project. Learn how to manage the memory in you kernel.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published