Add PXE Tag Definitions for IA32/X64/Arm/IPF architectures.
authorljin6 <ljin6@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 28 Jan 2010 08:10:59 +0000 (08:10 +0000)
committerljin6 <ljin6@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 28 Jan 2010 08:10:59 +0000 (08:10 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9847 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Include/Protocol/PxeBaseCode.h

index f6b00d383cd7025b92063a8dd5b16b89f178af63..96ef04f423e018d2839223d183d01d6006e07dda 100644 (file)
@@ -145,6 +145,21 @@ typedef UINT16  EFI_PXE_BASE_CODE_UDP_PORT;
 #define EFI_PXE_BASE_CODE_BOOT_LAYER_MASK     0x7FFF\r
 #define EFI_PXE_BASE_CODE_BOOT_LAYER_INITIAL  0x0000\r
 \r
+//\r
+// PXE Tag definition that identifies the processor \r
+// and programming environment of the client system.\r
+//\r
+#if defined (MDE_CPU_IA32)\r
+#define EFI_PXE_CLIENT_SYSTEM_ARCHITECTURE    0x0006\r
+#elif defined (MDE_CPU_IPF) \r
+#define EFI_PXE_CLIENT_SYSTEM_ARCHITECTURE    0x0002\r
+#elif defined (MDE_CPU_X64)\r
+#define EFI_PXE_CLIENT_SYSTEM_ARCHITECTURE    0x0007\r
+#elif defined (MDE_CPU_ARM)\r
+#define EFI_PXE_CLIENT_SYSTEM_ARCHITECTURE    0x000A\r
+#endif\r
+\r
+\r
 ///\r
 /// Discover() server list structure.\r
 ///\r