#\r
# Copyright (c) 2006 - 2020, Intel Corporation. All rights reserved.<BR>\r
# Portions copyright (c) 2010 - 2011, Apple Inc. All rights reserved.<BR>\r
+# Copyright (c) Microsoft Corporation.\r
#\r
# SPDX-License-Identifier: BSD-2-Clause-Patent\r
#\r
DEFINE NETWORK_IP6_ENABLE = FALSE\r
DEFINE NETWORK_TLS_ENABLE = FALSE\r
DEFINE NETWORK_HTTP_BOOT_ENABLE = FALSE\r
+ DEFINE NETWORK_HTTP_ENABLE = FALSE\r
DEFINE NETWORK_ISCSI_ENABLE = FALSE\r
DEFINE SECURE_BOOT_ENABLE = FALSE\r
\r
+ #\r
+ # Redfish definition\r
+ #\r
+ DEFINE REDFISH_ENABLE = FALSE\r
+\r
[SkuIds]\r
0|DEFAULT\r
\r
#\r
PlatformBootManagerLib|EmulatorPkg/Library/PlatformBmLib/PlatformBmLib.inf\r
KeyMapLib|EmulatorPkg/Library/KeyMapLibNull/KeyMapLibNull.inf\r
-\r
+ !if $(REDFISH_ENABLE) == TRUE\r
+ RedfishPlatformHostInterfaceLib|EmulatorPkg/Library/RedfishPlatformHostInterfaceLib/RedfishPlatformHostInterfaceLib.inf\r
+ RedfishPlatformCredentialLib|EmulatorPkg/Library/RedfishPlatformCredentialLib/RedfishPlatformCredentialLib.inf\r
+ !endif\r
#\r
# Misc\r
#\r
CpuExceptionHandlerLib|MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.inf\r
TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurementLibNull.inf\r
VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf\r
+ VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf\r
+ VariablePolicyHelperLib|MdeModulePkg/Library/VariablePolicyHelperLib/VariablePolicyHelperLib.inf\r
SortLib|MdeModulePkg/Library/BaseSortLib/BaseSortLib.inf\r
ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
\r
!if $(SECURE_BOOT_ENABLE) == TRUE\r
+ RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf\r
IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf\r
PlatformSecureLib|SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf\r
# 0-PCANSI, 1-VT100, 2-VT00+, 3-UTF8, 4-TTYTERM\r
gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|1\r
\r
+!if $(REDFISH_ENABLE) == TRUE\r
+ gEfiRedfishPkgTokenSpaceGuid.PcdRedfishRestExServiceDevicePath.DevicePathMatchMode|DEVICE_PATH_MATCH_MAC_NODE\r
+ gEfiRedfishPkgTokenSpaceGuid.PcdRedfishRestExServiceDevicePath.DevicePathNum|1\r
+ #\r
+ # Below is the MAC address of network adapter on EDK2 Emulator platform.\r
+ # You can use ifconfig under EFI shell to get the MAC address of network adapter on EDK2 Emulator platform.\r
+ #\r
+ gEfiRedfishPkgTokenSpaceGuid.PcdRedfishRestExServiceDevicePath.DevicePath|{DEVICE_PATH("MAC(000000000000,0x1)")}\r
+ gEfiRedfishPkgTokenSpaceGuid.PcdRedfishRestExServiceAccessModeInBand|False\r
+ gEfiRedfishPkgTokenSpaceGuid.PcdRedfishDiscoverAccessModeInBand|False\r
+!endif\r
+\r
[PcdsDynamicDefault.common.DEFAULT]\r
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0\r
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0\r
NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf\r
NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf\r
HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf\r
+ OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf\r
SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r
PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
# SafeBlockIoLib|ShellPkg/Library/SafeBlockIoLib/SafeBlockIoLib.inf\r
\r
!include NetworkPkg/Network.dsc.inc\r
\r
+!if $(REDFISH_ENABLE) == TRUE\r
+ EmulatorPkg/Application/RedfishPlatformConfig/RedfishPlatformConfig.inf\r
+!endif\r
+!include RedfishPkg/Redfish.dsc.inc\r
+\r
[BuildOptions]\r
#\r
# Disable deprecated APIs.\r