Add architecture name
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
Rafal Kupiec 2023-01-03 16:28:14 +01:00
parent bb95223501
commit b22303003c
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4

View File

@ -19,12 +19,14 @@
#if defined(__i386__) || defined(__i686__)
#define _ARCH i686
#define _ARCH_I686 1
#define _ARCH_NAME "32-bit x86"
#define _ARCH_IMAGE_MACHINE_TYPE 0x014C
#define _XT32 1
#define EFI_ERROR_MASK 0x80000000
#elif defined(__amd64__) || defined(__x86_64__)
#define _ARCH amd64
#define _ARCH_AMD64 1
#define _ARCH_NAME "64-bit x86"
#define _ARCH_IMAGE_MACHINE_TYPE 0x8664
#define _XT64 1
#define EFI_ERROR_MASK 0x8000000000000000