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
+ !endif\r
#\r
# Misc\r
#\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
\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