diff options
author | alfred <alfred@FreeBSD.org> | 2002-09-23 18:54:32 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2002-09-23 18:54:32 +0000 |
commit | ac315391ceb9f2631fcaa72a6ab3da6255a6598d (patch) | |
tree | 8158103cc2a98a399f6b85e558005d61c5a4bb29 /sys/amd64/include/pc | |
parent | 5dc0248605e168960cde445de06c93cf34d5030b (diff) | |
download | FreeBSD-src-ac315391ceb9f2631fcaa72a6ab3da6255a6598d.zip FreeBSD-src-ac315391ceb9f2631fcaa72a6ab3da6255a6598d.tar.gz |
use __packed.
Diffstat (limited to 'sys/amd64/include/pc')
-rw-r--r-- | sys/amd64/include/pc/bios.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/amd64/include/pc/bios.h b/sys/amd64/include/pc/bios.h index cdf7c94..fe1f703 100644 --- a/sys/amd64/include/pc/bios.h +++ b/sys/amd64/include/pc/bios.h @@ -83,7 +83,7 @@ struct PnPBIOS_table u_int32_t oemdevid; /* motherboard EISA ID */ u_int16_t rmbiosseg; /* real-mode BIOS segment */ u_int32_t pmdataseg; /* protected-mode data segment */ -} __attribute__ ((packed)); +} __packed; /* @@ -243,13 +243,13 @@ struct PIR_header u_int32_t ph_miniport; u_int8_t ph_res[11]; u_int8_t ph_checksum; -} __attribute__ ((packed)); +} __packed; struct PIR_intpin { u_int8_t link; u_int16_t irqs; -} __attribute__ ((packed)); +} __packed; struct PIR_entry { @@ -259,13 +259,13 @@ struct PIR_entry struct PIR_intpin pe_intpin[4]; u_int8_t pe_slot; u_int8_t pe_res3; -} __attribute__ ((packed)); +} __packed; struct PIR_table { struct PIR_header pt_header; struct PIR_entry pt_entry[0]; -} __attribute__ ((packed)); +} __packed; /* * Int 15:E820 'SMAP' structure @@ -277,4 +277,4 @@ struct bios_smap { u_int64_t base; u_int64_t length; u_int32_t type; -} __attribute__ ((packed)); +} __packed; |