\r
FpdtSmiHandler() will receive untrusted input and do basic validation.\r
\r
- Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2011 - 2021, Intel Corporation. All rights reserved.<BR>\r
Copyright (c), Microsoft Corporation.\r
SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
\r
#include <PiSmm.h>\r
\r
-#include <Library/SmmMemLib.h>\r
#include "FirmwarePerformanceCommon.h"\r
\r
-/**\r
- This function is an abstraction layer for implementation specific Mm buffer validation routine.\r
-\r
- @param Buffer The buffer start address to be checked.\r
- @param Length The buffer length to be checked.\r
-\r
- @retval TRUE This buffer is valid per processor architecture and not overlap with SMRAM.\r
- @retval FALSE This buffer is not valid per processor architecture or overlap with SMRAM.\r
-**/\r
-BOOLEAN\r
-IsBufferOutsideMmValid (\r
- IN EFI_PHYSICAL_ADDRESS Buffer,\r
- IN UINT64 Length\r
- )\r
-{\r
- return SmmIsBufferOutsideSmmValid (Buffer, Length);\r
-}\r
-\r
/**\r
The module Entry Point of the Firmware Performance Data Table MM driver.\r
\r