Changeset 108794 in vbox for trunk/src/VBox/Devices/EFI/FirmwareNew/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableTraditionalMm.c
- Timestamp:
- Mar 31, 2025 11:31:09 AM (2 weeks ago)
- svn:sync-xref-src-repo-rev:
- 168237
- Location:
- trunk/src/VBox/Devices/EFI/FirmwareNew
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/FirmwareNew
-
Property svn:mergeinfo
changed from (toggle deleted branches)
to (toggle deleted branches)/vendor/edk2/current 103735-103757,103769-103776,129194-164365 /vendor/edk2/current 103735-103757,103769-103776,129194-168232
-
Property svn:mergeinfo
changed from (toggle deleted branches)
-
trunk/src/VBox/Devices/EFI/FirmwareNew/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableTraditionalMm.c
r99404 r108794 3 3 Parts of the SMM/MM implementation that are specific to traditional MM 4 4 5 Copyright (c) 2011 - 20 18, Intel Corporation. All rights reserved. <BR>5 Copyright (c) 2011 - 2024, Intel Corporation. All rights reserved. <BR> 6 6 Copyright (c) 2018, Linaro, Ltd. All rights reserved. <BR> 7 7 SPDX-License-Identifier: BSD-2-Clause-Patent … … 12 12 #include <Library/SmmMemLib.h> 13 13 #include "Variable.h" 14 15 /** 16 This function checks if the Primary Buffer (CommBuffer) is valid. 17 18 @param Buffer The buffer start address to be checked. 19 @param Length The buffer length to be checked. 20 21 @retval TRUE This buffer is valid. 22 @retval FALSE This buffer is not valid. 23 **/ 24 BOOLEAN 25 VariableSmmIsPrimaryBufferValid ( 26 IN EFI_PHYSICAL_ADDRESS Buffer, 27 IN UINT64 Length 28 ) 29 { 30 return SmmIsBufferOutsideSmmValid (Buffer, Length); 31 } 14 32 15 33 /** … … 26 44 **/ 27 45 BOOLEAN 28 VariableSmmIs BufferOutsideSmmValid (46 VariableSmmIsNonPrimaryBufferValid ( 29 47 IN EFI_PHYSICAL_ADDRESS Buffer, 30 48 IN UINT64 Length … … 101 119 102 120 @retval TRUE Either the TCG or TCG2 protocol is installed in the UEFI 103 protocol database 121 protocol database. MOR variable is legitimate. 104 122 @retval FALSE Neither the TCG nor the TCG2 protocol is installed in the UEFI 105 protocol database 123 protocol database. MOR variable is not legitimate. 106 124 **/ 107 125 BOOLEAN 108 Variable HaveTcgProtocols(126 VariableIsMorVariableLegitimate ( 109 127 VOID 110 128 )
Note:
See TracChangeset
for help on using the changeset viewer.