linux-raw-sys
linux-raw-sys copied to clipboard
Generated bindings for Linux's userspace API
This adds MTD (`mtd/mtd-user.h`) UAPI pieces, useful to manipulate MTD devices from Rust.
@joshtriplett As a followup to #53, I was investigating running the generator script with linux HEAD, but I'm hitting this error: ``` list.c: In function ‘list’: include/linux/ext4.h:47:54: error: invalid application...
Draft for now because the codegen scripts don't work on Alpine Linux.
Hi, in kernel version 6.8, a field was added to the `xdp_umem_reg` struct in `include/uapi/linux/if_xdp.h` ([link](https://github.com/torvalds/linux/blob/master/include/uapi/linux/if_xdp.h#L79-L86)). To back-port this change to the 0.4 branch, I would normally copy the struct...
* Removes back-ported definitions no longer needed since targeting kernel 6.8. * Adds `xdp_umem_reg_v2` since it does not appear in the if_xdp.h file
Adds bindings to drm.h Contains userspace api for interacting with the direct rendering manager infrastructure
Adds binding the image header required to boot on arm64/aarch64 systems. The kernel "make headers_install" does not include the necessary headers when called. I believe this should be reported upstream...
Draft for resolving https://github.com/bytecodealliance/rustix/issues/1055 If the outlined approach is acceptable, I will port the remaining arches and tweak the `gen` crate. I am not sure what to do with x86....
Simple pr that updates the depedencies of the codegen code. - tempdir: The tempdir crate has been deprecated and has not seen any updates in over six years. I have...