Skip to content

Implementation of a microkernel in C. Interruptions, heap and tools

Notifications You must be signed in to change notification settings

mpivet-p/Kernel-From-Scratch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository contains the source code and build instructions for a simple operating system kernel built from scratch. The goal of this project for me was to get an experience in OS development by creating a minimal yet functional kernel.

Introduction

KFS is a minimalist kernel written in C and Assembly, designed to run on x86 architecture. It includes basic functionality such as a simple shell, memory management, and interrupt handling.

Features

  • Multiboot compliant kernel
  • Global Descriptor Table (GDT) setup
  • Interrupt Descriptor Table (IDT) setup
  • Basic IRQ handling
  • Simple physical and virtual memory management
  • Basic shell interface
  • Demonstration programs

Building the Kernel

To build this KFS kernel, ensure you have the required tools installed:

nasm i686-elf-gcc (cross compiler) grub-mkrescue qemu (virtualization software to run the kernel)

About

Implementation of a microkernel in C. Interruptions, heap and tools

Topics

Resources

Stars

Watchers

Forks