Convert a couple of pointers to integers for source compatability with

amd64.
This commit is contained in:
peter 2003-11-14 22:23:30 +00:00
parent e928c72a09
commit bd6ac1d6e5
2 changed files with 8 additions and 8 deletions

View File

@ -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

View File

@ -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