summaryrefslogtreecommitdiffstats
path: root/NetworkPkg/HttpBootDxe/HttpBootDhcp4.h
diff options
context:
space:
mode:
authorZhang Lubo <lubo.zhang@intel.com>2015-07-14 04:02:35 +0000
committerluobozhang <luobozhang@Edk2>2015-07-14 04:02:35 +0000
commit5e0cdec1961f8a19936f997702b49bdb555a4fce (patch)
tree5874aa8dcfbce428c69412af6a97e21ecb7458a5 /NetworkPkg/HttpBootDxe/HttpBootDhcp4.h
parent39a650691dc87cfd83414661709fee88e7727a79 (diff)
downloadedk2-5e0cdec1961f8a19936f997702b49bdb555a4fce.tar.gz
edk2-5e0cdec1961f8a19936f997702b49bdb555a4fce.tar.bz2
edk2-5e0cdec1961f8a19936f997702b49bdb555a4fce.zip
NetworkPkg: Fix an error that the call function declared implicitly.
Use NetRandomInitSeed() instead of AsmReadTsc() to generate a random seed. Macro definition of EFI_HTTP_BOOT_CLIENT_SYSTEM_ARCHITECTURE for EBC architecture. Add some space to make codes more standard. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Zhang Lubo <lubo.zhang@intel.com> Reviewed-by: Fu Siyuan <siyuan.fu@intel.com> Reviewed-by: jiaxinwu <jiaxin.wu@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17941 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'NetworkPkg/HttpBootDxe/HttpBootDhcp4.h')
-rw-r--r--NetworkPkg/HttpBootDxe/HttpBootDhcp4.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/NetworkPkg/HttpBootDxe/HttpBootDhcp4.h b/NetworkPkg/HttpBootDxe/HttpBootDhcp4.h
index 42a3874444..47e07aaa85 100644
--- a/NetworkPkg/HttpBootDxe/HttpBootDhcp4.h
+++ b/NetworkPkg/HttpBootDxe/HttpBootDhcp4.h
@@ -82,6 +82,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#define EFI_HTTP_BOOT_CLIENT_SYSTEM_ARCHITECTURE 0x0012
#elif defined (MDE_CPU_AARCH64)
#define EFI_HTTP_BOOT_CLIENT_SYSTEM_ARCHITECTURE 0x0013
+#elif defined (MDE_CPU_EBC)
+#define EFI_HTTP_BOOT_CLIENT_SYSTEM_ARCHITECTURE 0x0011
#endif
/// DHCP offer types among HTTP boot.