summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/apicreg.h
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2003-07-23 18:59:38 +0000
committerjhb <jhb@FreeBSD.org>2003-07-23 18:59:38 +0000
commit1ab48551b3699374e93b8f727bf39421c0d1c294 (patch)
tree85a308169dcfff4163e126e505354143e586fe70 /sys/amd64/include/apicreg.h
parent5116362d0f6aa837d6c352524103bd0f10a379d3 (diff)
downloadFreeBSD-src-1ab48551b3699374e93b8f727bf39421c0d1c294.zip
FreeBSD-src-1ab48551b3699374e93b8f727bf39421c0d1c294.tar.gz
Add a new macro APIC_ICRLO_RESV_MASK that contains all of the reserved
fields in the low 32 bits of the local APIC ICR register. Use this macro in place of APIC_RESV2_MASK when masking off existing bits from the ICR when writing to it to send an IPI. Tested by: scottl
Diffstat (limited to 'sys/amd64/include/apicreg.h')
-rw-r--r--sys/amd64/include/apicreg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/amd64/include/apicreg.h b/sys/amd64/include/apicreg.h
index c47e1db..6e6d260 100644
--- a/sys/amd64/include/apicreg.h
+++ b/sys/amd64/include/apicreg.h
@@ -288,6 +288,7 @@ typedef struct IOAPIC ioapic_t;
#define APIC_RESV2_MASK 0xfff00000
+#define APIC_ICRLO_RESV_MASK (APIC_RESV1_MASK | APIC_RESV2_MASK)
/* fields in ICR_HIGH */
#define APIC_ID_MASK 0xff000000
OpenPOWER on IntegriCloud