trios/kernel/interrupt/pic.h

11 lines
194 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);
2023-04-21 13:39:35 +00:00
void pic_disable(void);
2023-04-19 03:44:10 +00:00
void pic_eoi(int irq);