D-2. Efi_Status Success Codes (High Bit Clear); D-3. Efi_Status Error Codes (High Bit Set); D-1. Efi_Status Codes Ranges - Intel Extensible Firmware Interface Specification

Intel extensible firmware interface specification
Table of Contents

Advertisement

EFI interfaces return an
EFI_STATUS
success, errors, and warnings, respectively. Error codes also have their highest bit set, so all error
codes have negative values. The range of status codes that have the highest bit set and the next to
highest bit clear are reserved for use by EFI. The range of status codes that have both the highest
bit set and the next to highest bit set are reserved for use by OEMs. Success and warning codes
have their highest bit clear, so all success and warning codes have positive values. The range of
status codes that have both the highest bit clear and the next to highest bit clear are reserved for use
by EFI. The range of status code that have the highest bit clear and the next to highest bit set are
reserved for use by OEMs. Table D-1 lists the status code ranges described above.
Table D-1.
EFI_STATUS Codes Ranges
IA-32 Range
IA-64 Range
0x00000000-
0x0000000000000000-
0x3fffffff
0x3fffffffffffffff
0x40000000-
0x4000000000000000-
0x7fffffff
0x7fffffffffffffff
0x80000000-
0x8000000000000000-
0xbfffffff
0xbfffffffffffffff
0xc0000000-
0xc000000000000000-
0xffffffff
0xffffffffffffffff
Table D-2.
EFI_STATUS Success Codes (High bit clear)
Mnemonic
EFI_SUCCESS
Table D-3.
EFI_STATUS Error Codes (High bit set)
Mnemonic
EFI_LOAD_ERROR
EFI_INVALID_PARAMETER
EFI_UNSUPPORTED
EFI_BAD_BUFFER_SIZE
EFI_BUFFER_TOO_SMALL
Version 1.02
code. Tables D-2, D-3, and D-4 list these codes for
Description
Success and warning codes reserved for use by EFI.
See Tables D-2 and D-4 for valid values in this range.
Success and warning codes reserved for use by OEMs.
Error codes reserved for use by EFI. See Table D-3 for
valid values for this range.
Error codes reserved for use by OEMs.
Value
Description
0
The operation completed successfully.
Value
Description
1
The image failed to load.
2
A parameter was incorrect.
3
The operation is not supported.
4
The buffer was not the proper size for the request.
5
The buffer is not large enough to hold the requested data.
The required buffer size is returned in the appropriate
parameter when this error occurs.
12/12/00
Status Codes
continued
345
D

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Extensible Firmware Interface and is the answer not in the manual?

Table of Contents