mirror of
https://github.com/acpica/acpica/
synced 2025-01-16 06:19:19 +03:00
fixes for more GCC warnings
date 2001.04.19.23.12.00; author agrover; state Exp;
This commit is contained in:
parent
e13f2dd945
commit
ca54af091f
@ -1,7 +1,7 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
*
|
*
|
||||||
* Module Name: asllookup- Namespace lookup
|
* Module Name: asllookup- Namespace lookup
|
||||||
* $Revision: 1.19 $
|
* $Revision: 1.27 $
|
||||||
*
|
*
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
@ -9,7 +9,7 @@
|
|||||||
*
|
*
|
||||||
* 1. Copyright Notice
|
* 1. Copyright Notice
|
||||||
*
|
*
|
||||||
* Some or all of this work - Copyright (c) 1999, 2000, Intel Corp.
|
* Some or all of this work - Copyright (c) 1999, 2000, 2001, Intel Corp.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* 2. License
|
* 2. License
|
||||||
@ -114,10 +114,9 @@
|
|||||||
*
|
*
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
#define __DSWLOAD_C__
|
|
||||||
|
|
||||||
#include "AslCompiler.h"
|
#include "aslcompiler.h"
|
||||||
#include "AslCompiler.y.h"
|
#include "aslcompiler.y.h"
|
||||||
|
|
||||||
#include "acparser.h"
|
#include "acparser.h"
|
||||||
#include "amlcode.h"
|
#include "amlcode.h"
|
||||||
@ -125,8 +124,8 @@
|
|||||||
#include "acdispat.h"
|
#include "acdispat.h"
|
||||||
|
|
||||||
|
|
||||||
#define _COMPONENT DISPATCHER
|
#define _COMPONENT ACPI_COMPILER
|
||||||
MODULE_NAME ("dswload")
|
MODULE_NAME ("asllookup")
|
||||||
|
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
@ -155,7 +154,7 @@ LsDoOneNamespaceObject (
|
|||||||
|
|
||||||
Gbl_NumNamespaceObjects++;
|
Gbl_NumNamespaceObjects++;
|
||||||
|
|
||||||
fprintf (Gbl_NamespaceOutputFile, "%5d [%d] %*s %4.4s - %s",
|
FlPrintFile (ASL_FILE_NAMESPACE_OUTPUT, "%5d [%d] %*s %4.4s - %s",
|
||||||
Gbl_NumNamespaceObjects, Level, (Level * 3), " ",
|
Gbl_NumNamespaceObjects, Level, (Level * 3), " ",
|
||||||
&Node->Name,
|
&Node->Name,
|
||||||
AcpiCmGetTypeName (Node->Type));
|
AcpiCmGetTypeName (Node->Type));
|
||||||
@ -172,7 +171,7 @@ LsDoOneNamespaceObject (
|
|||||||
|
|
||||||
switch (Node->Type)
|
switch (Node->Type)
|
||||||
{
|
{
|
||||||
case ACPI_TYPE_NUMBER:
|
case ACPI_TYPE_INTEGER:
|
||||||
|
|
||||||
if ((Pnode->ParseOpcode == NAMESEG) ||
|
if ((Pnode->ParseOpcode == NAMESEG) ||
|
||||||
(Pnode->ParseOpcode == NAMESTRING))
|
(Pnode->ParseOpcode == NAMESTRING))
|
||||||
@ -182,12 +181,12 @@ LsDoOneNamespaceObject (
|
|||||||
|
|
||||||
if (Pnode->Value.Integer64 > ACPI_UINT32_MAX)
|
if (Pnode->Value.Integer64 > ACPI_UINT32_MAX)
|
||||||
{
|
{
|
||||||
fprintf (Gbl_NamespaceOutputFile, " [Initial Value = 0x%X%X]",
|
FlPrintFile (ASL_FILE_NAMESPACE_OUTPUT, " [Initial Value = 0x%X%X]",
|
||||||
HIDWORD (Pnode->Value.Integer64), Pnode->Value.Integer32);
|
HIDWORD (Pnode->Value.Integer64), Pnode->Value.Integer32);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
fprintf (Gbl_NamespaceOutputFile, " [Initial Value = 0x%X]",
|
FlPrintFile (ASL_FILE_NAMESPACE_OUTPUT, " [Initial Value = 0x%X]",
|
||||||
Pnode->Value.Integer32);
|
Pnode->Value.Integer32);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
@ -200,19 +199,19 @@ LsDoOneNamespaceObject (
|
|||||||
Pnode = Pnode->Peer;
|
Pnode = Pnode->Peer;
|
||||||
}
|
}
|
||||||
|
|
||||||
fprintf (Gbl_NamespaceOutputFile, " [Initial Value = \"%s\"]",
|
FlPrintFile (ASL_FILE_NAMESPACE_OUTPUT, " [Initial Value = \"%s\"]",
|
||||||
Pnode->Value.String);
|
Pnode->Value.String);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
||||||
case INTERNAL_TYPE_DEF_FIELD:
|
case INTERNAL_TYPE_REGION_FIELD:
|
||||||
if ((Pnode->ParseOpcode == NAMESEG) ||
|
if ((Pnode->ParseOpcode == NAMESEG) ||
|
||||||
(Pnode->ParseOpcode == NAMESTRING))
|
(Pnode->ParseOpcode == NAMESTRING))
|
||||||
{
|
{
|
||||||
Pnode = Pnode->Child;
|
Pnode = Pnode->Child;
|
||||||
}
|
}
|
||||||
fprintf (Gbl_NamespaceOutputFile, " [Length = 0x%02X]",
|
FlPrintFile (ASL_FILE_NAMESPACE_OUTPUT, " [Length = 0x%02X]",
|
||||||
Pnode->Value.Integer32);
|
Pnode->Value.Integer32);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
@ -221,7 +220,7 @@ LsDoOneNamespaceObject (
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fprintf (Gbl_NamespaceOutputFile, "\n");
|
FlPrintFile (ASL_FILE_NAMESPACE_OUTPUT, "\n");
|
||||||
|
|
||||||
return (AE_OK);
|
return (AE_OK);
|
||||||
}
|
}
|
||||||
@ -254,8 +253,8 @@ LsDisplayNamespace (void)
|
|||||||
|
|
||||||
/* File header */
|
/* File header */
|
||||||
|
|
||||||
fprintf (Gbl_NamespaceOutputFile, "Contents of ACPI Namespace\n\n");
|
FlPrintFile (ASL_FILE_NAMESPACE_OUTPUT, "Contents of ACPI Namespace\n\n");
|
||||||
fprintf (Gbl_NamespaceOutputFile, "Count Depth Name - Type\n\n");
|
FlPrintFile (ASL_FILE_NAMESPACE_OUTPUT, "Count Depth Name - Type\n\n");
|
||||||
|
|
||||||
/* Walk entire namespace from the supplied root */
|
/* Walk entire namespace from the supplied root */
|
||||||
|
|
||||||
@ -267,6 +266,77 @@ LsDisplayNamespace (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*****************************************************************************
|
||||||
|
*
|
||||||
|
* FUNCTION: LsCompareOneNamespaceObject
|
||||||
|
*
|
||||||
|
* PARAMETERS: ACPI_WALK_CALLBACK
|
||||||
|
*
|
||||||
|
* RETURN: Status
|
||||||
|
*
|
||||||
|
* DESCRIPTION: Compare name of one object.
|
||||||
|
*
|
||||||
|
****************************************************************************/
|
||||||
|
|
||||||
|
ACPI_STATUS
|
||||||
|
LsCompareOneNamespaceObject (
|
||||||
|
ACPI_HANDLE ObjHandle,
|
||||||
|
UINT32 Level,
|
||||||
|
void *Context,
|
||||||
|
void **ReturnValue)
|
||||||
|
{
|
||||||
|
ACPI_NAMESPACE_NODE *Node = (ACPI_NAMESPACE_NODE *) ObjHandle;
|
||||||
|
|
||||||
|
|
||||||
|
/* Simply check the name */
|
||||||
|
|
||||||
|
if (*((UINT32 *) (Context)) == Node->Name)
|
||||||
|
{
|
||||||
|
/* Abort walk if we found one instance */
|
||||||
|
|
||||||
|
return (AE_CTRL_TRUE);
|
||||||
|
}
|
||||||
|
|
||||||
|
return (AE_OK);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*****************************************************************************
|
||||||
|
*
|
||||||
|
* FUNCTION: LkObjectExists
|
||||||
|
*
|
||||||
|
* PARAMETERS: Name - 4 char ACPI name
|
||||||
|
*
|
||||||
|
* RETURN: TRUE if name exists in namespace
|
||||||
|
*
|
||||||
|
* DESCRIPTION: Walk the namespace to find an object
|
||||||
|
*
|
||||||
|
****************************************************************************/
|
||||||
|
|
||||||
|
BOOLEAN
|
||||||
|
LkObjectExists (
|
||||||
|
char *Name)
|
||||||
|
{
|
||||||
|
ACPI_STATUS Status;
|
||||||
|
|
||||||
|
|
||||||
|
/* Walk entire namespace from the supplied root */
|
||||||
|
|
||||||
|
Status = AcpiNsWalkNamespace (ACPI_TYPE_ANY, ACPI_ROOT_OBJECT,
|
||||||
|
ACPI_UINT32_MAX, FALSE, LsCompareOneNamespaceObject,
|
||||||
|
Name, NULL);
|
||||||
|
|
||||||
|
if (Status == AE_CTRL_TRUE)
|
||||||
|
{
|
||||||
|
/* At least one instance of the name was found */
|
||||||
|
|
||||||
|
return (TRUE);
|
||||||
|
}
|
||||||
|
|
||||||
|
return (FALSE);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
*
|
*
|
||||||
* FUNCTION: LkCrossReferenceNamespace
|
* FUNCTION: LkCrossReferenceNamespace
|
||||||
@ -402,7 +472,46 @@ LkNamespaceLocateBegin (
|
|||||||
{
|
{
|
||||||
if (Status == AE_NOT_FOUND)
|
if (Status == AE_NOT_FOUND)
|
||||||
{
|
{
|
||||||
AslError (ASL_WARNING, ASL_MSG_NOT_FOUND, PsNode, PsNode->ExternalName);
|
/*
|
||||||
|
* We didn't find the name reference by path -- we can qualify this
|
||||||
|
* a little better before we print an error message
|
||||||
|
*/
|
||||||
|
|
||||||
|
if (strlen (Path) == ACPI_NAME_SIZE)
|
||||||
|
{
|
||||||
|
/* A simple, one-segment ACPI name */
|
||||||
|
|
||||||
|
if (LkObjectExists (Path))
|
||||||
|
{
|
||||||
|
/* There exists such a name, but we couldn't get to it from this scope */
|
||||||
|
|
||||||
|
AslError (ASL_WARNING, ASL_MSG_NOT_REACHABLE, PsNode, PsNode->ExternalName);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
/* The name doesn't exist, period */
|
||||||
|
|
||||||
|
AslError (ASL_WARNING, ASL_MSG_NOT_EXIST, PsNode, PsNode->ExternalName);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
else
|
||||||
|
{
|
||||||
|
/* Check for a fully qualified path */
|
||||||
|
|
||||||
|
if (Path[0] == AML_ROOT_PREFIX)
|
||||||
|
{
|
||||||
|
/* Gave full path, the object does not exist */
|
||||||
|
|
||||||
|
AslError (ASL_WARNING, ASL_MSG_NOT_EXIST, PsNode, PsNode->ExternalName);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
/* We can't tell whether it doesn't exist or just can't be reached. */
|
||||||
|
|
||||||
|
AslError (ASL_WARNING, ASL_MSG_NOT_FOUND, PsNode, PsNode->ExternalName);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return (Status);
|
return (Status);
|
||||||
}
|
}
|
||||||
@ -417,7 +526,7 @@ LkNamespaceLocateBegin (
|
|||||||
* AML code generation
|
* AML code generation
|
||||||
*/
|
*/
|
||||||
|
|
||||||
free (PsNode->Value.String);
|
AcpiCmFree (PsNode->Value.String);
|
||||||
|
|
||||||
PsNode->ParseOpcode = INTEGER;
|
PsNode->ParseOpcode = INTEGER;
|
||||||
PsNode->AmlOpcode = AML_DWORD_OP;
|
PsNode->AmlOpcode = AML_DWORD_OP;
|
||||||
@ -439,6 +548,13 @@ LkNamespaceLocateBegin (
|
|||||||
|
|
||||||
(PsNode->ParseOpcode == METHODCALL))
|
(PsNode->ParseOpcode == METHODCALL))
|
||||||
{
|
{
|
||||||
|
|
||||||
|
if (NsNode->Type != ACPI_TYPE_METHOD)
|
||||||
|
{
|
||||||
|
AslError (ASL_ERROR, ASL_MSG_NOT_METHOD, PsNode, PsNode->ExternalName);
|
||||||
|
return (AE_OK);
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This is a method invocation, with or without arguments.
|
* This is a method invocation, with or without arguments.
|
||||||
* Count the number of arguments, each appears as a child
|
* Count the number of arguments, each appears as a child
|
||||||
@ -466,6 +582,12 @@ LkNamespaceLocateBegin (
|
|||||||
if (PassedArgs < NsNode->OwnerId)
|
if (PassedArgs < NsNode->OwnerId)
|
||||||
{
|
{
|
||||||
AslError (ASL_ERROR, ASL_MSG_ARG_COUNT_LO, PsNode, MsgBuffer);
|
AslError (ASL_ERROR, ASL_MSG_ARG_COUNT_LO, PsNode, MsgBuffer);
|
||||||
|
|
||||||
|
if (NsNode->OwnerId > 7)
|
||||||
|
{
|
||||||
|
printf ("too many arguments defined for method [%4.4s]\n", (char *) &NsNode->Name);
|
||||||
|
return (AE_BAD_PARAMETER);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
*
|
*
|
||||||
* Module Name: aslmap - parser to AML opcode mapping table
|
* Module Name: aslmap - parser to AML opcode mapping table
|
||||||
* $Revision: 1.21 $
|
* $Revision: 1.30 $
|
||||||
*
|
*
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
@ -10,7 +10,7 @@
|
|||||||
*
|
*
|
||||||
* 1. Copyright Notice
|
* 1. Copyright Notice
|
||||||
*
|
*
|
||||||
* Some or all of this work - Copyright (c) 1999, 2000, Intel Corp.
|
* Some or all of this work - Copyright (c) 1999, 2000, 2001, Intel Corp.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* 2. License
|
* 2. License
|
||||||
@ -116,11 +116,16 @@
|
|||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#include "AslCompiler.h"
|
#include "aslcompiler.h"
|
||||||
#include "AslCompiler.y.h"
|
#include "aslcompiler.y.h"
|
||||||
#include "amlcode.h"
|
#include "amlcode.h"
|
||||||
|
|
||||||
|
|
||||||
|
#define _COMPONENT ACPI_COMPILER
|
||||||
|
MODULE_NAME ("aslmap")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
*
|
*
|
||||||
* DATA STRUCTURE: ReservedMethods
|
* DATA STRUCTURE: ReservedMethods
|
||||||
@ -139,122 +144,122 @@
|
|||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
||||||
ASL_RESERVED_INFO ReservedMethods[] = {
|
ASL_RESERVED_INFO ReservedMethods[] = {
|
||||||
"_AC0", 0, ASL_RSVD_RETURN_VALUE,
|
{"_AC0", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_AC1", 0, ASL_RSVD_RETURN_VALUE,
|
{"_AC1", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_AC2", 0, ASL_RSVD_RETURN_VALUE,
|
{"_AC2", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_AC3", 0, ASL_RSVD_RETURN_VALUE,
|
{"_AC3", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_ADR", 0, ASL_RSVD_RETURN_VALUE,
|
{"_ADR", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_AL0", 0, ASL_RSVD_RETURN_VALUE,
|
{"_AL0", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_AL1", 0, ASL_RSVD_RETURN_VALUE,
|
{"_AL1", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_AL2", 0, ASL_RSVD_RETURN_VALUE,
|
{"_AL2", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_AL3", 0, ASL_RSVD_RETURN_VALUE,
|
{"_AL3", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_BBN", 0, ASL_RSVD_RETURN_VALUE,
|
{"_BBN", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_BCL", 0, ASL_RSVD_RETURN_VALUE,
|
{"_BCL", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_BCM", 1, 0,
|
{"_BCM", 1, 0},
|
||||||
"_BDN", 0, ASL_RSVD_RETURN_VALUE,
|
{"_BDN", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_BFS", 1, 0,
|
{"_BFS", 1, 0},
|
||||||
"_BIF", 0, ASL_RSVD_RETURN_VALUE,
|
{"_BIF", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_BST", 0, ASL_RSVD_RETURN_VALUE,
|
{"_BST", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_BTP", 1, 0,
|
{"_BTP", 1, 0},
|
||||||
"_CID", 0, ASL_RSVD_RETURN_VALUE,
|
{"_CID", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_CRS", 0, ASL_RSVD_RETURN_VALUE,
|
{"_CRS", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_CRT", 0, ASL_RSVD_RETURN_VALUE,
|
{"_CRT", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_CST", 0, ASL_RSVD_RETURN_VALUE,
|
{"_CST", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_DCK", 1, ASL_RSVD_RETURN_VALUE,
|
{"_DCK", 1, ASL_RSVD_RETURN_VALUE},
|
||||||
"_DCS", 0, ASL_RSVD_RETURN_VALUE,
|
{"_DCS", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_DDC", 1, ASL_RSVD_RETURN_VALUE,
|
{"_DDC", 1, ASL_RSVD_RETURN_VALUE},
|
||||||
"_DDN", 1, 0, /* Spec is ambiguous about this */
|
{"_DDN", 1, 0}, /* Spec is ambiguous about this */
|
||||||
"_DGS", 0, ASL_RSVD_RETURN_VALUE,
|
{"_DGS", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_DIS", 0, 0,
|
{"_DIS", 0, 0},
|
||||||
"_DMA", 0, ASL_RSVD_RETURN_VALUE,
|
{"_DMA", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_DOD", 0, ASL_RSVD_RETURN_VALUE,
|
{"_DOD", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_DOS", 1, 0,
|
{"_DOS", 1, 0},
|
||||||
"_DSS", 1, 0,
|
{"_DSS", 1, 0},
|
||||||
"_EC_", 0, ASL_RSVD_RETURN_VALUE,
|
{"_EC_", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_EDL", 0, ASL_RSVD_RETURN_VALUE,
|
{"_EDL", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_EJ0", 1, 0,
|
{"_EJ0", 1, 0},
|
||||||
"_EJ1", 1, 0,
|
{"_EJ1", 1, 0},
|
||||||
"_EJ2", 1, 0,
|
{"_EJ2", 1, 0},
|
||||||
"_EJ3", 1, 0,
|
{"_EJ3", 1, 0},
|
||||||
"_EJ4", 1, 0,
|
{"_EJ4", 1, 0},
|
||||||
"_EJD", 0, ASL_RSVD_RETURN_VALUE,
|
{"_EJD", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_FDE", 0, ASL_RSVD_RETURN_VALUE,
|
{"_FDE", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_FDI", 0, ASL_RSVD_RETURN_VALUE,
|
{"_FDI", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_FDM", 1, 0,
|
{"_FDM", 1, 0},
|
||||||
"_FIX", 0, ASL_RSVD_RETURN_VALUE,
|
{"_FIX", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_GLK", 0, ASL_RSVD_RETURN_VALUE,
|
{"_GLK", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_GPD", 0, ASL_RSVD_RETURN_VALUE,
|
{"_GPD", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_GPE", 0, ASL_RSVD_RETURN_VALUE,
|
{"_GPE", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_GTF", 0, ASL_RSVD_RETURN_VALUE,
|
{"_GTF", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_GTM", 0, ASL_RSVD_RETURN_VALUE,
|
{"_GTM", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_GTS", 1, 0,
|
{"_GTS", 1, 0},
|
||||||
"_HID", 0, ASL_RSVD_RETURN_VALUE,
|
{"_HID", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_HOT", 0, ASL_RSVD_RETURN_VALUE,
|
{"_HOT", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_HPP", 0, ASL_RSVD_RETURN_VALUE,
|
{"_HPP", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_INI", 0, 0,
|
{"_INI", 0, 0},
|
||||||
"_IRC", 0, 0,
|
{"_IRC", 0, 0},
|
||||||
"_LCK", 1, 0,
|
{"_LCK", 1, 0},
|
||||||
"_LID", 0, ASL_RSVD_RETURN_VALUE,
|
{"_LID", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_MAT", 0, ASL_RSVD_RETURN_VALUE,
|
{"_MAT", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_MSG", 1, 0,
|
{"_MSG", 1, 0},
|
||||||
"_OFF", 0, 0,
|
{"_OFF", 0, 0},
|
||||||
"_ON_", 0, 0,
|
{"_ON_", 0, 0},
|
||||||
"_PCL", 0, ASL_RSVD_RETURN_VALUE,
|
{"_PCL", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_PCT", 0, ASL_RSVD_RETURN_VALUE,
|
{"_PCT", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_PIC", 1, 0,
|
{"_PIC", 1, 0},
|
||||||
"_PPC", 0, ASL_RSVD_RETURN_VALUE,
|
{"_PPC", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_PR0", 0, ASL_RSVD_RETURN_VALUE,
|
{"_PR0", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_PR1", 0, ASL_RSVD_RETURN_VALUE,
|
{"_PR1", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_PR2", 0, ASL_RSVD_RETURN_VALUE,
|
{"_PR2", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_PRS", 0, ASL_RSVD_RETURN_VALUE,
|
{"_PRS", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_PRT", 0, ASL_RSVD_RETURN_VALUE,
|
{"_PRT", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_PRW", 0, ASL_RSVD_RETURN_VALUE,
|
{"_PRW", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_PS0", 0, 0,
|
{"_PS0", 0, 0},
|
||||||
"_PS1", 0, 0,
|
{"_PS1", 0, 0},
|
||||||
"_PS2", 0, 0,
|
{"_PS2", 0, 0},
|
||||||
"_PS3", 0, 0,
|
{"_PS3", 0, 0},
|
||||||
"_PSC", 0, ASL_RSVD_RETURN_VALUE,
|
{"_PSC", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_PSL", 0, ASL_RSVD_RETURN_VALUE,
|
{"_PSL", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_PSR", 0, ASL_RSVD_RETURN_VALUE,
|
{"_PSR", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_PSS", 0, ASL_RSVD_RETURN_VALUE,
|
{"_PSS", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_PSV", 0, ASL_RSVD_RETURN_VALUE,
|
{"_PSV", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_PSW", 1, 0,
|
{"_PSW", 1, 0},
|
||||||
"_PTC", 0, ASL_RSVD_RETURN_VALUE,
|
{"_PTC", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_PTS", 1, 0,
|
{"_PTS", 1, 0},
|
||||||
"_PXM", 0, ASL_RSVD_RETURN_VALUE,
|
{"_PXM", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_REG", 2, 0,
|
{"_REG", 2, 0},
|
||||||
"_RMV", 0, ASL_RSVD_RETURN_VALUE,
|
{"_RMV", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_ROM", 2, ASL_RSVD_RETURN_VALUE,
|
{"_ROM", 2, ASL_RSVD_RETURN_VALUE},
|
||||||
"_S0_", 0, ASL_RSVD_RETURN_VALUE,
|
{"_S0_", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_S1_", 0, ASL_RSVD_RETURN_VALUE,
|
{"_S1_", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_S2_", 0, ASL_RSVD_RETURN_VALUE,
|
{"_S2_", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_S3_", 0, ASL_RSVD_RETURN_VALUE,
|
{"_S3_", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_S4_", 0, ASL_RSVD_RETURN_VALUE,
|
{"_S4_", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_S5_", 0, ASL_RSVD_RETURN_VALUE,
|
{"_S5_", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_S1D", 0, ASL_RSVD_RETURN_VALUE,
|
{"_S1D", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_S2D", 0, ASL_RSVD_RETURN_VALUE,
|
{"_S2D", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_S3D", 0, ASL_RSVD_RETURN_VALUE,
|
{"_S3D", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_S4D", 0, ASL_RSVD_RETURN_VALUE,
|
{"_S4D", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_SBS", 0, ASL_RSVD_RETURN_VALUE,
|
{"_SBS", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_SCP", 1, 0,
|
{"_SCP", 1, 0},
|
||||||
"_SEG", 0, ASL_RSVD_RETURN_VALUE,
|
{"_SEG", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_SPD", 1, ASL_RSVD_RETURN_VALUE,
|
{"_SPD", 1, ASL_RSVD_RETURN_VALUE},
|
||||||
"_SRS", 1, 0,
|
{"_SRS", 1, 0},
|
||||||
"_SST", 1, 0,
|
{"_SST", 1, 0},
|
||||||
"_STA", 0, ASL_RSVD_RETURN_VALUE,
|
{"_STA", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_STM", 3, 0,
|
{"_STM", 3, 0},
|
||||||
"_STR", 0, ASL_RSVD_RETURN_VALUE,
|
{"_STR", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_SUN", 0, ASL_RSVD_RETURN_VALUE,
|
{"_SUN", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_TC1", 0, ASL_RSVD_RETURN_VALUE,
|
{"_TC1", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_TC2", 0, ASL_RSVD_RETURN_VALUE,
|
{"_TC2", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_TMP", 0, ASL_RSVD_RETURN_VALUE,
|
{"_TMP", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_TSP", 0, ASL_RSVD_RETURN_VALUE,
|
{"_TSP", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_TZD", 0, ASL_RSVD_RETURN_VALUE,
|
{"_TZD", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_TZP", 0, ASL_RSVD_RETURN_VALUE,
|
{"_TZP", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_UID", 0, ASL_RSVD_RETURN_VALUE,
|
{"_UID", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_VPO", 0, ASL_RSVD_RETURN_VALUE,
|
{"_VPO", 0, ASL_RSVD_RETURN_VALUE},
|
||||||
"_WAK", 1, ASL_RSVD_RETURN_VALUE,
|
{"_WAK", 1, ASL_RSVD_RETURN_VALUE},
|
||||||
NULL, 0, 0,
|
{NULL, 0, 0},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@ -286,7 +291,7 @@ ASL_RESERVED_INFO ReservedMethods[] = {
|
|||||||
ASL_MAPPING_ENTRY AslKeywordMapping [] =
|
ASL_MAPPING_ENTRY AslKeywordMapping [] =
|
||||||
{
|
{
|
||||||
|
|
||||||
/* ACCESSAS */ OP_TABLE_ENTRY (AML_ACCESSFIELD_OP, 0, 0, 0),
|
/* ACCESSAS */ OP_TABLE_ENTRY (AML_INT_ACCESSFIELD_OP, 0, 0, 0),
|
||||||
/* ACCESSATTRIB_BLOCK */ OP_TABLE_ENTRY (AML_BYTE_OP, ACCESS_BLOCK_ACC, 0, 0),
|
/* ACCESSATTRIB_BLOCK */ OP_TABLE_ENTRY (AML_BYTE_OP, ACCESS_BLOCK_ACC, 0, 0),
|
||||||
/* ACCESSATTRIB_BYTE */ OP_TABLE_ENTRY (AML_BYTE_OP, ACCESS_BYTE_ACC, 0, 0),
|
/* ACCESSATTRIB_BYTE */ OP_TABLE_ENTRY (AML_BYTE_OP, ACCESS_BYTE_ACC, 0, 0),
|
||||||
/* ACCESSATTRIB_CALL */ OP_TABLE_ENTRY (AML_BYTE_OP, ACCESS_BYTE_ACC, 0, 0),
|
/* ACCESSATTRIB_CALL */ OP_TABLE_ENTRY (AML_BYTE_OP, ACCESS_BYTE_ACC, 0, 0),
|
||||||
@ -299,15 +304,15 @@ ASL_MAPPING_ENTRY AslKeywordMapping [] =
|
|||||||
/* ACCESSTYPE_DWORD */ OP_TABLE_ENTRY (AML_BYTE_OP, ACCESS_DWORD_ACC, 0, 0),
|
/* ACCESSTYPE_DWORD */ OP_TABLE_ENTRY (AML_BYTE_OP, ACCESS_DWORD_ACC, 0, 0),
|
||||||
/* ACCESSTYPE_QWORD */ OP_TABLE_ENTRY (AML_BYTE_OP, ACCESS_DWORD_ACC, 0, 0),
|
/* ACCESSTYPE_QWORD */ OP_TABLE_ENTRY (AML_BYTE_OP, ACCESS_DWORD_ACC, 0, 0),
|
||||||
/* ACCESSTYPE_WORD */ OP_TABLE_ENTRY (AML_BYTE_OP, ACCESS_WORD_ACC, 0, 0),
|
/* ACCESSTYPE_WORD */ OP_TABLE_ENTRY (AML_BYTE_OP, ACCESS_WORD_ACC, 0, 0),
|
||||||
/* ACQUIRE */ OP_TABLE_ENTRY (AML_ACQUIRE_OP, 0, 0, ACPI_BTYPE_NUMBER),
|
/* ACQUIRE */ OP_TABLE_ENTRY (AML_ACQUIRE_OP, 0, 0, ACPI_BTYPE_INTEGER),
|
||||||
/* ADD */ OP_TABLE_ENTRY (AML_ADD_OP, 0, 0, ACPI_BTYPE_NUMBER),
|
/* ADD */ OP_TABLE_ENTRY (AML_ADD_OP, 0, 0, ACPI_BTYPE_INTEGER),
|
||||||
/* ADDRESSSPACE_FFIXEDHW */ OP_TABLE_ENTRY (AML_BYTE_OP, 0, 0, 0), /* TBD: is this used ? */
|
/* ADDRESSSPACE_FFIXEDHW */ OP_TABLE_ENTRY (AML_BYTE_OP, REGION_FIXED_HW, 0, 0),
|
||||||
/* ADDRESSTYPE_ACPI */ OP_TABLE_ENTRY (AML_BYTE_OP, 2, 0, 0),
|
/* ADDRESSTYPE_ACPI */ OP_TABLE_ENTRY (AML_BYTE_OP, 2, 0, 0),
|
||||||
/* ADDRESSTYPE_MEMORY */ OP_TABLE_ENTRY (AML_BYTE_OP, 0, 0, 0),
|
/* ADDRESSTYPE_MEMORY */ OP_TABLE_ENTRY (AML_BYTE_OP, 0, 0, 0),
|
||||||
/* ADDRESSTYPE_NVS */ OP_TABLE_ENTRY (AML_BYTE_OP, 3, 0, 0),
|
/* ADDRESSTYPE_NVS */ OP_TABLE_ENTRY (AML_BYTE_OP, 3, 0, 0),
|
||||||
/* ADDRESSTYPE_RESERVED */ OP_TABLE_ENTRY (AML_BYTE_OP, 1, 0, 0),
|
/* ADDRESSTYPE_RESERVED */ OP_TABLE_ENTRY (AML_BYTE_OP, 1, 0, 0),
|
||||||
/* ALIAS */ OP_TABLE_ENTRY (AML_ALIAS_OP, 0, 0, 0),
|
/* ALIAS */ OP_TABLE_ENTRY (AML_ALIAS_OP, 0, 0, 0),
|
||||||
/* AND */ OP_TABLE_ENTRY (AML_BIT_AND_OP, 0, 0, ACPI_BTYPE_NUMBER),
|
/* AND */ OP_TABLE_ENTRY (AML_BIT_AND_OP, 0, 0, ACPI_BTYPE_INTEGER),
|
||||||
/* ARG0 */ OP_TABLE_ENTRY (AML_ARG0, 0, 0, ACPI_BTYPE_OBJECTS_AND_REFS),
|
/* ARG0 */ OP_TABLE_ENTRY (AML_ARG0, 0, 0, ACPI_BTYPE_OBJECTS_AND_REFS),
|
||||||
/* ARG1 */ OP_TABLE_ENTRY (AML_ARG1, 0, 0, ACPI_BTYPE_OBJECTS_AND_REFS),
|
/* ARG1 */ OP_TABLE_ENTRY (AML_ARG1, 0, 0, ACPI_BTYPE_OBJECTS_AND_REFS),
|
||||||
/* ARG2 */ OP_TABLE_ENTRY (AML_ARG2, 0, 0, ACPI_BTYPE_OBJECTS_AND_REFS),
|
/* ARG2 */ OP_TABLE_ENTRY (AML_ARG2, 0, 0, ACPI_BTYPE_OBJECTS_AND_REFS),
|
||||||
@ -321,36 +326,36 @@ ASL_MAPPING_ENTRY AslKeywordMapping [] =
|
|||||||
/* BUFFER */ OP_TABLE_ENTRY (AML_BUFFER_OP, 0, NODE_AML_PACKAGE, ACPI_BTYPE_BUFFER),
|
/* BUFFER */ OP_TABLE_ENTRY (AML_BUFFER_OP, 0, NODE_AML_PACKAGE, ACPI_BTYPE_BUFFER),
|
||||||
/* BUSMASTERTYPE_MASTER */ OP_TABLE_ENTRY (AML_BYTE_OP, 1, 0, 0),
|
/* BUSMASTERTYPE_MASTER */ OP_TABLE_ENTRY (AML_BYTE_OP, 1, 0, 0),
|
||||||
/* BUSMASTERTYPE_NOTMASTER */ OP_TABLE_ENTRY (AML_BYTE_OP, 0, 0, 0),
|
/* BUSMASTERTYPE_NOTMASTER */ OP_TABLE_ENTRY (AML_BYTE_OP, 0, 0, 0),
|
||||||
/* BYTECONST */ OP_TABLE_ENTRY (AML_RAW_DATA_BYTE, 0, 0, ACPI_BTYPE_NUMBER),
|
/* BYTECONST */ OP_TABLE_ENTRY (AML_RAW_DATA_BYTE, 0, 0, ACPI_BTYPE_INTEGER),
|
||||||
/* CASE */ OP_TABLE_ENTRY (AML_DEFAULT_ARG_OP, 0, 0, 0),
|
/* CASE */ OP_TABLE_ENTRY (AML_DEFAULT_ARG_OP, 0, 0, 0),
|
||||||
/* CONCATENATE */ OP_TABLE_ENTRY (AML_CONCAT_OP, 0, 0, ACPI_BTYPE_COMPUTE_DATA),
|
/* CONCATENATE */ OP_TABLE_ENTRY (AML_CONCAT_OP, 0, 0, ACPI_BTYPE_COMPUTE_DATA),
|
||||||
/* CONCATENATERESTEMPLATE */ OP_TABLE_ENTRY (AML_CONCAT_TPL_OP, 0, 0, ACPI_BTYPE_BUFFER),
|
/* CONCATENATERESTEMPLATE */ OP_TABLE_ENTRY (AML_CONCAT_TPL_OP, 0, 0, ACPI_BTYPE_BUFFER),
|
||||||
/* CONDREFOF */ OP_TABLE_ENTRY (AML_COND_REF_OF_OP, 0, 0, ACPI_BTYPE_NUMBER),
|
/* CONDREFOF */ OP_TABLE_ENTRY (AML_COND_REF_OF_OP, 0, 0, ACPI_BTYPE_INTEGER),
|
||||||
/* CONTINUE */ OP_TABLE_ENTRY (AML_CONTINUE_OP, 0, 0, 0),
|
/* CONTINUE */ OP_TABLE_ENTRY (AML_CONTINUE_OP, 0, 0, 0),
|
||||||
/* COPY */ OP_TABLE_ENTRY (AML_COPY_OP, 0, 0, ACPI_BTYPE_DATA_REFERENCE),
|
/* COPY */ OP_TABLE_ENTRY (AML_COPY_OP, 0, 0, ACPI_BTYPE_DATA_REFERENCE),
|
||||||
/* CREATEBITFIELD */ OP_TABLE_ENTRY (AML_BIT_FIELD_OP, 0, 0, 0),
|
/* CREATEBITFIELD */ OP_TABLE_ENTRY (AML_CREATE_BIT_FIELD_OP, 0, 0, 0),
|
||||||
/* CREATEBYTEFIELD */ OP_TABLE_ENTRY (AML_BYTE_FIELD_OP, 0, 0, 0),
|
/* CREATEBYTEFIELD */ OP_TABLE_ENTRY (AML_CREATE_BYTE_FIELD_OP, 0, 0, 0),
|
||||||
/* CREATEDWORDFIELD */ OP_TABLE_ENTRY (AML_DWORD_FIELD_OP, 0, 0, 0),
|
/* CREATEDWORDFIELD */ OP_TABLE_ENTRY (AML_CREATE_DWORD_FIELD_OP, 0, 0, 0),
|
||||||
/* CREATEFIELD */ OP_TABLE_ENTRY (AML_CREATE_FIELD_OP, 0, 0, 0),
|
/* CREATEFIELD */ OP_TABLE_ENTRY (AML_CREATE_FIELD_OP, 0, 0, 0),
|
||||||
/* CREATEQWORDFIELD */ OP_TABLE_ENTRY (AML_QWORD_FIELD_OP, 0, 0, 0),
|
/* CREATEQWORDFIELD */ OP_TABLE_ENTRY (AML_CREATE_QWORD_FIELD_OP, 0, 0, 0),
|
||||||
/* CREATEWORDFIELD */ OP_TABLE_ENTRY (AML_WORD_FIELD_OP, 0, 0, 0),
|
/* CREATEWORDFIELD */ OP_TABLE_ENTRY (AML_CREATE_WORD_FIELD_OP, 0, 0, 0),
|
||||||
/* DATATABLEREGION */ OP_TABLE_ENTRY (AML_DATA_REGION_OP, 0, 0, 0),
|
/* DATATABLEREGION */ OP_TABLE_ENTRY (AML_DATA_REGION_OP, 0, 0, 0),
|
||||||
/* DEBUG */ OP_TABLE_ENTRY (AML_DEBUG_OP, 0, 0, 0),
|
/* DEBUG */ OP_TABLE_ENTRY (AML_DEBUG_OP, 0, 0, 0),
|
||||||
/* DECODETYPE_POS */ OP_TABLE_ENTRY (AML_BYTE_OP, 0, 0, 0),
|
/* DECODETYPE_POS */ OP_TABLE_ENTRY (AML_BYTE_OP, 0, 0, 0),
|
||||||
/* DECODETYPE_SUB */ OP_TABLE_ENTRY (AML_BYTE_OP, 1, 0, 0),
|
/* DECODETYPE_SUB */ OP_TABLE_ENTRY (AML_BYTE_OP, 1, 0, 0),
|
||||||
/* DECREMENT */ OP_TABLE_ENTRY (AML_DECREMENT_OP, 0, 0, ACPI_BTYPE_NUMBER),
|
/* DECREMENT */ OP_TABLE_ENTRY (AML_DECREMENT_OP, 0, 0, ACPI_BTYPE_INTEGER),
|
||||||
/* DEFAULT */ OP_TABLE_ENTRY (AML_DEFAULT_ARG_OP, 0, 0, 0),
|
/* DEFAULT */ OP_TABLE_ENTRY (AML_DEFAULT_ARG_OP, 0, 0, 0),
|
||||||
/* DEFAULT_ARG */ OP_TABLE_ENTRY (AML_DEFAULT_ARG_OP, 0, 0, 0),
|
/* DEFAULT_ARG */ OP_TABLE_ENTRY (AML_DEFAULT_ARG_OP, 0, 0, 0),
|
||||||
/* DEFINITIONBLOCK */ OP_TABLE_ENTRY (AML_DEFAULT_ARG_OP, 0, 0, 0),
|
/* DEFINITIONBLOCK */ OP_TABLE_ENTRY (AML_DEFAULT_ARG_OP, 0, 0, 0),
|
||||||
/* DEREFOF */ OP_TABLE_ENTRY (AML_DEREF_OF_OP, 0, 0, ACPI_BTYPE_DATA_REFERENCE), /* TBD ??*/
|
/* DEREFOF */ OP_TABLE_ENTRY (AML_DEREF_OF_OP, 0, 0, ACPI_BTYPE_DATA_REFERENCE), /* TBD ??*/
|
||||||
/* DEVICE */ OP_TABLE_ENTRY (AML_DEVICE_OP, 0, NODE_AML_PACKAGE, 0),
|
/* DEVICE */ OP_TABLE_ENTRY (AML_DEVICE_OP, 0, NODE_AML_PACKAGE, 0),
|
||||||
/* DIVIDE */ OP_TABLE_ENTRY (AML_DIVIDE_OP, 0, 0, ACPI_BTYPE_NUMBER),
|
/* DIVIDE */ OP_TABLE_ENTRY (AML_DIVIDE_OP, 0, 0, ACPI_BTYPE_INTEGER),
|
||||||
/* DMA */ OP_TABLE_ENTRY (AML_DEFAULT_ARG_OP, 0, 0, 0),
|
/* DMA */ OP_TABLE_ENTRY (AML_DEFAULT_ARG_OP, 0, 0, 0),
|
||||||
/* DMATYPE_A */ OP_TABLE_ENTRY (AML_BYTE_OP, 1, 0, 0),
|
/* DMATYPE_A */ OP_TABLE_ENTRY (AML_BYTE_OP, 1, 0, 0),
|
||||||
/* DMATYPE_COMPATIBILITY */ OP_TABLE_ENTRY (AML_BYTE_OP, 0, 0, 0),
|
/* DMATYPE_COMPATIBILITY */ OP_TABLE_ENTRY (AML_BYTE_OP, 0, 0, 0),
|
||||||
/* DMATYPE_B */ OP_TABLE_ENTRY (AML_BYTE_OP, 2, 0, 0),
|
/* DMATYPE_B */ OP_TABLE_ENTRY (AML_BYTE_OP, 2, 0, 0),
|
||||||
/* DMATYPE_F */ OP_TABLE_ENTRY (AML_BYTE_OP, 3, 0, 0),
|
/* DMATYPE_F */ OP_TABLE_ENTRY (AML_BYTE_OP, 3, 0, 0),
|
||||||
/* DWORDCONST */ OP_TABLE_ENTRY (AML_RAW_DATA_DWORD, 0, 0, ACPI_BTYPE_NUMBER),
|
/* DWORDCONST */ OP_TABLE_ENTRY (AML_RAW_DATA_DWORD, 0, 0, ACPI_BTYPE_INTEGER),
|
||||||
/* DWORDIO */ OP_TABLE_ENTRY (AML_DEFAULT_ARG_OP, 0, 0, 0),
|
/* DWORDIO */ OP_TABLE_ENTRY (AML_DEFAULT_ARG_OP, 0, 0, 0),
|
||||||
/* DWORDMEMORY */ OP_TABLE_ENTRY (AML_DEFAULT_ARG_OP, 0, 0, 0),
|
/* DWORDMEMORY */ OP_TABLE_ENTRY (AML_DEFAULT_ARG_OP, 0, 0, 0),
|
||||||
/* EISAID */ OP_TABLE_ENTRY (AML_DWORD_OP, 0, 0, 0),
|
/* EISAID */ OP_TABLE_ENTRY (AML_DWORD_OP, 0, 0, 0),
|
||||||
@ -361,19 +366,19 @@ ASL_MAPPING_ENTRY AslKeywordMapping [] =
|
|||||||
/* EVENT */ OP_TABLE_ENTRY (AML_EVENT_OP, 0, 0, 0),
|
/* EVENT */ OP_TABLE_ENTRY (AML_EVENT_OP, 0, 0, 0),
|
||||||
/* EXTERNAL */ OP_TABLE_ENTRY (AML_DEFAULT_ARG_OP, 0, 0, 0),
|
/* EXTERNAL */ OP_TABLE_ENTRY (AML_DEFAULT_ARG_OP, 0, 0, 0),
|
||||||
/* FATAL */ OP_TABLE_ENTRY (AML_FATAL_OP, 0, 0, 0),
|
/* FATAL */ OP_TABLE_ENTRY (AML_FATAL_OP, 0, 0, 0),
|
||||||
/* FIELD */ OP_TABLE_ENTRY (AML_DEF_FIELD_OP, 0, NODE_AML_PACKAGE, 0),
|
/* FIELD */ OP_TABLE_ENTRY (AML_FIELD_OP, 0, NODE_AML_PACKAGE, 0),
|
||||||
/* FINDSETLEFTBIT */ OP_TABLE_ENTRY (AML_FIND_SET_LEFT_BIT_OP, 0, 0, ACPI_BTYPE_NUMBER),
|
/* FINDSETLEFTBIT */ OP_TABLE_ENTRY (AML_FIND_SET_LEFT_BIT_OP, 0, 0, ACPI_BTYPE_INTEGER),
|
||||||
/* FINDSETRIGHTBIT */ OP_TABLE_ENTRY (AML_FIND_SET_RIGHT_BIT_OP, 0, 0, ACPI_BTYPE_NUMBER),
|
/* FINDSETRIGHTBIT */ OP_TABLE_ENTRY (AML_FIND_SET_RIGHT_BIT_OP, 0, 0, ACPI_BTYPE_INTEGER),
|
||||||
/* FIXEDIO */ OP_TABLE_ENTRY (AML_DEFAULT_ARG_OP, 0, 0, 0),
|
/* FIXEDIO */ OP_TABLE_ENTRY (AML_DEFAULT_ARG_OP, 0, 0, 0),
|
||||||
/* FROMBCD */ OP_TABLE_ENTRY (AML_FROM_BCD_OP, 0, 0, ACPI_BTYPE_NUMBER),
|
/* FROMBCD */ OP_TABLE_ENTRY (AML_FROM_BCD_OP, 0, 0, ACPI_BTYPE_INTEGER),
|
||||||
/* IF */ OP_TABLE_ENTRY (AML_IF_OP, 0, NODE_AML_PACKAGE, 0),
|
/* IF */ OP_TABLE_ENTRY (AML_IF_OP, 0, NODE_AML_PACKAGE, 0),
|
||||||
/* INCLUDE */ OP_TABLE_ENTRY (AML_DEFAULT_ARG_OP, 0, 0, 0),
|
/* INCLUDE */ OP_TABLE_ENTRY (AML_DEFAULT_ARG_OP, 0, 0, 0),
|
||||||
/* INCLUDE_CSTYLE */ OP_TABLE_ENTRY (AML_DEFAULT_ARG_OP, 0, 0, 0),
|
/* INCLUDE_CSTYLE */ OP_TABLE_ENTRY (AML_DEFAULT_ARG_OP, 0, 0, 0),
|
||||||
/* INCLUDE_END */ OP_TABLE_ENTRY (AML_DEFAULT_ARG_OP, 0, 0, 0),
|
/* INCLUDE_END */ OP_TABLE_ENTRY (AML_DEFAULT_ARG_OP, 0, 0, 0),
|
||||||
/* INCREMENT */ OP_TABLE_ENTRY (AML_INCREMENT_OP, 0, 0, ACPI_BTYPE_NUMBER),
|
/* INCREMENT */ OP_TABLE_ENTRY (AML_INCREMENT_OP, 0, 0, ACPI_BTYPE_INTEGER),
|
||||||
/* INDEX */ OP_TABLE_ENTRY (AML_INDEX_OP, 0, 0, ACPI_BTYPE_REFERENCE),
|
/* INDEX */ OP_TABLE_ENTRY (AML_INDEX_OP, 0, 0, ACPI_BTYPE_REFERENCE),
|
||||||
/* INDEXFIELD */ OP_TABLE_ENTRY (AML_INDEX_FIELD_OP, 0, NODE_AML_PACKAGE, 0),
|
/* INDEXFIELD */ OP_TABLE_ENTRY (AML_INDEX_FIELD_OP, 0, NODE_AML_PACKAGE, 0),
|
||||||
/* INTEGER */ OP_TABLE_ENTRY (AML_BYTE_OP, 0, 0, ACPI_BTYPE_NUMBER),
|
/* INTEGER */ OP_TABLE_ENTRY (AML_BYTE_OP, 0, 0, ACPI_BTYPE_INTEGER),
|
||||||
/* INTERRUPT */ OP_TABLE_ENTRY (AML_DEFAULT_ARG_OP, 0, 0, 0),
|
/* INTERRUPT */ OP_TABLE_ENTRY (AML_DEFAULT_ARG_OP, 0, 0, 0),
|
||||||
/* INTLEVEL_ACTIVEHIGH */ OP_TABLE_ENTRY (AML_BYTE_OP, 0, 0, 0),
|
/* INTLEVEL_ACTIVEHIGH */ OP_TABLE_ENTRY (AML_BYTE_OP, 0, 0, 0),
|
||||||
/* INTLEVEL_ACTIVELOW */ OP_TABLE_ENTRY (AML_BYTE_OP, 1, 0, 0),
|
/* INTLEVEL_ACTIVELOW */ OP_TABLE_ENTRY (AML_BYTE_OP, 1, 0, 0),
|
||||||
@ -384,14 +389,14 @@ ASL_MAPPING_ENTRY AslKeywordMapping [] =
|
|||||||
/* IODECODETYPE_16 */ OP_TABLE_ENTRY (AML_BYTE_OP, 1, 0, 0),
|
/* IODECODETYPE_16 */ OP_TABLE_ENTRY (AML_BYTE_OP, 1, 0, 0),
|
||||||
/* IRQ */ OP_TABLE_ENTRY (AML_DEFAULT_ARG_OP, 0, 0, 0),
|
/* IRQ */ OP_TABLE_ENTRY (AML_DEFAULT_ARG_OP, 0, 0, 0),
|
||||||
/* IRQNOFLAGS */ OP_TABLE_ENTRY (AML_DEFAULT_ARG_OP, 0, 0, 0),
|
/* IRQNOFLAGS */ OP_TABLE_ENTRY (AML_DEFAULT_ARG_OP, 0, 0, 0),
|
||||||
/* LAND */ OP_TABLE_ENTRY (AML_LAND_OP, 0, 0, ACPI_BTYPE_NUMBER),
|
/* LAND */ OP_TABLE_ENTRY (AML_LAND_OP, 0, 0, ACPI_BTYPE_INTEGER),
|
||||||
/* LEQUAL */ OP_TABLE_ENTRY (AML_LEQUAL_OP, 0, 0, ACPI_BTYPE_NUMBER),
|
/* LEQUAL */ OP_TABLE_ENTRY (AML_LEQUAL_OP, 0, 0, ACPI_BTYPE_INTEGER),
|
||||||
/* LGREATER */ OP_TABLE_ENTRY (AML_LGREATER_OP, 0, 0, ACPI_BTYPE_NUMBER),
|
/* LGREATER */ OP_TABLE_ENTRY (AML_LGREATER_OP, 0, 0, ACPI_BTYPE_INTEGER),
|
||||||
/* LGREATEREQUAL */ OP_TABLE_ENTRY (AML_LGREATEREQUAL_OP, 0, 0, ACPI_BTYPE_NUMBER),
|
/* LGREATEREQUAL */ OP_TABLE_ENTRY (AML_LGREATEREQUAL_OP, 0, 0, ACPI_BTYPE_INTEGER),
|
||||||
/* LLESS */ OP_TABLE_ENTRY (AML_LLESS_OP, 0, 0, ACPI_BTYPE_NUMBER),
|
/* LLESS */ OP_TABLE_ENTRY (AML_LLESS_OP, 0, 0, ACPI_BTYPE_INTEGER),
|
||||||
/* LLESSEQUAL */ OP_TABLE_ENTRY (AML_LLESSEQUAL_OP, 0, 0, ACPI_BTYPE_NUMBER),
|
/* LLESSEQUAL */ OP_TABLE_ENTRY (AML_LLESSEQUAL_OP, 0, 0, ACPI_BTYPE_INTEGER),
|
||||||
/* LNOT */ OP_TABLE_ENTRY (AML_LNOT_OP, 0, 0, ACPI_BTYPE_NUMBER),
|
/* LNOT */ OP_TABLE_ENTRY (AML_LNOT_OP, 0, 0, ACPI_BTYPE_INTEGER),
|
||||||
/* LNOTEQUAL */ OP_TABLE_ENTRY (AML_LNOTEQUAL_OP, 0, 0, ACPI_BTYPE_NUMBER),
|
/* LNOTEQUAL */ OP_TABLE_ENTRY (AML_LNOTEQUAL_OP, 0, 0, ACPI_BTYPE_INTEGER),
|
||||||
/* LOAD */ OP_TABLE_ENTRY (AML_LOAD_OP, 0, 0, 0),
|
/* LOAD */ OP_TABLE_ENTRY (AML_LOAD_OP, 0, 0, 0),
|
||||||
/* LOADTABLE */ OP_TABLE_ENTRY (AML_LOAD_TABLE_OP, 0, 0, ACPI_BTYPE_DDB_HANDLE),
|
/* LOADTABLE */ OP_TABLE_ENTRY (AML_LOAD_TABLE_OP, 0, 0, ACPI_BTYPE_DDB_HANDLE),
|
||||||
/* LOCAL0 */ OP_TABLE_ENTRY (AML_LOCAL0, 0, 0, ACPI_BTYPE_OBJECTS_AND_REFS),
|
/* LOCAL0 */ OP_TABLE_ENTRY (AML_LOCAL0, 0, 0, ACPI_BTYPE_OBJECTS_AND_REFS),
|
||||||
@ -404,14 +409,14 @@ ASL_MAPPING_ENTRY AslKeywordMapping [] =
|
|||||||
/* LOCAL7 */ OP_TABLE_ENTRY (AML_LOCAL7, 0, 0, ACPI_BTYPE_OBJECTS_AND_REFS),
|
/* LOCAL7 */ OP_TABLE_ENTRY (AML_LOCAL7, 0, 0, ACPI_BTYPE_OBJECTS_AND_REFS),
|
||||||
/* LOCKRULE_LOCK */ OP_TABLE_ENTRY (AML_BYTE_OP, GLOCK_ALWAYS_LOCK, 0, 0),
|
/* LOCKRULE_LOCK */ OP_TABLE_ENTRY (AML_BYTE_OP, GLOCK_ALWAYS_LOCK, 0, 0),
|
||||||
/* LOCKRULE_NOLOCK */ OP_TABLE_ENTRY (AML_BYTE_OP, GLOCK_NEVER_LOCK, 0, 0),
|
/* LOCKRULE_NOLOCK */ OP_TABLE_ENTRY (AML_BYTE_OP, GLOCK_NEVER_LOCK, 0, 0),
|
||||||
/* LOR */ OP_TABLE_ENTRY (AML_LOR_OP, 0, 0, ACPI_BTYPE_NUMBER),
|
/* LOR */ OP_TABLE_ENTRY (AML_LOR_OP, 0, 0, ACPI_BTYPE_INTEGER),
|
||||||
/* MATCH */ OP_TABLE_ENTRY (AML_MATCH_OP, 0, 0, ACPI_BTYPE_NUMBER),
|
/* MATCH */ OP_TABLE_ENTRY (AML_MATCH_OP, 0, 0, ACPI_BTYPE_INTEGER),
|
||||||
/* MATCHTYPE_MEQ */ OP_TABLE_ENTRY (AML_RAW_DATA_BYTE, MATCH_MEQ, 0, ACPI_BTYPE_NUMBER),
|
/* MATCHTYPE_MEQ */ OP_TABLE_ENTRY (AML_RAW_DATA_BYTE, MATCH_MEQ, 0, ACPI_BTYPE_INTEGER),
|
||||||
/* MATCHTYPE_MGE */ OP_TABLE_ENTRY (AML_RAW_DATA_BYTE, MATCH_MGE, 0, ACPI_BTYPE_NUMBER),
|
/* MATCHTYPE_MGE */ OP_TABLE_ENTRY (AML_RAW_DATA_BYTE, MATCH_MGE, 0, ACPI_BTYPE_INTEGER),
|
||||||
/* MATCHTYPE_MGT */ OP_TABLE_ENTRY (AML_RAW_DATA_BYTE, MATCH_MGT, 0, ACPI_BTYPE_NUMBER),
|
/* MATCHTYPE_MGT */ OP_TABLE_ENTRY (AML_RAW_DATA_BYTE, MATCH_MGT, 0, ACPI_BTYPE_INTEGER),
|
||||||
/* MATCHTYPE_MLE */ OP_TABLE_ENTRY (AML_RAW_DATA_BYTE, MATCH_MLE, 0, ACPI_BTYPE_NUMBER),
|
/* MATCHTYPE_MLE */ OP_TABLE_ENTRY (AML_RAW_DATA_BYTE, MATCH_MLE, 0, ACPI_BTYPE_INTEGER),
|
||||||
/* MATCHTYPE_MLT */ OP_TABLE_ENTRY (AML_RAW_DATA_BYTE, MATCH_MLT, 0, ACPI_BTYPE_NUMBER),
|
/* MATCHTYPE_MLT */ OP_TABLE_ENTRY (AML_RAW_DATA_BYTE, MATCH_MLT, 0, ACPI_BTYPE_INTEGER),
|
||||||
/* MATCHTYPE_MTR */ OP_TABLE_ENTRY (AML_RAW_DATA_BYTE, MATCH_MTR, 0, ACPI_BTYPE_NUMBER),
|
/* MATCHTYPE_MTR */ OP_TABLE_ENTRY (AML_RAW_DATA_BYTE, MATCH_MTR, 0, ACPI_BTYPE_INTEGER),
|
||||||
/* MAXTYPE_FIXED */ OP_TABLE_ENTRY (AML_BYTE_OP, 1, 0, 0),
|
/* MAXTYPE_FIXED */ OP_TABLE_ENTRY (AML_BYTE_OP, 1, 0, 0),
|
||||||
/* MAXTYPE_NOTFIXED */ OP_TABLE_ENTRY (AML_BYTE_OP, 0, 0, 0),
|
/* MAXTYPE_NOTFIXED */ OP_TABLE_ENTRY (AML_BYTE_OP, 0, 0, 0),
|
||||||
/* MEMORY24 */ OP_TABLE_ENTRY (AML_DEFAULT_ARG_OP, 0, 0, 0),
|
/* MEMORY24 */ OP_TABLE_ENTRY (AML_DEFAULT_ARG_OP, 0, 0, 0),
|
||||||
@ -426,25 +431,25 @@ ASL_MAPPING_ENTRY AslKeywordMapping [] =
|
|||||||
/* MID */ OP_TABLE_ENTRY (AML_MID_OP, 0, 0, ACPI_BTYPE_STRING | ACPI_BTYPE_BUFFER),
|
/* MID */ OP_TABLE_ENTRY (AML_MID_OP, 0, 0, ACPI_BTYPE_STRING | ACPI_BTYPE_BUFFER),
|
||||||
/* MINTYPE_FIXED */ OP_TABLE_ENTRY (AML_BYTE_OP, 1, 0, 0),
|
/* MINTYPE_FIXED */ OP_TABLE_ENTRY (AML_BYTE_OP, 1, 0, 0),
|
||||||
/* MINTYPE_NOTFIXED */ OP_TABLE_ENTRY (AML_BYTE_OP, 0, 0, 0),
|
/* MINTYPE_NOTFIXED */ OP_TABLE_ENTRY (AML_BYTE_OP, 0, 0, 0),
|
||||||
/* MOD */ OP_TABLE_ENTRY (AML_MOD_OP, 0, 0, ACPI_BTYPE_NUMBER),
|
/* MOD */ OP_TABLE_ENTRY (AML_MOD_OP, 0, 0, ACPI_BTYPE_INTEGER),
|
||||||
/* MULTIPLY */ OP_TABLE_ENTRY (AML_MULTIPLY_OP, 0, 0, ACPI_BTYPE_NUMBER),
|
/* MULTIPLY */ OP_TABLE_ENTRY (AML_MULTIPLY_OP, 0, 0, ACPI_BTYPE_INTEGER),
|
||||||
/* MUTEX */ OP_TABLE_ENTRY (AML_MUTEX_OP, 0, 0, 0),
|
/* MUTEX */ OP_TABLE_ENTRY (AML_MUTEX_OP, 0, 0, 0),
|
||||||
/* NAME */ OP_TABLE_ENTRY (AML_NAME_OP, 0, 0, 0),
|
/* NAME */ OP_TABLE_ENTRY (AML_NAME_OP, 0, 0, 0),
|
||||||
/* NAMESEG */ OP_TABLE_ENTRY (AML_BYTE_OP, 0, 0, 0),
|
/* NAMESEG */ OP_TABLE_ENTRY (AML_BYTE_OP, 0, 0, 0),
|
||||||
/* NAMESTRING */ OP_TABLE_ENTRY (AML_BYTE_OP, 0, 0, 0),
|
/* NAMESTRING */ OP_TABLE_ENTRY (AML_BYTE_OP, 0, 0, 0),
|
||||||
/* NAND */ OP_TABLE_ENTRY (AML_BIT_NAND_OP, 0, 0, ACPI_BTYPE_NUMBER),
|
/* NAND */ OP_TABLE_ENTRY (AML_BIT_NAND_OP, 0, 0, ACPI_BTYPE_INTEGER),
|
||||||
/* NOOP */ OP_TABLE_ENTRY (AML_NOOP_OP, 0, 0, 0),
|
/* NOOP */ OP_TABLE_ENTRY (AML_NOOP_OP, 0, 0, 0),
|
||||||
/* NOR */ OP_TABLE_ENTRY (AML_BIT_NOR_OP, 0, 0, ACPI_BTYPE_NUMBER),
|
/* NOR */ OP_TABLE_ENTRY (AML_BIT_NOR_OP, 0, 0, ACPI_BTYPE_INTEGER),
|
||||||
/* NOT */ OP_TABLE_ENTRY (AML_BIT_NOT_OP, 0, 0, ACPI_BTYPE_NUMBER),
|
/* NOT */ OP_TABLE_ENTRY (AML_BIT_NOT_OP, 0, 0, ACPI_BTYPE_INTEGER),
|
||||||
/* NOTIFY */ OP_TABLE_ENTRY (AML_NOTIFY_OP, 0, 0, 0),
|
/* NOTIFY */ OP_TABLE_ENTRY (AML_NOTIFY_OP, 0, 0, 0),
|
||||||
/* OBJECTTYPE */ OP_TABLE_ENTRY (AML_TYPE_OP, 0, 0, ACPI_BTYPE_NUMBER),
|
/* OBJECTTYPE */ OP_TABLE_ENTRY (AML_TYPE_OP, 0, 0, ACPI_BTYPE_INTEGER),
|
||||||
/* OBJECTTYPE_BFF */ OP_TABLE_ENTRY (AML_BYTE_OP, ACPI_TYPE_BUFFER_FIELD,0, 0),
|
/* OBJECTTYPE_BFF */ OP_TABLE_ENTRY (AML_BYTE_OP, ACPI_TYPE_BUFFER_FIELD,0, 0),
|
||||||
/* OBJECTTYPE_BUF */ OP_TABLE_ENTRY (AML_BYTE_OP, ACPI_TYPE_BUFFER, 0, 0),
|
/* OBJECTTYPE_BUF */ OP_TABLE_ENTRY (AML_BYTE_OP, ACPI_TYPE_BUFFER, 0, 0),
|
||||||
/* OBJECTTYPE_DDB */ OP_TABLE_ENTRY (AML_BYTE_OP, ACPI_TYPE_DDB_HANDLE,0, 0),
|
/* OBJECTTYPE_DDB */ OP_TABLE_ENTRY (AML_BYTE_OP, ACPI_TYPE_DDB_HANDLE,0, 0),
|
||||||
/* OBJECTTYPE_DEV */ OP_TABLE_ENTRY (AML_BYTE_OP, ACPI_TYPE_DEVICE, 0, 0),
|
/* OBJECTTYPE_DEV */ OP_TABLE_ENTRY (AML_BYTE_OP, ACPI_TYPE_DEVICE, 0, 0),
|
||||||
/* OBJECTTYPE_EVT */ OP_TABLE_ENTRY (AML_BYTE_OP, ACPI_TYPE_EVENT, 0, 0),
|
/* OBJECTTYPE_EVT */ OP_TABLE_ENTRY (AML_BYTE_OP, ACPI_TYPE_EVENT, 0, 0),
|
||||||
/* OBJECTTYPE_FLD */ OP_TABLE_ENTRY (AML_BYTE_OP, ACPI_TYPE_FIELD_UNIT,0, 0),
|
/* OBJECTTYPE_FLD */ OP_TABLE_ENTRY (AML_BYTE_OP, ACPI_TYPE_FIELD_UNIT,0, 0),
|
||||||
/* OBJECTTYPE_INT */ OP_TABLE_ENTRY (AML_BYTE_OP, ACPI_TYPE_NUMBER, 0, 0),
|
/* OBJECTTYPE_INT */ OP_TABLE_ENTRY (AML_BYTE_OP, ACPI_TYPE_INTEGER, 0, 0),
|
||||||
/* OBJECTTYPE_MTH */ OP_TABLE_ENTRY (AML_BYTE_OP, ACPI_TYPE_METHOD, 0, 0),
|
/* OBJECTTYPE_MTH */ OP_TABLE_ENTRY (AML_BYTE_OP, ACPI_TYPE_METHOD, 0, 0),
|
||||||
/* OBJECTTYPE_MTX */ OP_TABLE_ENTRY (AML_BYTE_OP, ACPI_TYPE_MUTEX, 0, 0),
|
/* OBJECTTYPE_MTX */ OP_TABLE_ENTRY (AML_BYTE_OP, ACPI_TYPE_MUTEX, 0, 0),
|
||||||
/* OBJECTTYPE_OPR */ OP_TABLE_ENTRY (AML_BYTE_OP, ACPI_TYPE_REGION, 0, 0),
|
/* OBJECTTYPE_OPR */ OP_TABLE_ENTRY (AML_BYTE_OP, ACPI_TYPE_REGION, 0, 0),
|
||||||
@ -453,16 +458,16 @@ ASL_MAPPING_ENTRY AslKeywordMapping [] =
|
|||||||
/* OBJECTTYPE_STR */ OP_TABLE_ENTRY (AML_BYTE_OP, ACPI_TYPE_STRING, 0, 0),
|
/* OBJECTTYPE_STR */ OP_TABLE_ENTRY (AML_BYTE_OP, ACPI_TYPE_STRING, 0, 0),
|
||||||
/* OBJECTTYPE_THZ */ OP_TABLE_ENTRY (AML_BYTE_OP, ACPI_TYPE_THERMAL, 0, 0),
|
/* OBJECTTYPE_THZ */ OP_TABLE_ENTRY (AML_BYTE_OP, ACPI_TYPE_THERMAL, 0, 0),
|
||||||
/* OBJECTTYPE_UNK */ OP_TABLE_ENTRY (AML_BYTE_OP, ACPI_TYPE_ANY, 0, 0),
|
/* OBJECTTYPE_UNK */ OP_TABLE_ENTRY (AML_BYTE_OP, ACPI_TYPE_ANY, 0, 0),
|
||||||
/* OFFSET */ OP_TABLE_ENTRY (AML_RESERVEDFIELD_OP, 0, 0, 0),
|
/* OFFSET */ OP_TABLE_ENTRY (AML_INT_RESERVEDFIELD_OP, 0, 0, 0),
|
||||||
/* ONE */ OP_TABLE_ENTRY (AML_ONE_OP, 0, 0, ACPI_BTYPE_NUMBER),
|
/* ONE */ OP_TABLE_ENTRY (AML_ONE_OP, 0, 0, ACPI_BTYPE_INTEGER),
|
||||||
/* ONES */ OP_TABLE_ENTRY (AML_ONES_OP, 0, 0, ACPI_BTYPE_NUMBER),
|
/* ONES */ OP_TABLE_ENTRY (AML_ONES_OP, 0, 0, ACPI_BTYPE_INTEGER),
|
||||||
/* OPERATIONREGION */ OP_TABLE_ENTRY (AML_REGION_OP, 0, 0, 0),
|
/* OPERATIONREGION */ OP_TABLE_ENTRY (AML_REGION_OP, 0, 0, 0),
|
||||||
/* OR */ OP_TABLE_ENTRY (AML_BIT_OR_OP, 0, 0, ACPI_BTYPE_NUMBER),
|
/* OR */ OP_TABLE_ENTRY (AML_BIT_OR_OP, 0, 0, ACPI_BTYPE_INTEGER),
|
||||||
/* PACKAGE */ OP_TABLE_ENTRY (AML_PACKAGE_OP, 0, NODE_AML_PACKAGE, ACPI_BTYPE_PACKAGE),
|
/* PACKAGE */ OP_TABLE_ENTRY (AML_PACKAGE_OP, 0, NODE_AML_PACKAGE, ACPI_BTYPE_PACKAGE),
|
||||||
/* PACKAGEP_LENGTH */ OP_TABLE_ENTRY (AML_PACKAGE_LENGTH, 0, NODE_AML_PACKAGE, 0),
|
/* PACKAGEP_LENGTH */ OP_TABLE_ENTRY (AML_PACKAGE_LENGTH, 0, NODE_AML_PACKAGE, 0),
|
||||||
/* POWERRESOURCE */ OP_TABLE_ENTRY (AML_POWER_RES_OP, 0, NODE_AML_PACKAGE, 0),
|
/* POWERRESOURCE */ OP_TABLE_ENTRY (AML_POWER_RES_OP, 0, NODE_AML_PACKAGE, 0),
|
||||||
/* PROCESSOR */ OP_TABLE_ENTRY (AML_PROCESSOR_OP, 0, NODE_AML_PACKAGE, 0),
|
/* PROCESSOR */ OP_TABLE_ENTRY (AML_PROCESSOR_OP, 0, NODE_AML_PACKAGE, 0),
|
||||||
/* QWORDCONST */ OP_TABLE_ENTRY (AML_RAW_DATA_QWORD, 0, 0, ACPI_BTYPE_NUMBER),
|
/* QWORDCONST */ OP_TABLE_ENTRY (AML_RAW_DATA_QWORD, 0, 0, ACPI_BTYPE_INTEGER),
|
||||||
/* QWORDIO */ OP_TABLE_ENTRY (AML_BYTE_OP, 0, 0, 0),
|
/* QWORDIO */ OP_TABLE_ENTRY (AML_BYTE_OP, 0, 0, 0),
|
||||||
/* QWORDMEMORY */ OP_TABLE_ENTRY (AML_BYTE_OP, 0, 0, 0),
|
/* QWORDMEMORY */ OP_TABLE_ENTRY (AML_BYTE_OP, 0, 0, 0),
|
||||||
/* RANGE_TYPE_ENTIRE */ OP_TABLE_ENTRY (AML_BYTE_OP, 3, 0, 0),
|
/* RANGE_TYPE_ENTIRE */ OP_TABLE_ENTRY (AML_BYTE_OP, 3, 0, 0),
|
||||||
@ -481,7 +486,7 @@ ASL_MAPPING_ENTRY AslKeywordMapping [] =
|
|||||||
/* REGIONSPACE_SMBUS */ OP_TABLE_ENTRY (AML_RAW_DATA_BYTE, REGION_SMBUS, 0, 0),
|
/* REGIONSPACE_SMBUS */ OP_TABLE_ENTRY (AML_RAW_DATA_BYTE, REGION_SMBUS, 0, 0),
|
||||||
/* REGISTER */ OP_TABLE_ENTRY (AML_BYTE_OP, 0, 0, 0),
|
/* REGISTER */ OP_TABLE_ENTRY (AML_BYTE_OP, 0, 0, 0),
|
||||||
/* RELEASE */ OP_TABLE_ENTRY (AML_RELEASE_OP, 0, 0, 0),
|
/* RELEASE */ OP_TABLE_ENTRY (AML_RELEASE_OP, 0, 0, 0),
|
||||||
/* RESERVED_BYTES */ OP_TABLE_ENTRY (AML_RESERVEDFIELD_OP, 0, 0, 0),
|
/* RESERVED_BYTES */ OP_TABLE_ENTRY (AML_INT_RESERVEDFIELD_OP, 0, 0, 0),
|
||||||
/* RESET */ OP_TABLE_ENTRY (AML_RESET_OP, 0, 0, 0),
|
/* RESET */ OP_TABLE_ENTRY (AML_RESET_OP, 0, 0, 0),
|
||||||
/* RESOURCETEMPLATE */ OP_TABLE_ENTRY (AML_BUFFER_OP, 0, 0, 0),
|
/* RESOURCETEMPLATE */ OP_TABLE_ENTRY (AML_BUFFER_OP, 0, 0, 0),
|
||||||
/* RESOURCETYPE_CONSUMER */ OP_TABLE_ENTRY (AML_BYTE_OP, 1, 0, 0),
|
/* RESOURCETYPE_CONSUMER */ OP_TABLE_ENTRY (AML_BYTE_OP, 1, 0, 0),
|
||||||
@ -493,24 +498,24 @@ ASL_MAPPING_ENTRY AslKeywordMapping [] =
|
|||||||
/* SERIALIZERULE_SERIAL */ OP_TABLE_ENTRY (AML_BYTE_OP, 1, 0, 0),
|
/* SERIALIZERULE_SERIAL */ OP_TABLE_ENTRY (AML_BYTE_OP, 1, 0, 0),
|
||||||
/* SHARETYPE_EXCLUSIVE */ OP_TABLE_ENTRY (AML_BYTE_OP, 0, 0, 0),
|
/* SHARETYPE_EXCLUSIVE */ OP_TABLE_ENTRY (AML_BYTE_OP, 0, 0, 0),
|
||||||
/* SHARETYPE_SHARED */ OP_TABLE_ENTRY (AML_BYTE_OP, 1, 0, 0),
|
/* SHARETYPE_SHARED */ OP_TABLE_ENTRY (AML_BYTE_OP, 1, 0, 0),
|
||||||
/* SHIFTLEFT */ OP_TABLE_ENTRY (AML_SHIFT_LEFT_OP, 0, 0, ACPI_BTYPE_NUMBER),
|
/* SHIFTLEFT */ OP_TABLE_ENTRY (AML_SHIFT_LEFT_OP, 0, 0, ACPI_BTYPE_INTEGER),
|
||||||
/* SHIFTRIGHT */ OP_TABLE_ENTRY (AML_SHIFT_RIGHT_OP, 0, 0, ACPI_BTYPE_NUMBER),
|
/* SHIFTRIGHT */ OP_TABLE_ENTRY (AML_SHIFT_RIGHT_OP, 0, 0, ACPI_BTYPE_INTEGER),
|
||||||
/* SIGNAL */ OP_TABLE_ENTRY (AML_SIGNAL_OP, 0, 0, 0),
|
/* SIGNAL */ OP_TABLE_ENTRY (AML_SIGNAL_OP, 0, 0, 0),
|
||||||
/* SIZEOF */ OP_TABLE_ENTRY (AML_SIZE_OF_OP, 0, 0, ACPI_BTYPE_NUMBER),
|
/* SIZEOF */ OP_TABLE_ENTRY (AML_SIZE_OF_OP, 0, 0, ACPI_BTYPE_INTEGER),
|
||||||
/* SLEEP */ OP_TABLE_ENTRY (AML_SLEEP_OP, 0, 0, 0),
|
/* SLEEP */ OP_TABLE_ENTRY (AML_SLEEP_OP, 0, 0, 0),
|
||||||
/* STALL */ OP_TABLE_ENTRY (AML_STALL_OP, 0, 0, 0),
|
/* STALL */ OP_TABLE_ENTRY (AML_STALL_OP, 0, 0, 0),
|
||||||
/* STARTDEPENDENTFN */ OP_TABLE_ENTRY (AML_BYTE_OP, 0, 0, 0),
|
/* STARTDEPENDENTFN */ OP_TABLE_ENTRY (AML_BYTE_OP, 0, 0, 0),
|
||||||
/* STARTDEPENDENTFN_NOPRI */ OP_TABLE_ENTRY (AML_BYTE_OP, 0, 0, 0),
|
/* STARTDEPENDENTFN_NOPRI */ OP_TABLE_ENTRY (AML_BYTE_OP, 0, 0, 0),
|
||||||
/* STORE */ OP_TABLE_ENTRY (AML_STORE_OP, 0, 0, ACPI_BTYPE_DATA_REFERENCE),
|
/* STORE */ OP_TABLE_ENTRY (AML_STORE_OP, 0, 0, ACPI_BTYPE_DATA_REFERENCE),
|
||||||
/* STRING_LITERAL */ OP_TABLE_ENTRY (AML_STRING_OP, 0, 0, ACPI_BTYPE_STRING),
|
/* STRING_LITERAL */ OP_TABLE_ENTRY (AML_STRING_OP, 0, 0, ACPI_BTYPE_STRING),
|
||||||
/* SUBTRACT */ OP_TABLE_ENTRY (AML_SUBTRACT_OP, 0, 0, ACPI_BTYPE_NUMBER),
|
/* SUBTRACT */ OP_TABLE_ENTRY (AML_SUBTRACT_OP, 0, 0, ACPI_BTYPE_INTEGER),
|
||||||
/* SWITCH */ OP_TABLE_ENTRY (AML_DEFAULT_ARG_OP, 0, 0, 0),
|
/* SWITCH */ OP_TABLE_ENTRY (AML_DEFAULT_ARG_OP, 0, 0, 0),
|
||||||
/* THERMALZONE */ OP_TABLE_ENTRY (AML_THERMAL_ZONE_OP, 0, NODE_AML_PACKAGE, 0),
|
/* THERMALZONE */ OP_TABLE_ENTRY (AML_THERMAL_ZONE_OP, 0, NODE_AML_PACKAGE, 0),
|
||||||
/* TOBCD */ OP_TABLE_ENTRY (AML_TO_BCD_OP, 0, 0, ACPI_BTYPE_NUMBER),
|
/* TOBCD */ OP_TABLE_ENTRY (AML_TO_BCD_OP, 0, 0, ACPI_BTYPE_INTEGER),
|
||||||
/* TOBUFFER */ OP_TABLE_ENTRY (AML_TO_BUFFER_OP, 0, 0, ACPI_BTYPE_COMPUTE_DATA),
|
/* TOBUFFER */ OP_TABLE_ENTRY (AML_TO_BUFFER_OP, 0, 0, ACPI_BTYPE_COMPUTE_DATA),
|
||||||
/* TODECIMALSTRING */ OP_TABLE_ENTRY (AML_TO_DECSTRING_OP, 0, 0, ACPI_BTYPE_STRING),
|
/* TODECIMALSTRING */ OP_TABLE_ENTRY (AML_TO_DECSTRING_OP, 0, 0, ACPI_BTYPE_STRING),
|
||||||
/* TOHEXSTRING */ OP_TABLE_ENTRY (AML_TO_HEXSTRING_OP, 0, 0, ACPI_BTYPE_STRING),
|
/* TOHEXSTRING */ OP_TABLE_ENTRY (AML_TO_HEXSTRING_OP, 0, 0, ACPI_BTYPE_STRING),
|
||||||
/* TOINTEGER */ OP_TABLE_ENTRY (AML_TO_INTEGER_OP, 0, 0, ACPI_BTYPE_NUMBER),
|
/* TOINTEGER */ OP_TABLE_ENTRY (AML_TO_INTEGER_OP, 0, 0, ACPI_BTYPE_INTEGER),
|
||||||
/* TOSTRING */ OP_TABLE_ENTRY (AML_TO_STRING_OP, 0, 0, ACPI_BTYPE_STRING),
|
/* TOSTRING */ OP_TABLE_ENTRY (AML_TO_STRING_OP, 0, 0, ACPI_BTYPE_STRING),
|
||||||
/* TRANSLATIONTYPE_DENSE */ OP_TABLE_ENTRY (AML_BYTE_OP, 0, 0, 0),
|
/* TRANSLATIONTYPE_DENSE */ OP_TABLE_ENTRY (AML_BYTE_OP, 0, 0, 0),
|
||||||
/* TRANSLATIONTYPE_SPARSE */ OP_TABLE_ENTRY (AML_BYTE_OP, 1, 0, 0),
|
/* TRANSLATIONTYPE_SPARSE */ OP_TABLE_ENTRY (AML_BYTE_OP, 1, 0, 0),
|
||||||
@ -523,23 +528,20 @@ ASL_MAPPING_ENTRY AslKeywordMapping [] =
|
|||||||
/* UPDATERULE_ZEROS */ OP_TABLE_ENTRY (AML_BYTE_OP, UPDATE_WRITE_AS_ZEROS, 0, 0),
|
/* UPDATERULE_ZEROS */ OP_TABLE_ENTRY (AML_BYTE_OP, UPDATE_WRITE_AS_ZEROS, 0, 0),
|
||||||
/* VENDORLONG */ OP_TABLE_ENTRY (AML_BYTE_OP, 0, 0, 0),
|
/* VENDORLONG */ OP_TABLE_ENTRY (AML_BYTE_OP, 0, 0, 0),
|
||||||
/* VENDORSHORT */ OP_TABLE_ENTRY (AML_BYTE_OP, 0, 0, 0),
|
/* VENDORSHORT */ OP_TABLE_ENTRY (AML_BYTE_OP, 0, 0, 0),
|
||||||
/* WAIT */ OP_TABLE_ENTRY (AML_WAIT_OP, 0, 0, ACPI_BTYPE_NUMBER),
|
/* WAIT */ OP_TABLE_ENTRY (AML_WAIT_OP, 0, 0, ACPI_BTYPE_INTEGER),
|
||||||
/* WHILE */ OP_TABLE_ENTRY (AML_WHILE_OP, 0, NODE_AML_PACKAGE, 0),
|
/* WHILE */ OP_TABLE_ENTRY (AML_WHILE_OP, 0, NODE_AML_PACKAGE, 0),
|
||||||
/* WORDBUSNUMBER */ OP_TABLE_ENTRY (AML_BYTE_OP, 0, 0, 0),
|
/* WORDBUSNUMBER */ OP_TABLE_ENTRY (AML_BYTE_OP, 0, 0, 0),
|
||||||
/* WORDCONST */ OP_TABLE_ENTRY (AML_RAW_DATA_WORD, 0, 0, ACPI_BTYPE_NUMBER),
|
/* WORDCONST */ OP_TABLE_ENTRY (AML_RAW_DATA_WORD, 0, 0, ACPI_BTYPE_INTEGER),
|
||||||
/* WORDIO */ OP_TABLE_ENTRY (AML_BYTE_OP, 0, 0, 0),
|
/* WORDIO */ OP_TABLE_ENTRY (AML_BYTE_OP, 0, 0, 0),
|
||||||
/* XFERTYPE_8 */ OP_TABLE_ENTRY (AML_BYTE_OP, 0, 0, 0),
|
/* XFERTYPE_8 */ OP_TABLE_ENTRY (AML_BYTE_OP, 0, 0, 0),
|
||||||
/* XFERTYPE_8_16 */ OP_TABLE_ENTRY (AML_BYTE_OP, 1, 0, 0),
|
/* XFERTYPE_8_16 */ OP_TABLE_ENTRY (AML_BYTE_OP, 1, 0, 0),
|
||||||
/* XFERTYPE_16 */ OP_TABLE_ENTRY (AML_BYTE_OP, 2, 0, 0),
|
/* XFERTYPE_16 */ OP_TABLE_ENTRY (AML_BYTE_OP, 2, 0, 0),
|
||||||
/* XOR */ OP_TABLE_ENTRY (AML_BIT_XOR_OP, 0, 0, ACPI_BTYPE_NUMBER),
|
/* XOR */ OP_TABLE_ENTRY (AML_BIT_XOR_OP, 0, 0, ACPI_BTYPE_INTEGER),
|
||||||
/* ZERO */ OP_TABLE_ENTRY (AML_ZERO_OP, 0, 0, ACPI_BTYPE_NUMBER),
|
/* ZERO */ OP_TABLE_ENTRY (AML_ZERO_OP, 0, 0, ACPI_BTYPE_INTEGER),
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
#define _COMPONENT MISCELLANEOUS
|
|
||||||
MODULE_NAME ("aslmap")
|
|
||||||
|
|
||||||
|
|
||||||
#include "amlcode.h"
|
#include "amlcode.h"
|
||||||
#include "acdispat.h"
|
#include "acdispat.h"
|
||||||
@ -625,7 +627,7 @@ AcpiDsMapOpcodeToDataType (
|
|||||||
case AML_WORD_OP:
|
case AML_WORD_OP:
|
||||||
case AML_DWORD_OP:
|
case AML_DWORD_OP:
|
||||||
|
|
||||||
DataType = ACPI_TYPE_NUMBER;
|
DataType = ACPI_TYPE_INTEGER;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
||||||
@ -634,7 +636,7 @@ AcpiDsMapOpcodeToDataType (
|
|||||||
DataType = ACPI_TYPE_STRING;
|
DataType = ACPI_TYPE_STRING;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case AML_NAMEPATH_OP:
|
case AML_INT_NAMEPATH_OP:
|
||||||
DataType = INTERNAL_TYPE_REFERENCE;
|
DataType = INTERNAL_TYPE_REFERENCE;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@ -740,7 +742,7 @@ AcpiDsMapOpcodeToDataType (
|
|||||||
* RETURN: The ACPI type associated with the named opcode
|
* RETURN: The ACPI type associated with the named opcode
|
||||||
*
|
*
|
||||||
* DESCRIPTION: Convert a raw Named AML opcode to the associated data type.
|
* DESCRIPTION: Convert a raw Named AML opcode to the associated data type.
|
||||||
* Named opcodes are a subsystem of the AML opcodes.
|
* Named opcodes are a subset of the AML opcodes.
|
||||||
*
|
*
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
||||||
@ -779,8 +781,8 @@ AcpiDsMapNamedOpcodeToDataType (
|
|||||||
DataType = ACPI_TYPE_PROCESSOR;
|
DataType = ACPI_TYPE_PROCESSOR;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case AML_DEF_FIELD_OP: /* DefFieldOp */
|
case AML_FIELD_OP: /* DefFieldOp */
|
||||||
DataType = INTERNAL_TYPE_DEF_FIELD_DEFN;
|
DataType = INTERNAL_TYPE_FIELD_DEFN;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case AML_INDEX_FIELD_OP: /* IndexFieldOp */
|
case AML_INDEX_FIELD_OP: /* IndexFieldOp */
|
||||||
@ -791,12 +793,12 @@ AcpiDsMapNamedOpcodeToDataType (
|
|||||||
DataType = INTERNAL_TYPE_BANK_FIELD_DEFN;
|
DataType = INTERNAL_TYPE_BANK_FIELD_DEFN;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case AML_NAMEDFIELD_OP: /* NO CASE IN ORIGINAL */
|
case AML_INT_NAMEDFIELD_OP: /* NO CASE IN ORIGINAL */
|
||||||
DataType = ACPI_TYPE_ANY;
|
DataType = ACPI_TYPE_ANY;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case AML_NAME_OP: /* NameOp - special code in original */
|
case AML_NAME_OP: /* NameOp - special code in original */
|
||||||
case AML_NAMEPATH_OP:
|
case AML_INT_NAMEPATH_OP:
|
||||||
DataType = ACPI_TYPE_ANY;
|
DataType = ACPI_TYPE_ANY;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@ -817,12 +819,12 @@ AcpiDsMapNamedOpcodeToDataType (
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case AML_CREATE_FIELD_OP:
|
case AML_CREATE_FIELD_OP:
|
||||||
case AML_DWORD_FIELD_OP:
|
case AML_CREATE_DWORD_FIELD_OP:
|
||||||
case AML_WORD_FIELD_OP:
|
case AML_CREATE_WORD_FIELD_OP:
|
||||||
case AML_BYTE_FIELD_OP:
|
case AML_CREATE_BYTE_FIELD_OP:
|
||||||
case AML_BIT_FIELD_OP:
|
case AML_CREATE_BIT_FIELD_OP:
|
||||||
case AML_QWORD_FIELD_OP:
|
case AML_CREATE_QWORD_FIELD_OP:
|
||||||
DataType = ACPI_TYPE_FIELD_UNIT;
|
DataType = ACPI_TYPE_BUFFER_FIELD;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user