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: 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 |
94 */ 95 96 97/******************************************************************************* 98 * 99 * Common subtable headers 100 * 101 ******************************************************************************/ --- 1037 unchanged lines hidden --- |