TianoCore EDK2 master
Loading...
Searching...
No Matches
SmmMemLib.h
Go to the documentation of this file.
1
13#ifndef _SMM_MEM_LIB_H_
14#define _SMM_MEM_LIB_H_
15
25BOOLEAN
26EFIAPI
29 IN UINT64 Length
30 );
31
50EFIAPI
52 OUT VOID *DestinationBuffer,
53 IN CONST VOID *SourceBuffer,
54 IN UINTN Length
55 );
56
75EFIAPI
77 OUT VOID *DestinationBuffer,
78 IN CONST VOID *SourceBuffer,
79 IN UINTN Length
80 );
81
101EFIAPI
103 OUT VOID *DestinationBuffer,
104 IN CONST VOID *SourceBuffer,
105 IN UINTN Length
106 );
107
125EFIAPI
126SmmSetMem (
127 OUT VOID *Buffer,
128 IN UINTN Length,
129 IN UINT8 Value
130 );
131
132#endif
UINT64 UINTN
#define CONST
Definition: Base.h:259
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
EFI_STATUS EFIAPI SmmCopyMem(OUT VOID *DestinationBuffer, IN CONST VOID *SourceBuffer, IN UINTN Length)
Definition: SmmMemLib.c:328
EFI_STATUS EFIAPI SmmSetMem(OUT VOID *Buffer, IN UINTN Length, IN UINT8 Value)
Definition: SmmMemLib.c:366
EFI_STATUS EFIAPI SmmCopyMemFromSmram(OUT VOID *DestinationBuffer, IN CONST VOID *SourceBuffer, IN UINTN Length)
Definition: SmmMemLib.c:293
BOOLEAN EFIAPI SmmIsBufferOutsideSmmValid(IN EFI_PHYSICAL_ADDRESS Buffer, IN UINT64 Length)
Definition: SmmMemLib.c:114
EFI_STATUS EFIAPI SmmCopyMemToSmram(OUT VOID *DestinationBuffer, IN CONST VOID *SourceBuffer, IN UINTN Length)
Definition: SmmMemLib.c:259
UINT64 EFI_PHYSICAL_ADDRESS
Definition: UefiBaseType.h:50
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29