X-Git-Url: https://code.delx.au/refind/blobdiff_plain/b94926c94b9244df9631069e06ae5fef5a5ae908..9c70725aec18f6acdc24de6d04e8d67be775a3c3:/include/PeImage2.h diff --git a/include/PeImage2.h b/include/PeImage2.h index 82583ef..d5a19ce 100644 --- a/include/PeImage2.h +++ b/include/PeImage2.h @@ -44,25 +44,4 @@ typedef struct _GNUEFI_PE_COFF_LOADER_IMAGE_CONTEXT { } GNUEFI_PE_COFF_LOADER_IMAGE_CONTEXT; - -// -// Return status codes from the PE/COFF Loader services -// -#define IMAGE_ERROR_SUCCESS 0 -#define IMAGE_ERROR_IMAGE_READ 1 -#define IMAGE_ERROR_INVALID_PE_HEADER_SIGNATURE 2 -#define IMAGE_ERROR_INVALID_MACHINE_TYPE 3 -#define IMAGE_ERROR_INVALID_SUBSYSTEM 4 -#define IMAGE_ERROR_INVALID_IMAGE_ADDRESS 5 -#define IMAGE_ERROR_INVALID_IMAGE_SIZE 6 -#define IMAGE_ERROR_INVALID_SECTION_ALIGNMENT 7 -#define IMAGE_ERROR_SECTION_NOT_LOADED 8 -#define IMAGE_ERROR_FAILED_RELOCATION 9 -#define IMAGE_ERROR_FAILED_ICACHE_FLUSH 10 - -#ifdef __MAKEWITH_GNUEFI -#define RETURN_STATUS EFI_STATUS -typedef UINT64 PHYSICAL_ADDRESS; -#endif - #endif