#[non_exhaustive]#[repr(u32)]pub enum AcpiError {
Show 99 variants
Error = 1,
NoAcpiTables = 2,
NoNamespace = 3,
NoMemory = 4,
NotFound = 5,
NotExist = 6,
AlreadyExists = 7,
Type = 8,
NullObject = 9,
NullEntry = 10,
BufferOverflow = 11,
StackOverflow = 12,
StackUnderflow = 13,
NotImplemented = 14,
Support = 15,
Limit = 16,
Time = 17,
AcquireDeadlock = 18,
ReleaseDeadlock = 19,
NotAcquired = 20,
AlreadyAcquired = 21,
NoHardwareResponse = 22,
NoGlobalLock = 23,
AbortMethod = 24,
SameHandler = 25,
NoHandler = 26,
OwnerIdLimit = 27,
NotConfigured = 28,
Access = 29,
IoError = 30,
NumericOverflow = 31,
HexOverflow = 32,
DecimalOverflow = 33,
OctalOverflow = 34,
EndOfTable = 35,
BadParameter = 4_097,
BadCharacter = 4_098,
BadPathname = 4_099,
BadData = 4_100,
BadHexConstant = 4_101,
BadOctalConstant = 4_102,
BadDecimalConstant = 4_103,
MissingArguments = 4_104,
BadAddress = 4_105,
BadSignature = 8_193,
BadHeader = 8_194,
BadChecksum = 8_195,
BadValue = 8_196,
InvalidTableLength = 8_197,
AmlBadOpcode = 12_289,
AmlNoOperand = 12_290,
AmlOperandType = 12_291,
AmlOperandValue = 12_292,
AmlUninitializedLocal = 12_293,
AmlUninitializedArg = 12_294,
AmlUninitializedElement = 12_295,
AmlNumericOverflow = 12_296,
AmlRegionLimit = 12_297,
AmlBufferLimit = 12_298,
AmlPackageLimit = 12_299,
AmlDivideByZero = 12_300,
AmlBadName = 12_301,
AmlNameNotFound = 12_302,
AmlInternal = 12_303,
AmlInvalidSpaceId = 12_304,
AmlStringLimit = 12_305,
AmlNoReturnValue = 12_306,
AmlMethodLimit = 12_307,
AmlNotOwner = 12_308,
AmlMutexOrder = 12_309,
AmlMutexNotAcquired = 12_310,
AmlInvalidResourceType = 12_311,
AmlInvalidIndex = 12_312,
AmlRegisterLimit = 12_313,
AmlNoWhile = 12_314,
AmlAlignment = 12_315,
AmlNoResourceEndTag = 12_316,
AmlBadResourceValue = 12_317,
AmlCircularReference = 12_318,
AmlBadResourceLength = 12_319,
AmlIllegalAddress = 12_320,
AmlLoopTimeout = 12_321,
AmlUninitializedNode = 12_322,
AmlTargetType = 12_323,
AmlProtocol = 12_324,
AmlBufferLength = 12_325,
ControlReturnValue = 16_385,
ControlPending = 16_386,
ControlTerminate = 16_387,
ControlTrue = 16_388,
ControlFalse = 16_389,
ControlDepth = 16_390,
ControlEnd = 16_391,
ControlTransfer = 16_392,
ControlBreak = 16_393,
ControlContinue = 16_394,
ControlParseContinue = 16_395,
ControlParsePending = 16_396,
Unknown = 16397,
}
Expand description
An error which ACPICA produced, or which can be given to ACPICA
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Error = 1
Unspecified error
NoAcpiTables = 2
ACPI tables could not be found
NoNamespace = 3
A namespace has not been loaded
NoMemory = 4
Insufficient dynamic memory
NotFound = 5
A requested entity is not found
NotExist = 6
A required entity does not exist
AlreadyExists = 7
An entity already exists
Type = 8
The object type is incorrect
NullObject = 9
A required object was missing
NullEntry = 10
The requested object does not exist
BufferOverflow = 11
The buffer provided is too small
StackOverflow = 12
An internal stack overflowed
StackUnderflow = 13
An internal stack underflowed
NotImplemented = 14
The feature is not implemented
Support = 15
The feature is not supported
Limit = 16
A predefined limit was exceeded
Time = 17
A time limit or timeout expired
AcquireDeadlock = 18
Internal error, attempt was made to acquire a mutex in improper order
ReleaseDeadlock = 19
Internal error, attempt was made to release a mutex in improper order
NotAcquired = 20
An attempt to release a mutex or Global Lock without a previous acquire
AlreadyAcquired = 21
Internal error, attempt was made to acquire a mutex twice
NoHardwareResponse = 22
Hardware did not respond after an I/O operation
NoGlobalLock = 23
There is no FACS Global Lock
AbortMethod = 24
A control method was aborted
SameHandler = 25
Attempt was made to install the same handler that is already installed
NoHandler = 26
A handler for the operation is not installed
OwnerIdLimit = 27
There are no more Owner IDs available for ACPI tables or control methods
NotConfigured = 28
The interface is not part of the current subsystem configuration
Access = 29
Permission denied for the requested operation
IoError = 30
An I/O error occurred
NumericOverflow = 31
Overflow during string-to-integer conversion
HexOverflow = 32
Overflow during ASCII hex-to-binary conversion
DecimalOverflow = 33
Overflow during ASCII decimal-to-binary conversion
OctalOverflow = 34
Overflow during ASCII octal-to-binary conversion
EndOfTable = 35
Reached the end of table
BadParameter = 4_097
A parameter is out of range or invalid
BadCharacter = 4_098
An invalid character was found in a name
BadPathname = 4_099
An invalid character was found in a pathname
BadData = 4_100
A package or buffer contained incorrect data
BadHexConstant = 4_101
Invalid character in a Hex constant
BadOctalConstant = 4_102
Invalid character in an Octal constant
BadDecimalConstant = 4_103
Invalid character in a Decimal constant
MissingArguments = 4_104
Too few arguments were passed to a control method
BadAddress = 4_105
An illegal null I/O address
BadSignature = 8_193
An ACPI table has an invalid signature
BadHeader = 8_194
Invalid field in an ACPI table header
BadChecksum = 8_195
An ACPI table checksum is not correct
BadValue = 8_196
An invalid value was found in a table
InvalidTableLength = 8_197
The FADT or FACS has improper length
AmlBadOpcode = 12_289
Invalid AML opcode encountered
AmlNoOperand = 12_290
A required operand is missing
AmlOperandType = 12_291
An operand of an incorrect type was encountered
AmlOperandValue = 12_292
The operand had an inappropriate or invalid value
AmlUninitializedLocal = 12_293
Method tried to use an uninitialized local variable
AmlUninitializedArg = 12_294
Method tried to use an uninitialized argument
AmlUninitializedElement = 12_295
Method tried to use an empty package element
AmlNumericOverflow = 12_296
Overflow during BCD conversion or other
AmlRegionLimit = 12_297
Tried to access beyond the end of an Operation Region
AmlBufferLimit = 12_298
Tried to access beyond the end of a buffer
AmlPackageLimit = 12_299
Tried to access beyond the end of a package
AmlDivideByZero = 12_300
During execution of AML Divide operator
AmlBadName = 12_301
An ACPI name contains invalid character(s)
AmlNameNotFound = 12_302
Could not resolve a named reference
AmlInternal = 12_303
An internal error within the interpreter
AmlInvalidSpaceId = 12_304
An Operation Region SpaceID is invalid
AmlStringLimit = 12_305
String is longer than 200 characters
AmlNoReturnValue = 12_306
A method did not return a required value
AmlMethodLimit = 12_307
A control method reached the maximum reentrancy limit of 255
AmlNotOwner = 12_308
A thread tried to release a mutex that it does not own
AmlMutexOrder = 12_309
Mutex SyncLevel release mismatch
AmlMutexNotAcquired = 12_310
Attempt to release a mutex that was not previously acquired
AmlInvalidResourceType = 12_311
Invalid resource type in resource list
AmlInvalidIndex = 12_312
Invalid Argx or Localx (x too large)
AmlRegisterLimit = 12_313
Bank value or Index value beyond range of register
AmlNoWhile = 12_314
Break or Continue without a While
AmlAlignment = 12_315
Non-aligned memory transfer on platform that does not support this
AmlNoResourceEndTag = 12_316
No End Tag in a resource list
AmlBadResourceValue = 12_317
Invalid value of a resource element
AmlCircularReference = 12_318
Two references refer to each other
AmlBadResourceLength = 12_319
The length of a Resource Descriptor in the AML is incorrect
AmlIllegalAddress = 12_320
A memory, I/O, or PCI configuration address is invalid
AmlLoopTimeout = 12_321
An AML While loop exceeded the maximum execution time
AmlUninitializedNode = 12_322
A namespace node is uninitialized or unresolved
AmlTargetType = 12_323
A target operand of an incorrect type was encountered
AmlProtocol = 12_324
Violation of a fixed ACPI protocol
AmlBufferLength = 12_325
The length of the buffer is invalid/incorrect
ControlReturnValue = 16_385
A Method returned a value
ControlPending = 16_386
Method is calling another method
ControlTerminate = 16_387
Terminate the executing method
ControlTrue = 16_388
An If or While predicate result
ControlFalse = 16_389
An If or While predicate result
ControlDepth = 16_390
Maximum search depth has been reached
ControlEnd = 16_391
An If or While predicate is false
ControlTransfer = 16_392
Transfer control to called method
ControlBreak = 16_393
A Break has been executed
ControlContinue = 16_394
A Continue has been executed
ControlParseContinue = 16_395
Used to skip over bad opcodes
ControlParsePending = 16_396
Used to implement AML While loops
Unknown = 16397
Unknown error