TianoCore EDK2 master
Loading...
Searching...
No Matches
FlashDeviceLib.h
Go to the documentation of this file.
1
9#ifndef FLASHDEVICE_LIB_H_
10#define FLASHDEVICE_LIB_H_
11
26EFIAPI
28 IN UINTN PAddress,
29 IN OUT UINTN *NumBytes,
30 OUT UINT8 *Buffer
31 );
32
47EFIAPI
49 IN UINTN PAddress,
50 IN OUT UINTN *NumBytes,
51 IN UINT8 *Buffer
52 );
53
70EFIAPI
72 IN UINTN PAddress,
73 IN UINTN LbaLength
74 );
75
92EFIAPI
94 IN UINTN PAddress,
95 IN UINTN LbaLength,
96 IN BOOLEAN Lock
97 );
98
99PHYSICAL_ADDRESS
100EFIAPI
101LibFvbFlashDeviceMemoryMap (
102 );
103
104#endif
UINT64 UINTN
EFI_STATUS EFIAPI LibFvbFlashDeviceRead(IN UINTN PAddress, IN OUT UINTN *NumBytes, OUT UINT8 *Buffer)
EFI_STATUS EFIAPI LibFvbFlashDeviceBlockLock(IN UINTN PAddress, IN UINTN LbaLength, IN BOOLEAN Lock)
EFI_STATUS EFIAPI LibFvbFlashDeviceBlockErase(IN UINTN PAddress, IN UINTN LbaLength)
EFI_STATUS EFIAPI LibFvbFlashDeviceWrite(IN UINTN PAddress, IN OUT UINTN *NumBytes, IN UINT8 *Buffer)
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
EFI_STATUS EFIAPI Lock(IN EFI_SMM_ACCESS2_PROTOCOL *This)
Definition: SmmAccessDxe.c:133
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29