diff options
author | Freya Murphy <freya@freyacat.org> | 2024-02-03 00:50:07 -0500 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2024-02-03 00:53:58 -0500 |
commit | 90a6065691beee52bf5309916fba98f7580d27be (patch) | |
tree | 0b5375d20c189f62d394c473d371f7bf7f1d3fc5 /src/arch/amd64/pic.h | |
parent | improved debugger, refactored (diff) | |
download | corn-90a6065691beee52bf5309916fba98f7580d27be.tar.gz corn-90a6065691beee52bf5309916fba98f7580d27be.tar.bz2 corn-90a6065691beee52bf5309916fba98f7580d27be.zip |
refactor, new arch dirs, (wip) page alloc on write, hsv screen (convert to userspace later), other fixes
Diffstat (limited to 'src/arch/amd64/pic.h')
-rw-r--r-- | src/arch/amd64/pic.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/arch/amd64/pic.h b/src/arch/amd64/pic.h deleted file mode 100644 index 2a4670e..0000000 --- a/src/arch/amd64/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); |