MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / rt_hw_interrupt_umask

Function rt_hw_interrupt_umask

libcpu/ia32/interrupt.c:93–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93void rt_hw_interrupt_umask(int vector)
94{
95 irq_mask_8259A = irq_mask_8259A&~(1<<vector);
96 outb(IO_PIC1+1, (char)irq_mask_8259A);
97 outb(IO_PIC2+1, (char)(irq_mask_8259A >> 8));
98}
99
100void rt_hw_interrupt_mask(int vector)
101{

Callers

nothing calls this directly

Calls 1

outbFunction · 0.85

Tested by

no test coverage detected