summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/mptable.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2003-11-14 22:23:30 +0000
committerpeter <peter@FreeBSD.org>2003-11-14 22:23:30 +0000
commitbd6ac1d6e550237d7d2aa9a220261fdd16be1147 (patch)
tree67bc2520651489b507fc0c6ceeccbccab140771e /sys/i386/include/mptable.h
parente928c72a090005d52a81b4e32df54a998f699053 (diff)
downloadFreeBSD-src-bd6ac1d6e550237d7d2aa9a220261fdd16be1147.zip
FreeBSD-src-bd6ac1d6e550237d7d2aa9a220261fdd16be1147.tar.gz
Convert a couple of pointers to integers for source compatability with
amd64.
Diffstat (limited to 'sys/i386/include/mptable.h')
-rw-r--r--sys/i386/include/mptable.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/i386/include/mptable.h b/sys/i386/include/mptable.h
index 5f58cf6..d56a418 100644
--- a/sys/i386/include/mptable.h
+++ b/sys/i386/include/mptable.h
@@ -41,7 +41,7 @@ enum busTypes {
/* MP Floating Pointer Structure */
typedef struct MPFPS {
char signature[4];
- void *pap;
+ u_int32_t pap;
u_char length;
u_char spec_rev;
u_char checksum;
@@ -63,10 +63,10 @@ typedef struct MPCTH {
u_char checksum;
u_char oem_id[8];
u_char product_id[12];
- void *oem_table_pointer;
+ u_int32_t oem_table_pointer;
u_short oem_table_size;
u_short entry_count;
- void *apic_address;
+ u_int32_t apic_address;
u_short extended_table_length;
u_char extended_table_checksum;
u_char reserved;
@@ -103,7 +103,7 @@ typedef struct IOAPICENTRY {
u_char apic_id;
u_char apic_version;
u_char apic_flags;
- void *apic_address;
+ u_int32_t apic_address;
} *io_apic_entry_ptr;
#define IOAPICENTRY_FLAG_EN 0x01
OpenPOWER on IntegriCloud