TianoCore EDK2 master
Loading...
Searching...
No Matches
QemuFlashSmm.c File Reference

Go to the source code of this file.

Functions

VOID QemuFlashBeforeProbe (IN EFI_PHYSICAL_ADDRESS BaseAddress, IN UINTN FdBlockSize, IN UINTN FdBlockCount)
 
VOID QemuFlashPtrWrite (IN volatile UINT8 *Ptr, IN UINT8 Value)
 

Detailed Description

Define the module hooks used while probing the QEMU flash device.

Copyright (C) 2018, Advanced Micro Devices. All rights reserved.

SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file QemuFlashSmm.c.

Function Documentation

◆ QemuFlashBeforeProbe()

VOID QemuFlashBeforeProbe ( IN EFI_PHYSICAL_ADDRESS  BaseAddress,
IN UINTN  FdBlockSize,
IN UINTN  FdBlockCount 
)

Definition at line 18 of file QemuFlashSmm.c.

◆ QemuFlashPtrWrite()

VOID QemuFlashPtrWrite ( IN volatile UINT8 *  Ptr,
IN UINT8  Value 
)

Write to QEMU Flash

Parameters
[in]PtrPointer to the location to write.
[in]ValueThe value to write.

Definition at line 57 of file QemuFlashSmm.c.