|
LumaOS
v0.1.116
An experimental x86-64 OS
|
Handles the legacy PIC for IRQ interrupts. More...
#include <stdint.h>#include <arch/x86_64/pic.h>#include <arch/x86_64/io.h>#include "kernel/log.h"Go to the source code of this file.
Functions | |
| void | pic_remap (uint8_t master_offset, uint8_t slave_offset) |
| Initializes the PIC using ICWs and mask all lines. | |
| void | pic_set_mask (uint8_t irq) |
| Masks (Disables) a line. | |
| void | pic_clear_mask (uint8_t irq) |
| Unmasks (Enables) a line. | |
| void | pic_send_eoi (uint8_t irq) |
| Sends an EOI to tell the PIC that the interrupt is over. | |
Variables | |
| static uint8_t | master_mask |
| static uint8_t | slave_mask |
Handles the legacy PIC for IRQ interrupts.
Definition in file pic.c.
| void pic_clear_mask | ( | uint8_t | irq | ) |
| void pic_remap | ( | uint8_t | master_offset, |
| uint8_t | slave_offset ) |
| void pic_send_eoi | ( | uint8_t | irq | ) |
| void pic_set_mask | ( | uint8_t | irq | ) |