Add PE machine type definitions for the LoongArch

See https://learn.microsoft.com/en-us/windows/win32/debug/pe-format#machine-types

Signed-off-by: Xiaotian Wu <wuxiaotian@loongson.cn>
This commit is contained in:
Xiaotian Wu 2023-01-04 10:27:28 +08:00
parent c2102ae059
commit 1ba13fdfd0

View File

@ -354,6 +354,14 @@ EFI_STATUS
#define EFI_IMAGE_MACHINE_RISCV128 0x5128 #define EFI_IMAGE_MACHINE_RISCV128 0x5128
#endif #endif
#if !defined(EFI_IMAGE_MACHINE_LOONGARCH32)
#define EFI_IMAGE_MACHINE_LOONGARCH32 0x6232
#endif
#if !defined(EFI_IMAGE_MACHINE_LOONGARCH64)
#define EFI_IMAGE_MACHINE_LOONGARCH64 0x6264
#endif
// Image Entry prototype // Image Entry prototype
typedef typedef