summaryrefslogtreecommitdiff
path: root/sys/inc
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-11-19 21:24:42 -0500
committerIan Moffett <ian@osmora.org>2025-11-19 22:37:02 -0500
commita7e738f1c7d7a0eb183bc25db2e1a573706bb565 (patch)
treeab15082cf1fc84cde9d5e76e5ee669cae2f7d8b6 /sys/inc
parentd6d40e9ecf2aff5b1e265d26f7651e8633eddabd (diff)
kern/amd64: lapic: Add EOI function
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/inc')
-rw-r--r--sys/inc/arch/amd64/lapic.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/inc/arch/amd64/lapic.h b/sys/inc/arch/amd64/lapic.h
index d22a560..bc72717 100644
--- a/sys/inc/arch/amd64/lapic.h
+++ b/sys/inc/arch/amd64/lapic.h
@@ -98,6 +98,11 @@ struct lapic_ipi {
void lapic_oneshot_usec(struct mcb *mcb, size_t usec);
/*
+ * Send an end-of-interrupt
+ */
+void lapic_eoi(struct mcb *mcb);
+
+/*
* Read the current local APIC id
*/
uint32_t lapic_read_id(struct mcb *mcb);