mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-18 08:06:32 +00:00
signal相关数据结构&代码结构优化 (#84)
* 解决由于spinlock.h中包含preempt_enable()带来的循环include问题 * new: 初步实现signal的数据结构
This commit is contained in:
@ -20,6 +20,8 @@ fn main() {
|
||||
{
|
||||
let bindings = bindgen::Builder::default()
|
||||
.clang_arg("-I./src")
|
||||
.clang_arg("-I./src/include")
|
||||
.clang_arg("-I./src/arch/x86_64/include") // todo: 当引入多种架构之后,需要修改这里,对于不同的架构编译时,include不同的路径
|
||||
// The input header we would like to generate
|
||||
// bindings for.
|
||||
.header("src/include/bindings/wrapper.h")
|
||||
|
Reference in New Issue
Block a user