trios/kernel/interrupt/pic.h

11 lines
190 B
C
Raw Normal View History

2023-04-19 03:44:10 +00:00
#pragma once
#include <stdint.h>
#define PIC_REMAP_OFFSET 0x20
void pic_remap(uint8_t offset);
void pic_mask(int irq);
void pic_unmask(int irq);
void pic_disable();
void pic_eoi(int irq);