Convert a couple of pointers to integers for source compatability with

amd64.
This commit is contained in:
Peter Wemm 2003-11-14 22:23:30 +00:00
parent 40e3826a9f
commit 7b66b81ee4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=122711
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