Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hellebenjamin/lanskern
Minimal kernel made in C
https://github.com/hellebenjamin/lanskern
c kernel x86
Last synced: about 13 hours ago
JSON representation
Minimal kernel made in C
- Host: GitHub
- URL: https://github.com/hellebenjamin/lanskern
- Owner: HelleBenjamin
- License: gpl-3.0
- Created: 2024-09-23T21:02:24.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-01-20T22:45:05.000Z (13 days ago)
- Last Synced: 2025-01-20T23:26:47.599Z (13 days ago)
- Topics: c, kernel, x86
- Language: C
- Homepage:
- Size: 3.1 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Lanskern
Lanskern is a minimal kernel written in C. It's a hobby project. Currently it's in very early development. More features will be added in the future. The kernel comes with a fork of ManuOS.## Requirements
- gcc
- make
- NASM
- Linux based OS
- QEMU
- grub## How to build
1. Type `make` in the terminal. This builds the kernel to an `Lanskern.iso` file and launches it in QEMU.## System calls
- `syswrite32(char *buf, int len)`: Write a string to the screen
- `sysread32(char *buf, int len, int echo)`: Read a string from the screen
- `sysreade32(char *buf, int len, int echo)`: Read a string from the screen until enter is pressed
- `sysrestart32()`: Restart the kernel