Changeset View
Changeset View
Standalone View
Standalone View
sys/boot/efi/include/efierr.h
Show All 23 Lines | |||||
Revision History | Revision History | ||||
--*/ | --*/ | ||||
#define EFIWARN(a) (a) | #define EFIWARN(a) (a) | ||||
#define EFI_ERROR(a) (((INTN) a) < 0) | #define EFI_ERROR(a) (((INTN) a) < 0) | ||||
#define EFI_ERROR_CODE(a) (a & ~EFI_ERROR_MASK) | |||||
emaste: I had started this in a WIP branch; based on discussion on IRC I'll make sure it's equivalent… | |||||
#define EFI_SUCCESS 0 | #define EFI_SUCCESS 0 | ||||
#define EFI_LOAD_ERROR EFIERR(1) | #define EFI_LOAD_ERROR EFIERR(1) | ||||
#define EFI_INVALID_PARAMETER EFIERR(2) | #define EFI_INVALID_PARAMETER EFIERR(2) | ||||
#define EFI_UNSUPPORTED EFIERR(3) | #define EFI_UNSUPPORTED EFIERR(3) | ||||
#define EFI_BAD_BUFFER_SIZE EFIERR(4) | #define EFI_BAD_BUFFER_SIZE EFIERR(4) | ||||
#define EFI_BUFFER_TOO_SMALL EFIERR(5) | #define EFI_BUFFER_TOO_SMALL EFIERR(5) | ||||
#define EFI_NOT_READY EFIERR(6) | #define EFI_NOT_READY EFIERR(6) | ||||
Show All 25 Lines |
I had started this in a WIP branch; based on discussion on IRC I'll make sure it's equivalent to what you have in this review and commit.