mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-30 10:33:27 +00:00
signal的发送(暂时父子进程之间共享信号及相应的结构体) (#89)
* 解决由于spinlock.h中包含preempt_enable()带来的循环include问题 * new: 初步实现signal的数据结构 * new:signal相关数据结构 * fix: 解决bindings.rs报一堆警告的问题 * new: rust下的kdebug kinfo kwarn kBUG kerror宏 * 移动asm.h和cmpxchg.h * new: signal的发送(暂时只支持父子进程共享信号及处理函数)
This commit is contained in:
@ -13,11 +13,8 @@
|
||||
#include <common/compiler.h>
|
||||
#include <common/list.h>
|
||||
|
||||
#if ARCH(I386) || ARCH(X86_64)
|
||||
#include <arch/x86_64/asm/asm.h>
|
||||
#else
|
||||
#error Arch not supported.
|
||||
#endif
|
||||
|
||||
#include <asm/asm.h>
|
||||
|
||||
/**
|
||||
* @brief 根据结构体变量内某个成员变量member的基地址,计算出该结构体变量的基地址
|
||||
|
@ -1,11 +1,7 @@
|
||||
#pragma once
|
||||
#include <common/stddef.h>
|
||||
|
||||
#if ARCH(I386) || ARCH(X86_64)
|
||||
#include <arch/x86_64/asm/asm.h>
|
||||
#else
|
||||
#error Arch not supported.
|
||||
#endif
|
||||
#include <asm/asm.h>
|
||||
|
||||
//链表数据结构
|
||||
struct List
|
||||
|
Reference in New Issue
Block a user