diff options
| author | Michael Brown | 2023-02-01 11:49:02 +0100 |
|---|---|---|
| committer | Michael Brown | 2023-02-01 11:50:47 +0100 |
| commit | aa85c2918a6c63887f492fe7a8a88ed8fbb933f2 (patch) | |
| tree | 98b01f74409a6de5ed9bffff4659024b30c4b423 | |
| parent | [tests] Verify ability to sleep the CPU (diff) | |
| download | ipxe-aa85c2918a6c63887f492fe7a8a88ed8fbb933f2.tar.gz ipxe-aa85c2918a6c63887f492fe7a8a88ed8fbb933f2.tar.xz ipxe-aa85c2918a6c63887f492fe7a8a88ed8fbb933f2.zip | |
[efi] Update to current EDK2 headers
Update to pick up the upstream commit bda715b ("MdePkg: Fix UINT64 and
INT64 word length for LoongArch64").
Signed-off-by: Michael Brown <mcb30@ipxe.org>
| -rw-r--r-- | src/include/ipxe/efi/LoongArch64/ProcessorBind.h | 22 | ||||
| -rw-r--r-- | src/include/ipxe/efi/Pi/PiDxeCis.h | 2 |
2 files changed, 12 insertions, 12 deletions
diff --git a/src/include/ipxe/efi/LoongArch64/ProcessorBind.h b/src/include/ipxe/efi/LoongArch64/ProcessorBind.h index 1f787a852..42d8b7942 100644 --- a/src/include/ipxe/efi/LoongArch64/ProcessorBind.h +++ b/src/include/ipxe/efi/LoongArch64/ProcessorBind.h @@ -30,17 +30,17 @@ FILE_LICENCE ( BSD2_PATENT ); // Assume standard LoongArch 64-bit alignment. // Need to check portability of long long // -typedef unsigned long UINT64; -typedef long INT64; -typedef unsigned int UINT32; -typedef int INT32; -typedef unsigned short UINT16; -typedef unsigned short CHAR16; -typedef short INT16; -typedef unsigned char BOOLEAN; -typedef unsigned char UINT8; -typedef char CHAR8; -typedef char INT8; +typedef unsigned long long UINT64; +typedef long long INT64; +typedef unsigned int UINT32; +typedef int INT32; +typedef unsigned short UINT16; +typedef unsigned short CHAR16; +typedef short INT16; +typedef unsigned char BOOLEAN; +typedef unsigned char UINT8; +typedef char CHAR8; +typedef char INT8; // // Unsigned value of native width. (4 bytes on supported 32-bit processor instructions, diff --git a/src/include/ipxe/efi/Pi/PiDxeCis.h b/src/include/ipxe/efi/Pi/PiDxeCis.h index 506abfdce..9b9254936 100644 --- a/src/include/ipxe/efi/Pi/PiDxeCis.h +++ b/src/include/ipxe/efi/Pi/PiDxeCis.h @@ -66,7 +66,7 @@ typedef enum { // /// EfiGcdMemoryTypeUnaccepted is defined in PrePiDxeCis.h because it has not been // /// defined in PI spec. // EfiGcdMemoryTypeUnaccepted, - EfiGcdMemoryTypeMaximum = 8 + EfiGcdMemoryTypeMaximum = 7 } EFI_GCD_MEMORY_TYPE; /// |
