audk/SecurityPkg/Tcg
Jiaxin Wu d5fad2176c SecurityPkg/Tcg: Correct buffer valid check func
For SMM, the SMM Handlers is to validate the buffer outside MMRAM
including the Primary & NonPrimary buffer.

For MM, the MM Handlers do not need to validate the Primary buffer
if it is passed from MmCore through the MmiHandler() parameter.
Return TRUE directly in this case. But need to validate NonPrimary
buffer that outside MMRAM.

Signed-off-by: Jiaxin Wu <jiaxin.wu@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Cc: Hongbin1 Zhang <hongbin1.zhang@intel.com>
Cc: Wei6 Xu <wei6.xu@intel.com>
Cc: Dun Tan <dun.tan@intel.com>
Cc: Yuanhao Xie <yuanhao.xie@intel.com>
2024-07-07 08:40:03 +00:00
..
MemoryOverwriteControl SecurityPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
MemoryOverwriteRequestControlLock SecurityPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Opal/OpalPassword SecurityPkg/OpalPasswordDxe: Force reparsing IFR binary when RETRIEVE 2024-04-16 09:20:58 +00:00
PhysicalPresencePei SecurityPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Tcg2Acpi SecurityPkg: Consume gEdkiiTcg2AcpiCommunicateBufferHobGuid 2024-07-02 03:31:31 +00:00
Tcg2Config SecurityPkg/Tcg2Config: avoid potential build error 2024-07-04 21:33:44 +00:00
Tcg2Dxe SecurityPkg: Recognize sp800155Event3 event 2024-05-07 00:21:40 +00:00
Tcg2Pei SecurityPkg: Update code to be more C11 compliant by using __func__ 2023-04-10 14:19:57 +00:00
Tcg2PlatformDxe SecurityPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Tcg2PlatformPei SecurityPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Tcg2Smm SecurityPkg/Tcg: Correct buffer valid check func 2024-07-07 08:40:03 +00:00
TcgConfigDxe SecurityPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
TcgDxe SecurityPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
TcgPei SecurityPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
TcgSmm SecurityPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00