diff options
author | jhb <jhb@FreeBSD.org> | 2003-07-23 18:59:38 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2003-07-23 18:59:38 +0000 |
commit | 1ab48551b3699374e93b8f727bf39421c0d1c294 (patch) | |
tree | 85a308169dcfff4163e126e505354143e586fe70 /sys/amd64 | |
parent | 5116362d0f6aa837d6c352524103bd0f10a379d3 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | sys/amd64/include/apicreg.h | 1 |
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 |