Copyright (C) 2015, Red Hat, Inc.\r
Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>\r
\r
- This program and the accompanying materials are licensed and made available\r
- under the terms and conditions of the BSD License which accompanies this\r
- distribution. The full text of the license may be found at\r
- http://opensource.org/licenses/bsd-license.php\r
-\r
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+ SPDX-License-Identifier: BSD-2-Clause-Patent\r
**/\r
\r
#include <Library/DebugLib.h>\r
+#include <Library/PcdLib.h>\r
#include <Library/SmmServicesTableLib.h>\r
#include <Protocol/DevicePath.h>\r
#include <Protocol/SmmFirmwareVolumeBlock.h>\r
EFI_HANDLE FvbHandle;\r
EFI_STATUS Status;\r
\r
+ ASSERT (FeaturePcdGet (PcdSmmSmramRequire));\r
+\r
//\r
// There is no SMM service that can install multiple protocols in the SMM\r
// protocol database in one go.\r
// Nothing.\r
//\r
}\r
+\r
+EFI_STATUS\r
+MarkIoMemoryRangeForRuntimeAccess (\r
+ IN EFI_PHYSICAL_ADDRESS BaseAddress,\r
+ IN UINTN Length\r
+ )\r
+{\r
+ //\r
+ // Nothing\r
+ //\r
+\r
+ return EFI_SUCCESS;\r
+}\r