diff options
author | jhb <jhb@FreeBSD.org> | 2013-12-24 19:10:56 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2013-12-24 19:10:56 +0000 |
commit | bf62f8539bc3dfcf812136b77722d3be351331bb (patch) | |
tree | f7eda763fda15b7ff2fb37d31dddc1519ca2884a /sys | |
parent | 4620ae454b718b9bf42934f2b3ffd9723cd6f3b4 (diff) | |
download | FreeBSD-src-bf62f8539bc3dfcf812136b77722d3be351331bb.zip FreeBSD-src-bf62f8539bc3dfcf812136b77722d3be351331bb.tar.gz |
MFC 259013:
Fix the processor table entry structure to use a fixed-width type for
32-bit fields so it is the correct size on amd64. Remove a workaround
for the broken structure from bhyve(8).
Diffstat (limited to 'sys')
-rw-r--r-- | sys/x86/include/mptable.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/x86/include/mptable.h b/sys/x86/include/mptable.h index 85a21c9..b8a9d79 100644 --- a/sys/x86/include/mptable.h +++ b/sys/x86/include/mptable.h @@ -85,10 +85,10 @@ typedef struct PROCENTRY { u_char apic_id; u_char apic_version; u_char cpu_flags; - u_long cpu_signature; - u_long feature_flags; - u_long reserved1; - u_long reserved2; + u_int32_t cpu_signature; + u_int32_t feature_flags; + u_int32_t reserved1; + u_int32_t reserved2; } *proc_entry_ptr; #define PROCENTRY_FLAG_EN 0x01 |