Added INTPTR and UINTPTR types
This commit is contained in:
parent
16a6e781a3
commit
6b22b23422
2 changed files with 12 additions and 0 deletions
|
@ -24,6 +24,9 @@ typedef char CHAR8;
|
||||||
typedef char16_t CHAR16;
|
typedef char16_t CHAR16;
|
||||||
typedef void VOID;
|
typedef void VOID;
|
||||||
|
|
||||||
|
typedef long INTPTR;
|
||||||
|
typedef unsigned long UINTPTR;
|
||||||
|
|
||||||
typedef UINTN EFI_STATUS;
|
typedef UINTN EFI_STATUS;
|
||||||
typedef VOID *EFI_HANDLE;
|
typedef VOID *EFI_HANDLE;
|
||||||
typedef VOID *EFI_EVENT;
|
typedef VOID *EFI_EVENT;
|
||||||
|
|
9
efilib.h
Normal file
9
efilib.h
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
#ifndef EFI_EFILIB_H
|
||||||
|
#define EFI_EFILIB_H
|
||||||
|
|
||||||
|
#include "efi.h"
|
||||||
|
|
||||||
|
#define EFI_ERROR(status) (((INTN)(status)) < 0)
|
||||||
|
|
||||||
|
#endif /* EFI_EFILIB_H */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue