Skip to content

ArorAnam/Linux-Kernel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NIX Linux Kernel

Some of it's Features

  • Grub and Multiboot bootloader supported.

  • Complete support for 5 entries GDT(null, kernel code, kernel data, user code, user data) on x86.

  • Complete support for 256 entries IDT(32 system interrupts and 16 PIC interrupts) on x86.

  • Complete support for Modern Keyboards input.

  • Complete support for 4096 bytes paging, dynamical memory management with heap.

  • Modern file system(VFS) and initrd is implemented.

  • Useful shell to interact with the system.

Build The Kernel

  • Clean the build files first.

    make clean
  • If using MacOS, install cross-build i386-elf toolchain first.

    brew tap nativeos/i386-elf-toolchain
    brew install i386-elf-binutils i386-elf-gcc
  • Then, simply run Make

    make

Running Kernel in QEMU

qemu-system-x86_64 -kernel kernel

About

x86 based Linux Kernel build from scratch.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors