chaos 2
1.0.0
ChaOS is an SMP-aware kernel that we are doing as a part of our studies at Epitech.
makegcc or clang (latest version, ideally)grub-mkrescue and libisoburn (usually packed with other binaries as grub)mtoolsdialogqemu (cpu emulator) optionalIf you are using apt-get as your package manager (Debian, Ubuntu etc.), you can use this command to install all dependencies:
apt-get install qemu grub-pc-bin xorriso mtoolsIf you are using pacman as your package manager (ArchLinux, Manjaro etc.), you can use this command:
pacman -S dialog qemu grub libisoburn mtoolsIf you are using portage as your package manager (Gentoo), you can use this command instead:
emerge --ask sys-boot/libisoburn sys-fs/dosfstools sys-fs/mtoolsIf you are using an other package manager, well... Good luck! :p
First, tune as you wish the kernel's configuration with
make configThen, build the kernel:
make kernelTo build a complete iso with grub installed (suitable for USB flash drives or virtual machines), run
make isoIf you want to run ChaOS through QEMU even if it's boring & useless right now, run
make runmmap(), munmap() etc.)kalloc(), kfree(), krealloc())exec())clone(), exec() and exit())opendir(), readdir(), closedir())mkfile(), mkdir(), remove())open(), read(), write(), close())pipe(), dup())stat())echo, ls, rm, mkdir etc.)/proc, /dev)Fork me!