Skip to content
/ vsys Public

Kernel modules in C++ with CMake: cross-platform system level development library for Linux/Windows/MacOS

Notifications You must be signed in to change notification settings

Maximly/vsys

Repository files navigation

vsys: kernel modules in C++ with CMake

Cross-platform kernel module/driver development in C++/CMake

  • Linux kernel C++ support is being implemented. Ubuntu/Debian/Raspbian arm64 is supported already!
  • Mac/Windows kernel is next.

What's done so far:

  • User mode modules are built and run under Linux/Mac/Windows (could be broken from time to time while kernel stuff is added).
  • Linux kernel headers are patched automatically to be included from C++ sources (tested on Ubuntu/Raspberry arm64, x86 does not work yet - simply because I prefer arm but I promise to support x86 as well).
  • Linux kernel modules can now build and link correctly under Ubuntu arm64.
  • Linux kernel modules can now load/unload correctly under Ubuntu arm64. image
  • Kernel modules can now load/unload correctly under Raspbian linux arm64 (tested on Raspberry Pi 4).
  • Ctor/Dtor support is completed! Tested on Ubuntu arm64 image

Currently working on:

  • Make it working under x86/x64

Next steps:

  • Add Win kernel support before moving further? Your ideas/requests are welcome!