Home
last modified time | relevance | path

Searched refs:handler (Results 1 – 14 of 14) sorted by relevance

/DragonOS-0.1.5/user/apps/test_signal/
Dmain.c29 void handler(int sig) in handler() function
38 signal(SIGKILL, &handler); in main()
/DragonOS-0.1.5/docs/kernel/boot/
Dmultiboot2.md28   指定的handler。当某个header的tag与该handler所处理的tag相同时,handler将处理该header,并返回true。
/DragonOS-0.1.5/kernel/src/arch/x86_64/
Dx86_64_ipi.c39 void (*handler)(uint64_t irq_num, uint64_t param, struct pt_regs *regs), in ipi_regiserIPI()
47 p->handler = handler; in ipi_regiserIPI()
Dx86_64_ipi.h44 void (*handler)(uint64_t irq_num, uint64_t param, struct pt_regs *regs),
/DragonOS-0.1.5/user/libs/libc/src/
Dsignal.c22 int signal(int signum, __sighandler_t handler) in signal() argument
25 sa.sa_handler = handler; in signal()
/DragonOS-0.1.5/kernel/src/exception/
Dirq.h133 void (*handler)(ul irq_num, ul parameter, struct pt_regs *regs); member
157 int irq_register(ul irq_num, void *arg, void (*handler)(ul irq_num, ul parameter, struct pt_regs *r…
Dirq.c152 int irq_register(ul irq_num, void *arg, void (*handler)(ul irq_num, ul parameter, struct pt_regs *r… in irq_register()
177 p->handler = handler; in irq_register()
205 p->handler = NULL; in irq_unregister()
/DragonOS-0.1.5/kernel/src/smp/
Dipi.h38 void (*handler)(uint64_t irq_num, uint64_t param, struct pt_regs *regs),
/DragonOS-0.1.5/kernel/src/driver/interrupt/apic/
Dapic.c414 if (irq != NULL && irq->handler != NULL) in do_IRQ()
415 irq->handler(number, irq->parameter, rsp); in do_IRQ()
430 if (irq->handler != NULL) in do_IRQ()
431 irq->handler(number, irq->parameter, rsp); in do_IRQ()
439 if (irq != NULL && irq->handler != NULL) in do_IRQ()
440 irq->handler(number, irq->parameter, rsp); in do_IRQ()
/DragonOS-0.1.5/docs/kernel/ipc/
Dsignal.md64 │ sig handler │ └────────────┘ │ frame. │
/DragonOS-0.1.5/docs/community/ChangeLog/V0.1.x/
DV0.1.2.md34 - Signal: 允许用户注册信号处理函数,能够进入自定义的handler。(#112)
39 …- 暂时只支持旧版的sighandler,即:只有1个参数的`void handler(int signum)`类型的信号处理函数。对于另一种信号处理函数`void handler(int sig…
144 * new: 用户注册信号处理函数,能够进入自定义的handler
/DragonOS-0.1.5/user/libs/libc/src/include/export/
Dsignal.h96 int signal(int signum, __sighandler_t handler);
/DragonOS-0.1.5/kernel/src/ipc/
Dsignal.rs379 let handler = unsafe { in sig_fatal() localVariable
386 if handler == NULL.into() { in sig_fatal()
658 (*frame).handler = ka._u._sa_handler as usize as *mut c_void; in setup_frame()
Dsignal_types.rs640 pub handler: *mut c_void, field