From bd6ac1d6e550237d7d2aa9a220261fdd16be1147 Mon Sep 17 00:00:00 2001 From: peter Date: Fri, 14 Nov 2003 22:23:30 +0000 Subject: Convert a couple of pointers to integers for source compatability with amd64. --- sys/i386/include/mptable.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/i386/include/mptable.h') 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 -- cgit v1.1