mirror of
https://github.com/acpica/acpica/
synced 2025-01-30 21:25:28 +03:00
Prefixed C library macros (MEMSET, etc.) with "ACPI_".
date 2002.02.13.18.54.00; author rmoore1; state Exp;
This commit is contained in:
parent
d49aa868e5
commit
7aa2cb73e3
@ -1,7 +1,7 @@
|
||||
/******************************************************************************
|
||||
*
|
||||
* Module Name: psutils - Parser miscellaneous utilities (Parser only)
|
||||
* $Revision: 1.46 $
|
||||
* $Revision: 1.49 $
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
*
|
||||
* 1. Copyright Notice
|
||||
*
|
||||
* Some or all of this work - Copyright (c) 1999, 2000, 2001, Intel Corp.
|
||||
* Some or all of this work - Copyright (c) 1999 - 2002, Intel Corp.
|
||||
* All rights reserved.
|
||||
*
|
||||
* 2. License
|
||||
@ -120,7 +120,7 @@
|
||||
#include "amlcode.h"
|
||||
|
||||
#define _COMPONENT ACPI_PARSER
|
||||
MODULE_NAME ("psutils")
|
||||
ACPI_MODULE_NAME ("psutils")
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
@ -142,14 +142,14 @@ AcpiPsInitOp (
|
||||
ACPI_PARSE_OBJECT *Op,
|
||||
UINT16 Opcode)
|
||||
{
|
||||
FUNCTION_ENTRY ();
|
||||
ACPI_FUNCTION_ENTRY ();
|
||||
|
||||
|
||||
Op->DataType = ACPI_DESC_TYPE_PARSER;
|
||||
Op->Opcode = Opcode;
|
||||
|
||||
DEBUG_ONLY_MEMBERS (STRNCPY (Op->OpName, (AcpiPsGetOpcodeInfo (Opcode))->Name,
|
||||
sizeof (Op->OpName)));
|
||||
ACPI_DEBUG_ONLY_MEMBERS (ACPI_STRNCPY (Op->OpName,
|
||||
(AcpiPsGetOpcodeInfo (Opcode))->Name, sizeof (Op->OpName)));
|
||||
}
|
||||
|
||||
|
||||
@ -177,7 +177,7 @@ AcpiPsAllocOp (
|
||||
const ACPI_OPCODE_INFO *OpInfo;
|
||||
|
||||
|
||||
FUNCTION_ENTRY ();
|
||||
ACPI_FUNCTION_ENTRY ();
|
||||
|
||||
|
||||
OpInfo = AcpiPsGetOpcodeInfo (Opcode);
|
||||
@ -187,25 +187,25 @@ AcpiPsAllocOp (
|
||||
if (OpInfo->Flags & AML_DEFER)
|
||||
{
|
||||
Size = sizeof (ACPI_PARSE2_OBJECT);
|
||||
Flags = PARSEOP_DEFERRED;
|
||||
Flags = ACPI_PARSEOP_DEFERRED;
|
||||
}
|
||||
|
||||
else if (OpInfo->Flags & AML_NAMED)
|
||||
{
|
||||
Size = sizeof (ACPI_PARSE2_OBJECT);
|
||||
Flags = PARSEOP_NAMED;
|
||||
Flags = ACPI_PARSEOP_NAMED;
|
||||
}
|
||||
|
||||
else if (Opcode == AML_INT_BYTELIST_OP)
|
||||
{
|
||||
Size = sizeof (ACPI_PARSE2_OBJECT);
|
||||
Flags = PARSEOP_BYTELIST;
|
||||
Flags = ACPI_PARSEOP_BYTELIST;
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
Size = sizeof (ACPI_PARSE_OBJECT);
|
||||
Flags = PARSEOP_GENERIC;
|
||||
Flags = ACPI_PARSEOP_GENERIC;
|
||||
}
|
||||
|
||||
|
||||
@ -251,7 +251,7 @@ void
|
||||
AcpiPsFreeOp (
|
||||
ACPI_PARSE_OBJECT *Op)
|
||||
{
|
||||
PROC_NAME ("PsFreeOp");
|
||||
ACPI_FUNCTION_NAME ("PsFreeOp");
|
||||
|
||||
|
||||
if (Op->Opcode == AML_INT_RETURN_VALUE_OP)
|
||||
@ -259,7 +259,7 @@ AcpiPsFreeOp (
|
||||
ACPI_DEBUG_PRINT ((ACPI_DB_INFO, "Free retval op: %p\n", Op));
|
||||
}
|
||||
|
||||
if (Op->Flags == PARSEOP_GENERIC)
|
||||
if (Op->Flags == ACPI_PARSEOP_GENERIC)
|
||||
{
|
||||
AcpiUtReleaseToCache (ACPI_MEM_LIST_PSNODE, Op);
|
||||
}
|
||||
@ -287,7 +287,7 @@ void
|
||||
AcpiPsDeleteParseCache (
|
||||
void)
|
||||
{
|
||||
FUNCTION_TRACE ("PsDeleteParseCache");
|
||||
ACPI_FUNCTION_TRACE ("PsDeleteParseCache");
|
||||
|
||||
|
||||
AcpiUtDeleteGenericCache (ACPI_MEM_LIST_PSNODE);
|
||||
@ -338,7 +338,7 @@ AcpiPsGetName (
|
||||
|
||||
/* The "generic" object has no name associated with it */
|
||||
|
||||
if (Op->Flags & PARSEOP_GENERIC)
|
||||
if (Op->Flags & ACPI_PARSEOP_GENERIC)
|
||||
{
|
||||
return (0);
|
||||
}
|
||||
@ -360,7 +360,7 @@ AcpiPsSetName (
|
||||
|
||||
/* The "generic" object has no name associated with it */
|
||||
|
||||
if (Op->Flags & PARSEOP_GENERIC)
|
||||
if (Op->Flags & ACPI_PARSEOP_GENERIC)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user