aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/amd64/include/apicreg.h5
-rw-r--r--sys/i386/include/apic.h5
-rw-r--r--sys/i386/include/apicreg.h5
3 files changed, 0 insertions, 15 deletions
diff --git a/sys/amd64/include/apicreg.h b/sys/amd64/include/apicreg.h
index 8e7a3b0d35256..6345ce7e60e83 100644
--- a/sys/amd64/include/apicreg.h
+++ b/sys/amd64/include/apicreg.h
@@ -221,11 +221,6 @@ typedef struct IOAPIC ioapic_t;
#define ALLHWI_LEVEL 0x00000000 /* TPR of CPU grabbing INTs */
#endif /** GRAB_LOPRIO */
-/* XXX these 2 don't really belong here... */
-#define COUNT_FIELD 0x00ffffff /* count portion of the lock */
-#define CPU_FIELD 0xff000000 /* cpu portion of the lock */
-#define FREE_LOCK 0xffffffff /* value of lock when free */
-
/*
* XXX This code assummes that the reserved field of the
* local APIC TPR can be written with all 0s.
diff --git a/sys/i386/include/apic.h b/sys/i386/include/apic.h
index 8e7a3b0d35256..6345ce7e60e83 100644
--- a/sys/i386/include/apic.h
+++ b/sys/i386/include/apic.h
@@ -221,11 +221,6 @@ typedef struct IOAPIC ioapic_t;
#define ALLHWI_LEVEL 0x00000000 /* TPR of CPU grabbing INTs */
#endif /** GRAB_LOPRIO */
-/* XXX these 2 don't really belong here... */
-#define COUNT_FIELD 0x00ffffff /* count portion of the lock */
-#define CPU_FIELD 0xff000000 /* cpu portion of the lock */
-#define FREE_LOCK 0xffffffff /* value of lock when free */
-
/*
* XXX This code assummes that the reserved field of the
* local APIC TPR can be written with all 0s.
diff --git a/sys/i386/include/apicreg.h b/sys/i386/include/apicreg.h
index 8e7a3b0d35256..6345ce7e60e83 100644
--- a/sys/i386/include/apicreg.h
+++ b/sys/i386/include/apicreg.h
@@ -221,11 +221,6 @@ typedef struct IOAPIC ioapic_t;
#define ALLHWI_LEVEL 0x00000000 /* TPR of CPU grabbing INTs */
#endif /** GRAB_LOPRIO */
-/* XXX these 2 don't really belong here... */
-#define COUNT_FIELD 0x00ffffff /* count portion of the lock */
-#define CPU_FIELD 0xff000000 /* cpu portion of the lock */
-#define FREE_LOCK 0xffffffff /* value of lock when free */
-
/*
* XXX This code assummes that the reserved field of the
* local APIC TPR can be written with all 0s.