Skip to content

deyzi-the-youtuber/lunaris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lunaris

The light of the moon

image image

What is Lunaris?
Lunaris is a UNIX-like kernel that is written completely in C.
Lunaris takes inspiration from Linux, and the Fiwix kernel.

Lunaris might just be the new Linux 👀 (if it weren't so unstable)

Features

Current features for v0.1 are

  • x86 support
  • IDE support
  • PCI device support
  • TTY support
  • Basic VGA text mode support
  • VFS support
  • Ext2 support
  • Devfs psuedo-filesystem support
  • Memory allocation
  • Kernel stack tracing
  • Paging support
  • Multitasking
  • System call support
  • ACPI 2.0 Support
  • ELF support

Compiling the Lunaris kernel

To compile the Lunaris kernel, you need to install the following:

  • Unix-like system / environment
  • Binutils
  • NASM
  • GCC
  • grub-mkrescue (needed for creating ISO image)

After installing, run 'make', and the kernel image will be built.
To get kernel symbols working, go into any file of the C source files, make a small change, then revert the change, and recompile.
This should allow kernel symbols to be used in the kernel.

How to run Lunaris

To emulate Lunaris, run 'make grub' to update the disk with the compiled kernel. After, run 'make qemu'.

Compiling the user-space binaries

To compile the user-space binaries, go to /user/libc, and run 'make'.

Licensing

Lunaris is licensed under the GNU General Public License version 2. For more information, see LICENSE.