TianoCore EDK2 master
Loading...
Searching...
No Matches
QemuFlash.h
Go to the documentation of this file.
1
10#ifndef __QEMU_FLASH_H__
11#define __QEMU_FLASH_H__
12
14
15extern UINT8 *mFlashBase;
16
29 IN EFI_LBA Lba,
30 IN UINTN Offset,
31 IN UINTN *NumBytes,
32 IN UINT8 *Buffer
33 );
34
47 IN EFI_LBA Lba,
48 IN UINTN Offset,
49 IN UINTN *NumBytes,
50 IN UINT8 *Buffer
51 );
52
61 IN EFI_LBA Lba
62 );
63
73 VOID
74 );
75
76VOID
77QemuFlashConvertPointers (
78 VOID
79 );
80
81VOID
82QemuFlashBeforeProbe (
83 IN EFI_PHYSICAL_ADDRESS BaseAddress,
84 IN UINTN FdBlockSize,
85 IN UINTN FdBlockCount
86 );
87
95VOID
97 IN volatile UINT8 *Ptr,
98 IN UINT8 Value
99 );
100
101#endif
UINT64 UINTN
#define IN
Definition: Base.h:279
EFI_STATUS QemuFlashWrite(IN EFI_LBA Lba, IN UINTN Offset, IN UINTN *NumBytes, IN UINT8 *Buffer)
Definition: QemuFlash.c:188
EFI_STATUS QemuFlashEraseBlock(IN EFI_LBA Lba)
Definition: QemuFlash.c:234
EFI_STATUS QemuFlashRead(IN EFI_LBA Lba, IN UINTN Offset, IN UINTN *NumBytes, IN UINT8 *Buffer)
Definition: QemuFlash.c:150
VOID QemuFlashPtrWrite(IN volatile UINT8 *Ptr, IN UINT8 Value)
Definition: QemuFlashDxe.c:53
EFI_STATUS QemuFlashInitialize(VOID)
Definition: QemuFlash.c:258
UINT64 EFI_PHYSICAL_ADDRESS
Definition: UefiBaseType.h:50
UINT64 EFI_LBA
Definition: UefiBaseType.h:45
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29