Rename ACPI_GAS to ACPI_GENERIC_ADDRESS

date	2001.03.28.16.33.00;	author rmoore1;	state Exp;
This commit is contained in:
aystarik 2005-06-29 20:09:14 +00:00
parent b4d8ae6cca
commit 3706d46989

View File

@ -1,7 +1,7 @@
/******************************************************************************
*
* Name: actbl2.h - ACPI Specification Revision 2.0 Tables
* $Revision: 1.19 $
* $Revision: 1.22 $
*
*****************************************************************************/
@ -9,8 +9,8 @@
*
* 1. Copyright Notice
*
* Some or all of this work - Copyright (c) 1999, Intel Corp. All rights
* reserved.
* Some or all of this work - Copyright (c) 1999, 2000, 2001, Intel Corp.
* All rights reserved.
*
* 2. License
*
@ -117,9 +117,9 @@
#ifndef __ACTBL2_H__
#define __ACTBL2_H__
/**************************************/
/* Prefered Power Management Profiles */
/**************************************/
/*
* Prefered Power Management Profiles
*/
#define PM_UNSPECIFIED 0
#define PM_DESKTOP 1
#define PM_MOBILE 2
@ -128,20 +128,20 @@
#define PM_SOHO_SERVER 5
#define PM_APPLIANCE_PC 6
/*********************************************/
/* ACPI Boot Arch Flags, See spec Table 5-10 */
/*********************************************/
/*
* ACPI Boot Arch Flags
*/
#define BAF_LEGACY_DEVICES 0x0001
#define BAF_8042_KEYBOARD_CONTROLLER 0x0002
#define FADT2_REVISION_ID 3
#pragma pack(1)
/*************************************/
/* ACPI Specification Rev 2.0 for */
/* the Root System Description Table */
/*************************************/
/*
* ACPI Specification Rev 2.0 for the Root System Description Table
*/
typedef struct
{
ACPI_TABLE_HEADER header; /* Table header */
@ -150,10 +150,9 @@ typedef struct
} RSDT_DESCRIPTOR_REV2;
/********************************************/
/* ACPI Specification Rev 2.0 for the */
/* Extended System Description Table (XSDT) */
/********************************************/
/*
* ACPI Specification Rev 2.0 for the Extended System Description Table (XSDT)
*/
typedef struct
{
ACPI_TABLE_HEADER Header; /* Table header */
@ -161,10 +160,10 @@ typedef struct
/* other tables' headers */
} XSDT_DESCRIPTOR_REV2;
/***************************************/
/* ACPI Specification Rev 2.0 for */
/* the Firmware ACPI Control Structure */
/***************************************/
/*
* ACPI Specification Rev 2.0 for the Firmware ACPI Control Structure
*/
typedef struct
{
NATIVE_CHAR Signature[4]; /* signature "FACS" */
@ -181,10 +180,9 @@ typedef struct
} FACS_DESCRIPTOR_REV2;
/***************************************/
/* ACPI Specification Rev 2.0 for */
/* the Generic Address Structure (GAS) */
/***************************************/
/*
* ACPI Specification Rev 2.0 for the Generic Address Structure (GAS)
*/
typedef struct
{
UINT8 AddressSpaceId; /* Address space where struct or register exists. */
@ -193,13 +191,12 @@ typedef struct
UINT8 Reserved; /* Must be 0 */
UINT64 Address; /* 64-bit address of struct or register */
} ACPI_GAS;
} ACPI_GENERIC_ADDRESS;
/************************************/
/* ACPI Specification Rev 2.0 for */
/* the Fixed ACPI Description Table */
/************************************/
/*
/* ACPI Specification Rev 2.0 for the Fixed ACPI Description Table
*/
typedef struct
{
ACPI_TABLE_HEADER header; /* table header */
@ -257,19 +254,19 @@ typedef struct
/* must be executed after writing the SLP_TYPx register. */
UINT32_BIT Reserved6 : 18; /* reserved - must be zero */
ACPI_GAS ResetRegister; /* Reset register address in GAS format */
ACPI_GENERIC_ADDRESS ResetRegister; /* Reset register address in GAS format */
UINT8 ResetValue; /* Value to write to the ResetRegister port to reset the system. */
UINT8 Reserved7[3]; /* These three bytes must be zero */
UINT64 XFirmwareCtrl; /* 64-bit physical address of FACS */
UINT64 XDsdt; /* 64-bit physical address of DSDT */
ACPI_GAS XPm1aEvtBlk; /* Extended Power Mgt 1a AcpiEvent Reg Blk address */
ACPI_GAS XPm1bEvtBlk; /* Extended Power Mgt 1b AcpiEvent Reg Blk address */
ACPI_GAS XPm1aCntBlk; /* Extended Power Mgt 1a Control Reg Blk address */
ACPI_GAS XPm1bCntBlk; /* Extended Power Mgt 1b Control Reg Blk address */
ACPI_GAS XPm2CntBlk; /* Extended Power Mgt 2 Control Reg Blk address */
ACPI_GAS XPmTmrBlk; /* Extended Power Mgt Timer Ctrl Reg Blk address */
ACPI_GAS XGpe0Blk; /* Extended General Purpose AcpiEvent 0 Reg Blk address */
ACPI_GAS XGpe1Blk; /* Extended General Purpose AcpiEvent 1 Reg Blk address */
ACPI_GENERIC_ADDRESS XPm1aEvtBlk; /* Extended Power Mgt 1a AcpiEvent Reg Blk address */
ACPI_GENERIC_ADDRESS XPm1bEvtBlk; /* Extended Power Mgt 1b AcpiEvent Reg Blk address */
ACPI_GENERIC_ADDRESS XPm1aCntBlk; /* Extended Power Mgt 1a Control Reg Blk address */
ACPI_GENERIC_ADDRESS XPm1bCntBlk; /* Extended Power Mgt 1b Control Reg Blk address */
ACPI_GENERIC_ADDRESS XPm2CntBlk; /* Extended Power Mgt 2 Control Reg Blk address */
ACPI_GENERIC_ADDRESS XPmTmrBlk; /* Extended Power Mgt Timer Ctrl Reg Blk address */
ACPI_GENERIC_ADDRESS XGpe0Blk; /* Extended General Purpose AcpiEvent 0 Reg Blk address */
ACPI_GENERIC_ADDRESS XGpe1Blk; /* Extended General Purpose AcpiEvent 1 Reg Blk address */
} FADT_DESCRIPTOR_REV2;