TianoCore EDK2 master
Loading...
Searching...
No Matches
VarCheckPolicyLibTraditional.c
1
10#include <Library/SmmMemLib.h>
11
12#include "VarCheckPolicyLib.h"
13
25EFIAPI
26VarCheckPolicyLibTraditionalConstructor (
27 IN EFI_HANDLE ImageHandle,
28 IN EFI_SYSTEM_TABLE *SystemTable
29 )
30{
31 return VarCheckPolicyLibCommonConstructor ();
32}
33
43BOOLEAN
44EFIAPI
45VarCheckPolicyIsPrimaryBufferValid (
47 IN UINT64 Length
48 )
49{
50 return SmmIsBufferOutsideSmmValid (Buffer, Length);
51}
#define IN
Definition: Base.h:279
BOOLEAN EFIAPI SmmIsBufferOutsideSmmValid(IN EFI_PHYSICAL_ADDRESS Buffer, IN UINT64 Length)
Definition: SmmMemLib.c:114
UINT64 EFI_PHYSICAL_ADDRESS
Definition: UefiBaseType.h:50
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VOID * EFI_HANDLE
Definition: UefiBaseType.h:33