]> git.proxmox.com Git - mirror_edk2.git/blob - OvmfPkg/QemuFlashFvbServicesRuntimeDxe/QemuFlashDxe.c
OvmfPkg/QemuFlashFvbServicesRuntimeDxe: Clear C-bit when SEV is active
[mirror_edk2.git] / OvmfPkg / QemuFlashFvbServicesRuntimeDxe / QemuFlashDxe.c
1 /** @file
2 OVMF support for QEMU system firmware flash device: functions specific to the
3 runtime DXE driver build.
4
5 Copyright (C) 2015, Red Hat, Inc.
6 Copyright (c) 2009 - 2013, Intel Corporation. All rights reserved.<BR>
7
8 This program and the accompanying materials are licensed and made available
9 under the terms and conditions of the BSD License which accompanies this
10 distribution. The full text of the license may be found at
11 http://opensource.org/licenses/bsd-license.php
12
13 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
14 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15
16 **/
17
18 #include <Library/UefiRuntimeLib.h>
19
20 #include "QemuFlash.h"
21
22 VOID
23 QemuFlashConvertPointers (
24 VOID
25 )
26 {
27 EfiConvertPointer (0x0, (VOID **) &mFlashBase);
28 }
29
30 VOID
31 QemuFlashBeforeProbe (
32 IN EFI_PHYSICAL_ADDRESS BaseAddress,
33 IN UINTN FdBlockSize,
34 IN UINTN FdBlockCount
35 )
36 {
37 //
38 // Do nothing
39 //
40 }