mirror of
https://github.com/acpica/acpica/
synced 2025-03-30 10:02:59 +03:00
Added pragma pack()s around the Spec defined table structures.
date 2000.11.01.00.15.00; author cgreen; state Exp;
This commit is contained in:
parent
a3d778aac9
commit
99aba53633
@ -1,6 +1,7 @@
|
||||
/******************************************************************************
|
||||
*
|
||||
* Name: actbl32.h - ACPI tables specific to IA32
|
||||
* Name: actbl1.h - ACPI 1.0 tables
|
||||
* $Revision: 1.14 $
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
@ -113,27 +114,26 @@
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
#ifndef __ACTBL32_H__
|
||||
#define __ACTBL32_H__
|
||||
#ifndef __ACTBL1_H__
|
||||
#define __ACTBL1_H__
|
||||
|
||||
#pragma pack(1)
|
||||
|
||||
|
||||
|
||||
/* IA32 Root System Description Table */
|
||||
/* ACPI V1.0 Root System Description Table */
|
||||
|
||||
typedef struct
|
||||
{
|
||||
ACPI_TABLE_HEADER header; /* Table header */
|
||||
void *TableOffsetEntry [1]; /* Array of pointers to other */
|
||||
/* tables' headers */
|
||||
} ROOT_SYSTEM_DESCRIPTION_TABLE;
|
||||
UINT32 TableOffsetEntry [1]; /* Array of pointers to other */
|
||||
/* ACPI tables */
|
||||
} RSDT_DESCRIPTOR_REV1;
|
||||
|
||||
|
||||
/* IA32 Firmware ACPI Control Structure */
|
||||
/* ACPI V1.0 Firmware ACPI Control Structure */
|
||||
|
||||
typedef struct
|
||||
{
|
||||
char Signature[4]; /* signature "FACS" */
|
||||
NATIVE_CHAR Signature[4]; /* signature "FACS" */
|
||||
UINT32 Length; /* length of structure, in bytes */
|
||||
UINT32 HardwareSignature; /* hardware configuration signature */
|
||||
UINT32 FirmwareWakingVector; /* ACPI OS waking vector */
|
||||
@ -142,10 +142,10 @@ typedef struct
|
||||
UINT32_BIT Reserved1 : 31; /* must be 0 */
|
||||
UINT8 Resverved3 [40]; /* reserved - must be zero */
|
||||
|
||||
} FIRMWARE_ACPI_CONTROL_STRUCTURE;
|
||||
} FACS_DESCRIPTOR_REV1;
|
||||
|
||||
|
||||
/* IA32 Fixed ACPI Description Table */
|
||||
/* ACPI V1.0 Fixed ACPI Description Table */
|
||||
|
||||
typedef struct
|
||||
{
|
||||
@ -199,11 +199,10 @@ typedef struct
|
||||
UINT32_BIT TmrValExt : 1; /* tmr_val is 32 bits */
|
||||
UINT32_BIT Reserved5 : 23; /* reserved - must be zero */
|
||||
|
||||
} FIXED_ACPI_DESCRIPTION_TABLE;
|
||||
|
||||
|
||||
|
||||
|
||||
#endif /* __ACTBL32_H__ */
|
||||
} FADT_DESCRIPTOR_REV1;
|
||||
|
||||
#pragma pack()
|
||||
|
||||
#endif /* __ACTBL1_H__ */
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user