Deleted Added
full compact
actbl1.h (238381) actbl1.h (239340)
1/******************************************************************************
2 *
3 * Name: actbl1.h - Additional ACPI table definitions
4 *
5 *****************************************************************************/
6
7/*
8 * Copyright (C) 2000 - 2012, Intel Corp.

--- 68 unchanged lines hidden (view full) ---

77
78/*
79 * All tables must be byte-packed to match the ACPI specification, since
80 * the tables are provided by the system BIOS.
81 */
82#pragma pack(1)
83
84/*
1/******************************************************************************
2 *
3 * Name: actbl1.h - Additional ACPI table definitions
4 *
5 *****************************************************************************/
6
7/*
8 * Copyright (C) 2000 - 2012, Intel Corp.

--- 68 unchanged lines hidden (view full) ---

77
78/*
79 * All tables must be byte-packed to match the ACPI specification, since
80 * the tables are provided by the system BIOS.
81 */
82#pragma pack(1)
83
84/*
85 * Note about bitfields: The UINT8 type is used for bitfields in ACPI tables.
86 * This is the only type that is even remotely portable. Anything else is not
87 * portable, so do not use any other bitfield types.
85 * Note: C bitfields are not used for this reason:
86 *
87 * "Bitfields are great and easy to read, but unfortunately the C language
88 * does not specify the layout of bitfields in memory, which means they are
89 * essentially useless for dealing with packed data in on-disk formats or
90 * binary wire protocols." (Or ACPI tables and buffers.) "If you ask me,
91 * this decision was a design error in C. Ritchie could have picked an order
92 * and stuck with it." Norman Ramsey.
93 * See http://stackoverflow.com/a/1053662/41661
88 */
89
90
91/*******************************************************************************
92 *
93 * Common subtable headers
94 *
95 ******************************************************************************/

--- 1037 unchanged lines hidden ---
94 */
95
96
97/*******************************************************************************
98 *
99 * Common subtable headers
100 *
101 ******************************************************************************/

--- 1037 unchanged lines hidden ---