Skip to content

Userspace Kernel/cooperative task switcher for UNIX

Notifications You must be signed in to change notification settings

realchonk/ukern

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project implements a "kernel" in user-space.
The kernel currently only implements preemptive multi-tasking,
but without using the operating system's threads/processes.
Meaning, all tasks run concurrently on the thread/process that ran `task_start()`.

To build this project, you first have to install *bmk* from https://github.com/realchonk/bmk

# Supported CPU Architectures
Currently only amd64 is supported.
For new architectures, the `ctx_{enter,switch,new}` functions in `sys/ctx_${ARCH}.c` have to be rewritten.

# Supported Operating Systems
In theory this project should be able to run on any Unix-like operating system,
but only OpenBSD and Linux have been tested so far.

About

Userspace Kernel/cooperative task switcher for UNIX

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages