mirror of
https://github.com/acpica/acpica/
synced 2025-02-24 17:34:43 +03:00
Ensure all instances of AE_AML_INTERNAL have error messages
This exception is only meaningful with an associated error message.
This commit is contained in:
parent
c89d33e730
commit
ea9152daae
@ -313,6 +313,8 @@ AcpiDsCreateBufferField (
|
||||
|
||||
if (!(WalkState->ParseFlags & ACPI_PARSE_EXECUTE))
|
||||
{
|
||||
ACPI_ERROR ((AE_INFO,
|
||||
"Parse execute mode is not set"));
|
||||
return_ACPI_STATUS (AE_AML_INTERNAL);
|
||||
}
|
||||
|
||||
@ -701,6 +703,8 @@ AcpiDsInitFieldObjects (
|
||||
return_ACPI_STATUS (AE_OK);
|
||||
}
|
||||
|
||||
ACPI_ERROR ((AE_INFO,
|
||||
"Parse deferred mode is not set"));
|
||||
return_ACPI_STATUS (AE_AML_INTERNAL);
|
||||
}
|
||||
|
||||
|
@ -401,6 +401,8 @@ AcpiExDoLogicalNumericOp (
|
||||
|
||||
default:
|
||||
|
||||
ACPI_ERROR ((AE_INFO,
|
||||
"Invalid numeric logical opcode: %X", Opcode));
|
||||
Status = AE_AML_INTERNAL;
|
||||
break;
|
||||
}
|
||||
@ -486,6 +488,9 @@ AcpiExDoLogicalOp (
|
||||
|
||||
default:
|
||||
|
||||
ACPI_ERROR ((AE_INFO,
|
||||
"Invalid object type for logical operator: %X",
|
||||
Operand0->Common.Type));
|
||||
Status = AE_AML_INTERNAL;
|
||||
break;
|
||||
}
|
||||
@ -535,6 +540,8 @@ AcpiExDoLogicalOp (
|
||||
|
||||
default:
|
||||
|
||||
ACPI_ERROR ((AE_INFO,
|
||||
"Invalid comparison opcode: %X", Opcode));
|
||||
Status = AE_AML_INTERNAL;
|
||||
break;
|
||||
}
|
||||
@ -613,6 +620,8 @@ AcpiExDoLogicalOp (
|
||||
|
||||
default:
|
||||
|
||||
ACPI_ERROR ((AE_INFO,
|
||||
"Invalid comparison opcode: %X", Opcode));
|
||||
Status = AE_AML_INTERNAL;
|
||||
break;
|
||||
}
|
||||
|
@ -556,6 +556,8 @@ AcpiExOpcode_2A_1T_1R (
|
||||
|
||||
default:
|
||||
|
||||
ACPI_ERROR ((AE_INFO,
|
||||
"Invalid object type: %X", (Operand[0])->Common.Type));
|
||||
Status = AE_AML_INTERNAL;
|
||||
goto Cleanup;
|
||||
}
|
||||
|
@ -722,6 +722,8 @@ AcpiNsCheckPackageList (
|
||||
|
||||
default: /* Should not get here, type was validated by caller */
|
||||
|
||||
ACPI_ERROR ((AE_INFO, "Invalid Package type: %X",
|
||||
Package->RetInfo.Type));
|
||||
return (AE_AML_INTERNAL);
|
||||
}
|
||||
|
||||
|
@ -487,6 +487,9 @@ AcpiUtWalkPackageTree (
|
||||
|
||||
/* We should never get here */
|
||||
|
||||
ACPI_ERROR ((AE_INFO,
|
||||
"State list did not terminate correctly"));
|
||||
|
||||
return_ACPI_STATUS (AE_AML_INTERNAL);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user