[gnu-efi] Fix missing file.

Peter Jones pjones at fedoraproject.org
Thu Aug 11 15:30:10 UTC 2011


commit 9da0c0554ef971c7466e1ee1ec8a6d728669a610
Author: Peter Jones <pjones at redhat.com>
Date:   Thu Aug 11 11:29:20 2011 -0400

    Fix missing file.

 gnu-efi-3.0e-machine-types.patch |   66 ++++++++++++++++++++++++++++++++++++++
 1 files changed, 66 insertions(+), 0 deletions(-)
---
diff --git a/gnu-efi-3.0e-machine-types.patch b/gnu-efi-3.0e-machine-types.patch
new file mode 100644
index 0000000..206c619
--- /dev/null
+++ b/gnu-efi-3.0e-machine-types.patch
@@ -0,0 +1,66 @@
+From eb2e79305e8363b1340afc24387a7b6967b5874b Mon Sep 17 00:00:00 2001
+From: Peter Jones <pjones at redhat.com>
+Date: Tue, 26 Apr 2011 13:25:26 -0400
+Subject: [PATCH] Add more machine type defines.
+
+Add machine type defines for i386, arm/thumb, ia64, ebc, and x86_64.
+---
+ inc/ia32/pe.h   |    4 ++++
+ inc/ia64/pe.h   |    4 ++++
+ inc/x86_64/pe.h |    4 ++++
+ 3 files changed, 12 insertions(+), 0 deletions(-)
+
+diff --git a/inc/ia32/pe.h b/inc/ia32/pe.h
+index c492606..85d6981 100644
+--- a/inc/ia32/pe.h
++++ b/inc/ia32/pe.h
+@@ -98,8 +98,12 @@ typedef struct _IMAGE_FILE_HEADER {
+ #define IMAGE_FILE_MACHINE_R3000             0x162   // MIPS little-endian, 0540 big-endian
+ #define IMAGE_FILE_MACHINE_R4000             0x166   // MIPS little-endian
+ #define IMAGE_FILE_MACHINE_ALPHA             0x184   // Alpha_AXP
++#define IMAGE_FILE_MACHINE_ARMTHUMB_MIXED    0x1c2   // Arm/Thumb
+ #define IMAGE_FILE_MACHINE_POWERPC           0x1F0   // IBM PowerPC Little-Endian
++#define IMAGE_FILE_MACHINE_IA64              0x200   // IA-64
+ #define IMAGE_FILE_MACHINE_TAHOE             0x7cc   // Intel EM machine
++#define IMAGE_FILE_MACHINE_EBC               0xebc   // EFI Byte Code
++#define IMAGE_FILE_MACHINE_X64               0x8664  // x86_64
+ //
+ // Directory format.
+ //
+diff --git a/inc/ia64/pe.h b/inc/ia64/pe.h
+index 618d59f..226e49d 100644
+--- a/inc/ia64/pe.h
++++ b/inc/ia64/pe.h
+@@ -113,8 +113,12 @@ typedef struct _IMAGE_FILE_HEADER {
+ #define IMAGE_FILE_MACHINE_R3000             0x162   // MIPS little-endian, 0540 big-endian
+ #define IMAGE_FILE_MACHINE_R4000             0x166   // MIPS little-endian
+ #define IMAGE_FILE_MACHINE_ALPHA             0x184   // Alpha_AXP
++#define IMAGE_FILE_MACHINE_ARMTHUMB_MIXED    0x1c2   // Arm/Thumb
+ #define IMAGE_FILE_MACHINE_POWERPC           0x1F0   // IBM PowerPC Little-Endian
++#define IMAGE_FILE_MACHINE_IA64              0x200   // IA-64
+ #define IMAGE_FILE_MACHINE_TAHOE             0x7cc   // Intel EM machine
++#define IMAGE_FILE_MACHINE_EBC               0xebc   // EFI Byte Code
++#define IMAGE_FILE_MACHINE_X64               0x8664  // x86_64
+ //
+ // Directory format.
+ //
+diff --git a/inc/x86_64/pe.h b/inc/x86_64/pe.h
+index f0a1fd0..4f5f469 100644
+--- a/inc/x86_64/pe.h
++++ b/inc/x86_64/pe.h
+@@ -98,8 +98,12 @@ typedef struct _IMAGE_FILE_HEADER {
+ #define IMAGE_FILE_MACHINE_R3000             0x162   // MIPS little-endian, 0540 big-endian
+ #define IMAGE_FILE_MACHINE_R4000             0x166   // MIPS little-endian
+ #define IMAGE_FILE_MACHINE_ALPHA             0x184   // Alpha_AXP
++#define IMAGE_FILE_MACHINE_ARMTHUMB_MIXED    0x1c2   // Arm/Thumb
+ #define IMAGE_FILE_MACHINE_POWERPC           0x1F0   // IBM PowerPC Little-Endian
++#define IMAGE_FILE_MACHINE_IA64              0x200   // IA-64
+ #define IMAGE_FILE_MACHINE_TAHOE             0x7cc   // Intel EM machine
++#define IMAGE_FILE_MACHINE_EBC               0xebc   // EFI Byte Code
++#define IMAGE_FILE_MACHINE_X64               0x8664  // x86_64
+ //
+ // Directory format.
+ //
+-- 
+1.7.3.1
+


More information about the scm-commits mailing list