Home
last modified time | relevance | path

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

/DragonOS-0.1.8/user/apps/test_signal/
Dmain.c29 void handler(int sig) in handler() function
38 signal(SIGKILL, &handler); in main()
/DragonOS-0.1.8/docs/kernel/boot/
Dmultiboot2.md28   指定的handler。当某个header的tag与该handler所处理的tag相同时,handler将处理该header,并返回true。
/DragonOS-0.1.8/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.8/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.8/kernel/src/driver/video/
Dmod.rs56 let handler = Arc::new(VideoRefreshFramebuffer::new()); in register_softirq_video() localVariable
58 .register_softirq(SoftirqNumber::VideoRefresh, handler) in register_softirq_video()
/DragonOS-0.1.8/kernel/src/exception/
Dirq.c188 int irq_register(ul irq_num, void *arg, void (*handler)(ul irq_num, ul parameter, struct pt_regs *r… in irq_register()
213 p->handler = handler; in irq_register()
241 p->handler = NULL; in irq_unregister()
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…
Dsoftirq.rs130 handler: Arc<dyn SoftirqVec>, in register_softirq()
142 table_guard[softirq_num as usize] = Some(handler); in register_softirq()
/DragonOS-0.1.8/kernel/src/time/
Dsleep.rs42 let handler: Box<WakeUpHelper> = WakeUpHelper::new(current_pcb()); in nanosleep() localVariable
44 handler, in nanosleep()
/DragonOS-0.1.8/kernel/src/driver/pci/
Dpci_irq.c58 p->handler = pci_irq_handler; in c_irq_install()
87 p->handler = NULL; in c_irq_uninstall()
/DragonOS-0.1.8/kernel/src/smp/
Dipi.h38 void (*handler)(uint64_t irq_num, uint64_t param, struct pt_regs *regs),
/DragonOS-0.1.8/kernel/src/driver/interrupt/apic/
Dapic.c419 if (irq != NULL && irq->handler != NULL) in do_IRQ()
420 irq->handler(number, irq->parameter, rsp); in do_IRQ()
435 if (irq->handler != NULL) in do_IRQ()
436 irq->handler(number, irq->parameter, rsp); in do_IRQ()
444 if (irq != NULL && irq->handler != NULL) in do_IRQ()
445 irq->handler(number, irq->parameter, rsp); in do_IRQ()
/DragonOS-0.1.8/docs/kernel/ipc/
Dsignal.md64 │ sig handler │ └────────────┘ │ frame. │
/DragonOS-0.1.8/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.8/user/libs/libc/src/include/export/
Dsignal.h96 int signal(int signum, __sighandler_t handler);
/DragonOS-0.1.8/docs/kernel/core_api/
Dsoftirq.md42 handler: Arc<dyn SoftirqVec>,
/DragonOS-0.1.8/kernel/src/ipc/
Dsignal.rs340 let handler = unsafe { in sig_fatal() localVariable
347 if handler == NULL.into() { in sig_fatal()
619 (*frame).handler = ka._u._sa_handler as usize as *mut c_void; in setup_frame()
Dsignal_types.rs641 pub handler: *mut c_void, field