Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

uACPI/zuacpi

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zuacpi

zuacpi is bindings for uACPI, adopted from imaginarium under the terms specified here

To use zuacpi, add it to your build.zig.zon manually or use zig fetch:

zig fetch --add=zuacpi git+https://github.com/uACPI/zuacpi#master

And add its module to your build.zig:

const zuacpi = b.dependency("zuacpi", .{
    .uacpi_log_level = .info, 
    .override_arch_helpers = false,
});

const zuacpi_module = zuacpi.module("zuacpi");

zuacpi_module.addIncludePath(my_freestanding_c_headers_dir);
// uncomment if override_arch_helpers is true:
// zuacpi_module.addIncludePath(my_uacpi_arch_headers_dir);

kernel.addImport("zuacpi", zuacpi_module);

Note that this is a work in progress and a number of uACPI functions are not yet bouund in zuacpi - feel free to open a pull request if a function you need is missing!

About

zig uACPI bindings

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.