diff options
Diffstat (limited to 'IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h')
-rw-r--r-- | IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h b/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h index 28a6649347..039747df0f 100644 --- a/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h +++ b/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h @@ -126,4 +126,20 @@ BdsSetMemoryTypeInformationVariable ( VOID
);
+/**
+ Validate the EFI Boot#### or Driver#### variable (VendorGuid/Name)
+
+ @param Variable Boot#### variable data.
+ @param VariableSize Returns the size of the EFI variable that was read
+
+ @retval TRUE The variable data is correct.
+ @retval FALSE The variable data is corrupted.
+
+**/
+BOOLEAN
+ValidateOption (
+ UINT8 *Variable,
+ UINTN VariableSize
+ );
+
#endif // _BDS_LIB_H_
|