diff options
author | Freya Murphy <freya@freyacat.org> | 2024-02-04 14:19:54 -0500 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2024-02-04 14:19:54 -0500 |
commit | 1b09896afcf562d199d4df8d671601bba2b1f081 (patch) | |
tree | b4ee4ae8e6e1ff5c5b27fe97509752b17fae330b /src/arch/amd64/drivers/pic.h | |
parent | fix acpi on uefi, kprint fixes (diff) | |
download | corn-1b09896afcf562d199d4df8d671601bba2b1f081.tar.gz corn-1b09896afcf562d199d4df8d671601bba2b1f081.tar.bz2 corn-1b09896afcf562d199d4df8d671601bba2b1f081.zip |
Diffstat (limited to 'src/arch/amd64/drivers/pic.h')
-rw-r--r-- | src/arch/amd64/drivers/pic.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/arch/amd64/drivers/pic.h b/src/arch/amd64/drivers/pic.h deleted file mode 100644 index 2a4670e..0000000 --- a/src/arch/amd64/drivers/pic.h +++ /dev/null @@ -1,31 +0,0 @@ -#pragma once - -#define PIC_REMAP_OFFSET 0x20 - -/** - * Remaps the pie, i.e. initializes it - */ -void pic_remap(void); - -/** - * Masks an external irq to stop firing until un masked - * @param irq - the irq to mask - */ -void pic_mask(int irq); - -/** - * Unmasks an external irq to allow interrupts to continue for that irq - * @param irq - the irq to unmask - */ -void pic_unmask(int irq); - -/** - * Disabled the pick - */ -void pic_disable(void); - -/** - * Tells the pick that the interrupt has ended - * @param irq - the irq that has ended - */ -void pic_eoi(int irq); |