Mic92 / Zig.ko
Licence: gpl-2.0
Linux kernel module written in Zig
Stars: ✭ 39
Labels
Projects that are alternatives of or similar to Zig.ko
Coreos Nvidia
Yet another NVIDIA driver container for Container Linux (aka CoreOS)
Stars: ✭ 36 (-7.69%)
Mutual labels: makefile
Docker Unix 1st Ed
A Docker image that drops you into 1st Edition Unix
Stars: ✭ 37 (-5.13%)
Mutual labels: makefile
Docker Bitcoin Regtest
A way to experiment with Bitcoin.
Stars: ✭ 35 (-10.26%)
Mutual labels: makefile
Avian Pack
Avian all-inclusive. Everything needed to build Avian with (or without) Android classpath.
Stars: ✭ 36 (-7.69%)
Mutual labels: makefile
Acris Download
Download NYC real estate transaction data and drop it in a database
Stars: ✭ 38 (-2.56%)
Mutual labels: makefile
Rust Ffi Stringtools
A collection of examples how to use Rust libraries from other languages.
Stars: ✭ 34 (-12.82%)
Mutual labels: makefile
I2c Slave Lib
I2C slave library for AVR 8 bit mircocontrollers
Stars: ✭ 36 (-7.69%)
Mutual labels: makefile
Ananas
This is an Arduino based program for step motor controller,Ananas.
Stars: ✭ 38 (-2.56%)
Mutual labels: makefile
The Ooc Language
📘 The definitive manual on the ooc programming language
Stars: ✭ 38 (-2.56%)
Mutual labels: makefile
Linux kernel module written in Zig
This is a proof-of-concept on how to integrate zig into Linux kernel modules.
USAGE
This assumes that you kernel headers installed.
In Debian based systems can be done using apt-get install linux-headers-$(uname -r)
.
$ make
$ sudo insmod ./zig.ko
$ sudo rmmod zig
$ dmesg | grep 'kernel!'
[41188.642871] Hello kernel!
[41190.975214] Goodbye kernel!
If your Linux distribution does not install kernel headers to
/lib/modules/*/build
, you can also set the KERNELDIR
environment variable:
make KERNELDIR=/path/to/headers/build
On NixOS spawn a nix-shell from the project root:
nix-shell --command "make"
You might need to replace the Linux package in default.nix
with the package matching your
loaded kernel.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].