summaryrefslogtreecommitdiff
path: root/sys/inc
diff options
context:
space:
mode:
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 ba3b333..35ba778 100644
--- a/sys/inc/arch/amd64/lapic.h
+++ b/sys/inc/arch/amd64/lapic.h
@@ -91,6 +91,11 @@ struct lapic_ipi {
};
/*
+ * Read the current local APIC id
+ */
+uint32_t lapic_read_id(struct mcb *mcb);
+
+/*
* Send an interprocessor interrupt
*
* Returns zero on success