aboutsummaryrefslogtreecommitdiff
path: root/sys/include/arch/amd64/lapicvar.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/include/arch/amd64/lapicvar.h')
-rw-r--r--sys/include/arch/amd64/lapicvar.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/include/arch/amd64/lapicvar.h b/sys/include/arch/amd64/lapicvar.h
index 6c2c37f..2ad1a09 100644
--- a/sys/include/arch/amd64/lapicvar.h
+++ b/sys/include/arch/amd64/lapicvar.h
@@ -91,4 +91,10 @@
/* LVT bits */
#define LAPIC_LVT_MASK __BIT(16)
+/* Possible error bits within ESR */
+#define ESR_REDIR_IPI __BIT(4) /* Redirectible IPI */
+#define ESR_SIV __BIT(5) /* Send Illegal Vector */
+#define ESR_RIV __BIT(6) /* Received Illegal Vector */
+#define ESR_IRA __BIT(7) /* Illegal Register Address */
+
#endif /* !_AMD64_LAPICVAR_H_ */