Appendix C: Return Codes

The following table represents the return codes for the BIOS functions.

Bit 7 set indicates an error has occurred.

Additionally, when a PnP BIOS supports the Extended Configuration Services ESCD access Functions 41, 42 and 43, it may return one of the values that are defined in the ESCD Specification, Appendix D. In this case the returned error values are in the 05xH range.

Note that some of the Plug and Play BIOS error codes may conflict with ESCD error codes as defined in the current ESCD specification. Error codes must be qualified using the context of the call.

Success Codes 00h:

Return Code

Value

Description

SUCCESS

00h

Function completed successfully


Warning Codes 01h through 7Fh:

Return Code

Value

Description

Reserved

01h

NOT_SET_STATICALLY

7Fh

Warning that indicates a device could not be configured statically, but was successfully configured dynamically. This return code is used only when function 02h is requested to set a device both statically and dynamically.


Error Codes 81h through FFh:

Return Code

Value

Description

UNKNOWN_FUNCTION

81h

Unknown, or invalid, function number passed

FUNCTION_NOT_SUPPORTED

82h

The function is not supported on this system.

INVALID_HANDLE

83h

Device node number/handle passed is invalid or out of range.

BAD_PARAMETER

84h

Function detected invalid resource descriptors or resource descriptors were specified out of order.

SET_FAILED

85h

Set Device Node function failed.

EVENTS_NOT_PENDING

86h

There are no events pending.

SYSTEM_NOT_DOCKED

87h

The system is currently not docked.

NO_ISA_PNP_CARDS

88h

Indicates that no ISA Plug and Play cards are installed in the system.

UNABLE_TO_DETERMINE_DOCK_ CAPABILITIES

89h

Indicates that the system was not able to determine the capabilities of the docking station.

CONFIG_CHANGE_FAILED_NO_ BATTERY

8Ah

The system failed the undocking sequence because it detected that the system unit did not have a battery.

CONFIG_CHANGE_FAILED_ RESOURCE_CONFLICT

8Bh

The system failed to successfully dock because it detected a resource conflict with one of the primary boot devices; such as Input, Output, or the IPL device.

BUFFER_TOO_SMALL

8Ch

The memory buffer passed in by the caller was not large enough to hold the data to be returned by the system BIOS.

USE_ESCD_SUPPORT

8Dh

This return code is used by functions 09h and 0Ah to instruct the caller that reporting resources explicitly assigned to devices in the system to the system BIOS must be handled through the interfaces defined by the ESCD Specification.

MESSAGE_NOT_SUPPORTED

8Eh

This return code indicates the message passed to the system BIOS through function 04h, Send Message, is not supported on the system.

HARDWARE_ERROR

8Fh

This return code indicates that the system BIOS detected a hardware failure.