[edk2-devel] [PATCH] edk2-staging/EmulatorPkg: Build Redfish memory configuration HII sample driver

Abner Chang posted 1 patch 2 years, 5 months ago
Failed in applying to current master (apply log)
EmulatorPkg/EmulatorPkg.dec | 3 ++-
EmulatorPkg/EmulatorPkg.dsc | 3 ++-
EmulatorPkg/EmulatorPkg.fdf | 4 ++++
3 files changed, 8 insertions(+), 2 deletions(-)
[edk2-devel] [PATCH] edk2-staging/EmulatorPkg: Build Redfish memory configuration HII sample driver
Posted by Abner Chang 2 years, 5 months ago
Enable Redfish memory configuration HII driver to build on EmulatorPkg.

Signed-off-by: Nickle Wang <nickle.wang@hpe.com>
Cc: Abner Chang <abner.chang@hpe.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Andrew Fish <afish@apple.com>
Cc: Ray Ni <ray.ni@intel.com>
---
 EmulatorPkg/EmulatorPkg.dec | 3 ++-
 EmulatorPkg/EmulatorPkg.dsc | 3 ++-
 EmulatorPkg/EmulatorPkg.fdf | 4 ++++
 3 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/EmulatorPkg/EmulatorPkg.dec b/EmulatorPkg/EmulatorPkg.dec
index b9c70b63b3a..9e87b50afc5 100644
--- a/EmulatorPkg/EmulatorPkg.dec
+++ b/EmulatorPkg/EmulatorPkg.dec
@@ -4,7 +4,7 @@
 #
 # Copyright (c) 2008 - 2019, Intel Corporation. All rights reserved.<BR>
 # Portions copyright (c) 2011, Apple Inc. All rights reserved.
-# (C) Copyright 2020 Hewlett Packard Enterprise Development LP<BR>
+# (C) Copyright 2020-2021 Hewlett Packard Enterprise Development LP<BR>
 #
 #    SPDX-License-Identifier: BSD-2-Clause-Patent
 #
@@ -47,6 +47,7 @@
   gEmuVirtualDisksGuid       = { 0xf2ba331a, 0x8985, 0x11db, { 0xa4, 0x06, 0x00, 0x40, 0xd0, 0x2b, 0x18, 0x35 } }
   gEmuPhysicalDisksGuid      = { 0xf2bdcc96, 0x8985, 0x11db, { 0x87, 0x19, 0x00, 0x40, 0xd0, 0x2b, 0x18, 0x35 } }
   gEmuRedfishServiceGuid     = { 0x3fb208ac, 0x2185, 0x498c, { 0xbf, 0x46, 0xdc, 0x23, 0xda, 0x58, 0x7b, 0x55 } }
+  gHii2RedfishMemoryFormsetGuid  = { 0XC2BE579E, 0X3C57, 0X499C, { 0XA9, 0XDF, 0XE6, 0X23, 0X8A, 0X49, 0X64, 0XF8 }}
 
 [PcdsFeatureFlag]
   ## If TRUE, if symbols only load on breakpoints and gdb entry
diff --git a/EmulatorPkg/EmulatorPkg.dsc b/EmulatorPkg/EmulatorPkg.dsc
index 554c13ddb50..d261b53ff0a 100644
--- a/EmulatorPkg/EmulatorPkg.dsc
+++ b/EmulatorPkg/EmulatorPkg.dsc
@@ -7,6 +7,7 @@
 # Copyright (c) 2006 - 2021, Intel Corporation. All rights reserved.<BR>
 # Portions copyright (c) 2010 - 2011, Apple Inc. All rights reserved.<BR>
 # Copyright (c) Microsoft Corporation.
+# (C) Copyright 2021 Hewlett Packard Enterprise Development LP<BR>
 #
 # SPDX-License-Identifier: BSD-2-Clause-Patent
 #
@@ -477,7 +478,7 @@
 !include NetworkPkg/Network.dsc.inc
 
 !if $(REDFISH_ENABLE) == TRUE
-  EmulatorPkg/Application/RedfishPlatformConfig/RedfishPlatformConfig.inf
+  EmulatorPkg/Hii2RedfishMemoryDxe/Hii2RedfishMemoryDxe.inf
 !endif
 !include RedfishPkg/Redfish.dsc.inc
 
diff --git a/EmulatorPkg/EmulatorPkg.fdf b/EmulatorPkg/EmulatorPkg.fdf
index 5420756eaa6..1d5f67c2695 100644
--- a/EmulatorPkg/EmulatorPkg.fdf
+++ b/EmulatorPkg/EmulatorPkg.fdf
@@ -3,6 +3,7 @@
 #
 # Copyright (c) 2008 - 2018, Intel Corporation. All rights reserved.<BR>
 # Portions copyright (c) 2009 - 2011, Apple Inc. All rights reserved.<BR>
+# (C) Copyright 2021 Hewlett Packard Enterprise Development LP<BR>
 #
 # SPDX-License-Identifier: BSD-2-Clause-Patent
 #
@@ -211,6 +212,9 @@ INF  EmulatorPkg/EmuSnpDxe/EmuSnpDxe.inf
 #
 # EFI Redfish drivers
 #
+!if $(REDFISH_ENABLE) == TRUE
+  INF EmulatorPkg/Hii2RedfishMemoryDxe/Hii2RedfishMemoryDxe.inf
+!endif
 !include RedfishPkg/Redfish.fdf.inc
 
 INF FatPkg/EnhancedFatDxe/Fat.inf
-- 
2.21.0.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#82892): https://edk2.groups.io/g/devel/message/82892
Mute This Topic: https://groups.io/mt/86668522/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-