summaryrefslogtreecommitdiffstats
path: root/sys/amd64/amd64/apic_vector.S
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2010-03-29 19:13:34 +0000
committerjhb <jhb@FreeBSD.org>2010-03-29 19:13:34 +0000
commitf3f4fff664d11e6372ad59b8fc307ab0244a8f71 (patch)
tree6f6f6806b0f1caeb147f69e12a3fa672cec7b4b5 /sys/amd64/amd64/apic_vector.S
parent78907598c04661c36428e3f5b02ee6a80af4aac5 (diff)
downloadFreeBSD-src-f3f4fff664d11e6372ad59b8fc307ab0244a8f71.zip
FreeBSD-src-f3f4fff664d11e6372ad59b8fc307ab0244a8f71.tar.gz
Add a handler for the local APIC error interrupt. For now it just prints
out the current value of the local APIC error register when the interrupt fires. MFC after: 1 week
Diffstat (limited to 'sys/amd64/amd64/apic_vector.S')
-rw-r--r--sys/amd64/amd64/apic_vector.S12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys/amd64/amd64/apic_vector.S b/sys/amd64/amd64/apic_vector.S
index cebafc8..df94a47 100644
--- a/sys/amd64/amd64/apic_vector.S
+++ b/sys/amd64/amd64/apic_vector.S
@@ -104,6 +104,18 @@ IDTVEC(timerint)
MEXITCOUNT
jmp doreti
+/*
+ * Local APIC error interrupt handler.
+ */
+ .text
+ SUPERALIGN_TEXT
+IDTVEC(errorint)
+ PUSH_FRAME
+ FAKE_MCOUNT(TF_RIP(%rsp))
+ call lapic_handle_error
+ MEXITCOUNT
+ jmp doreti
+
#ifdef SMP
/*
* Global address space TLB shootdown.
OpenPOWER on IntegriCloud