actbl2.h (4e2f9c278ad84196991fcf6f6646a3e15967fe90) actbl2.h (be030a576854238250d70135644cde6a0ba34b0d)
1/******************************************************************************
2 *
3 * Name: actbl2.h - ACPI Table Definitions (tables not in ACPI spec)
4 *
5 *****************************************************************************/
6
7/*
8 * Copyright (C) 2000 - 2012, Intel Corp.

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

93
94/*
95 * All tables must be byte-packed to match the ACPI specification, since
96 * the tables are provided by the system BIOS.
97 */
98#pragma pack(1)
99
100/*
1/******************************************************************************
2 *
3 * Name: actbl2.h - ACPI Table Definitions (tables not in ACPI spec)
4 *
5 *****************************************************************************/
6
7/*
8 * Copyright (C) 2000 - 2012, Intel Corp.

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

93
94/*
95 * All tables must be byte-packed to match the ACPI specification, since
96 * the tables are provided by the system BIOS.
97 */
98#pragma pack(1)
99
100/*
101 * Note about bitfields: The u8 type is used for bitfields in ACPI tables.
102 * This is the only type that is even remotely portable. Anything else is not
103 * portable, so do not use any other bitfield types.
101 * Note: C bitfields are not used for this reason:
102 *
103 * "Bitfields are great and easy to read, but unfortunately the C language
104 * does not specify the layout of bitfields in memory, which means they are
105 * essentially useless for dealing with packed data in on-disk formats or
106 * binary wire protocols." (Or ACPI tables and buffers.) "If you ask me,
107 * this decision was a design error in C. Ritchie could have picked an order
108 * and stuck with it." Norman Ramsey.
109 * See http://stackoverflow.com/a/1053662/41661
104 */
105
106/*******************************************************************************
107 *
108 * ASF - Alert Standard Format table (Signature "ASF!")
109 * Revision 0x10
110 *
111 * Conforms to the Alert Standard Format Specification V2.0, 23 April 2003

--- 1048 unchanged lines hidden ---
110 */
111
112/*******************************************************************************
113 *
114 * ASF - Alert Standard Format table (Signature "ASF!")
115 * Revision 0x10
116 *
117 * Conforms to the Alert Standard Format Specification V2.0, 23 April 2003

--- 1048 unchanged lines hidden ---