mirror of
https://github.com/acpica/acpica/
synced 2025-03-04 21:31:41 +03:00
Fixed return macros
date 2001.10.22.21.56.00; author rmoore1; state Exp;
This commit is contained in:
parent
bfc396bdb9
commit
66790eb02b
@ -2,7 +2,7 @@
|
||||
*
|
||||
* Module Name: dsopcode - Dispatcher Op Region support and handling of
|
||||
* "control" opcodes
|
||||
* $Revision: 1.55 $
|
||||
* $Revision: 1.58 $
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
@ -172,17 +172,17 @@ AcpiDsGetBufferFieldArguments (
|
||||
|
||||
DEBUG_EXEC(AcpiUtDisplayInitPathname (Node, " [Field]"));
|
||||
ACPI_DEBUG_PRINT ((ACPI_DB_EXEC, "[%4.4s] BufferField JIT Init\n",
|
||||
&Node->Name));
|
||||
(char*)&Node->Name));
|
||||
|
||||
|
||||
/*
|
||||
* Allocate a new parser op to be the root of the parsed
|
||||
* OpRegion tree
|
||||
* BufferField tree
|
||||
*/
|
||||
Op = AcpiPsAllocOp (AML_SCOPE_OP);
|
||||
if (!Op)
|
||||
{
|
||||
return (AE_NO_MEMORY);
|
||||
return_ACPI_STATUS (AE_NO_MEMORY);
|
||||
}
|
||||
|
||||
/* Save the Node for use in AcpiPsParseAml */
|
||||
@ -242,7 +242,7 @@ AcpiDsGetBufferFieldArguments (
|
||||
Op = AcpiPsAllocOp (AML_SCOPE_OP);
|
||||
if (!Op)
|
||||
{
|
||||
return (AE_NO_MEMORY);
|
||||
return_ACPI_STATUS (AE_NO_MEMORY);
|
||||
}
|
||||
|
||||
Op->Node = AcpiNsGetParentObject (Node);
|
||||
@ -320,9 +320,8 @@ AcpiDsGetRegionArguments (
|
||||
|
||||
DEBUG_EXEC(AcpiUtDisplayInitPathname (Node, " [Operation Region]"));
|
||||
|
||||
ACPI_DEBUG_PRINT ((ACPI_DB_EXEC, "[%4.4s] OpRegion Init at AML %p[%x]\n",
|
||||
&Node->Name, ExtraDesc->Extra.AmlStart,
|
||||
*(UINT32*) ExtraDesc->Extra.AmlStart));
|
||||
ACPI_DEBUG_PRINT ((ACPI_DB_EXEC, "[%4.4s] OpRegion Init at AML %p\n",
|
||||
(char*)&Node->Name, ExtraDesc->Extra.AmlStart));
|
||||
|
||||
/*
|
||||
* Allocate a new parser op to be the root of the parsed
|
||||
@ -331,7 +330,7 @@ AcpiDsGetRegionArguments (
|
||||
Op = AcpiPsAllocOp (AML_SCOPE_OP);
|
||||
if (!Op)
|
||||
{
|
||||
return (AE_NO_MEMORY);
|
||||
return_ACPI_STATUS (AE_NO_MEMORY);
|
||||
}
|
||||
|
||||
/* Save the Node for use in AcpiPsParseAml */
|
||||
@ -391,7 +390,7 @@ AcpiDsGetRegionArguments (
|
||||
Op = AcpiPsAllocOp (AML_SCOPE_OP);
|
||||
if (!Op)
|
||||
{
|
||||
return (AE_NO_MEMORY);
|
||||
return_ACPI_STATUS (AE_NO_MEMORY);
|
||||
}
|
||||
|
||||
Op->Node = AcpiNsGetParentObject (Node);
|
||||
@ -850,7 +849,7 @@ AcpiDsEvalRegionOperands (
|
||||
AcpiUtRemoveReference (OperandDesc);
|
||||
|
||||
|
||||
ACPI_DEBUG_PRINT ((ACPI_DB_EXEC, "RgnObj %p Addr %8.8lX%8.8lX Len %X\n",
|
||||
ACPI_DEBUG_PRINT ((ACPI_DB_EXEC, "RgnObj %p Addr %8.8X%8.8X Len %X\n",
|
||||
ObjDesc, HIDWORD(ObjDesc->Region.Address), LODWORD(ObjDesc->Region.Address),
|
||||
ObjDesc->Region.Length));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user