EFI STATUS

From PhoenixWiki

Jump to: navigation, search

Status code.

Contents

Prototype

typedef INTN EFI_STATUS;

Description

EFI_SUCCESS

Prototype

#define EFI_SUCCESS 0 

Description
The operation completed successfully.

EFI_LOAD_ERROR

Prototype

#define EFI_LOAD_ERROR 1 

Description
The image failed to load.

EFI_INVALID_PARAMETER

Prototype

#define EFI_INVALID_PARAMETER 2 

Description
A parameter was incorrect.

EFI_UNSUPPORTED

Prototype

#define EFI_UNSUPPORTED 3 

Description
The operation is not supported.

EFI_BAD_BUFFER_SIZE

Prototype

#define EFI_BAD_BUFFER_SIZE 4 

Description
The buffer was not the proper size for the request.


EFI_BUFFER_TO_SMALL

Prototype

#define EFI_BUFFER_TOO_SMALL 5 

Description
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.

EFI_NOT_READY

Prototype

#define EFI_NOT_READY 6 

Description
There is no data pending upon return.

EFI_DEVICE_ERROR

Prototype

#define EFI_DEVICE_ERROR 7 

Description
The physical device reported an error while attempting the operation.

EFI_WRITE_PROTECTED

Prototype

#define EFI_WRITE_PROTECTED 8 

Description
The device cannot be written to.

EFI_OUT_OF_RESOURCES

Prototype

#define EFI_OUT_OF_RESOURCES 9 

Description
A resource has run out.

EFI_VOLUME_CORRUPTED

Prototype

#define EFI_VOLUME_CORRUPTED 10 

Description
An inconstancy was detected on the file system causing the operating to fail.

EFI_VOLUME_FULL

Prototype

#define EFI_VOLUME_FULL 11 

Description
There is no more space on the file system.

EFI_NO_MEDIA

Prototype

#define EFI_NO_MEDIA 12 

Description
The device does not contain any medium to perform the operation.

EFI_MEDIA_CHANGED

Prototype

#define EFI_MEDIA_CHANGED 13 

Description
The medium in the device has changed since the last access.

EFI_NOT_FOUND

Prototype

#define EFI_NOT_FOUND 14 

Description
The item was not found.

EFI_ACCESS_DENIED

Prototype

#define EFI_ACCESS_DENIED 15 

Description
Access was denied.

EFI_NO_RESPONSE

Prototype

#define EFI_NO_RESPONSE 16 

Description
The server was not found or did not respond to the request.

EFI_NO_MAPPING

Prototype

#define EFI_NO_MAPPING 17 

Description
A mapping to a device does not exist.

EFI_TIMEOUT

Prototype

#define EFI_TIMEOUT 18 

Description
The timeout time expired.

EFI_NOT_STARTED

Prototype

#define EFI_NOT_STARTED 19 

Description
The protocol has not been started.

EFI_ALREADY_STARTED

Prototype

#define EFI_ALREADY_STARTED 20 

Description
The protocol has already been started.

EFI_ABORTED

Prototype

#define EFI_ABORTED 21 

Description
The operation was aborted.

EFI_ICMP_ERROR

Prototype

#define EFI_ICMP_ERROR 22 

Description
An ICMP error occurred during the network operation.

EFI_TFTP_ERROR

Prototype

#define EFI_TFTP_ERROR 23 

Description
A TFTP error occurred during the network operation.

EFI_PROTOCOL_ERROR

Prototype

#define EFI_PROTOCOL_ERROR 24 

Description
A protocol error occurred during the network operation.

EFI_INCOMPATIBLE_VERSION

Prototype

#define EFI_INCOMPATIBLE_VERSION 25 

Description
The function encountered an internal version that was incompatible with a version requested by the caller.

EFI_SECURITY_VIOLATION

Prototype

#define EFI_SECURITY_VIOLATION 26 

Description
The function was not performed due to a security violation.

EFI_CRC_ERROR

Prototype

#define EFI_CRC_ERROR 27 

Description
A CRC error was detected.

EFI_END_OF_MEDIA

Prototype

#define EFI_END_OF_MEDIA 28 

Description
Beginning or end of media was reached

EFI_END_OF_FILE

Prototype

#define EFI_END_OF_FILE 31 

Description
The end of the file was reached.

EFI_WARN_UNKNOWN_GLYPH

Prototype

#define EFI_WARN_UNKNOWN_GLYPH 1 

Description
The Unicode string contained one or more characters that the device could not render and were skipped.

EFI_WARN_DELETE_FAILURE

Prototype

#define EFI_WARN_DELETE_FAILURE 2 

Description
The handle was closed, but the file was not deleted.

EFI_WARN_WRITE_FAILURE

Prototype

#define EFI_WARN_WRITE_FAILURE 3 

Description
The handle was closed, but the data to the file was not flushed properly.


Copyright (C) 2008 Phoenix Technologies Ltd. All Rights Reserved. Portions copyright (C) 2008 UEFI Forum, Inc. Used with permission.

Personal tools