TianoCore EDK2 master
Loading...
Searching...
No Matches
QemuFwCfgMmioPei.c File Reference
#include <Uefi.h>
#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
#include <Library/IoLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/QemuFwCfgLib.h>
#include <libfdt.h>
#include "QemuFwCfgLibMmioInternal.h"

Go to the source code of this file.

Functions

UINTN EFIAPI QemuGetFwCfgSelectorAddress (VOID)
 
UINTN EFIAPI QemuGetFwCfgDataAddress (VOID)
 
UINTN EFIAPI QemuGetFwCfgDmaAddress (VOID)
 
RETURN_STATUS EFIAPI QemuFwCfgInitialize (VOID)
 

Detailed Description

Stateful and implicitly initialized fw_cfg library implementation.

Copyright (C) 2013 - 2014, Red Hat, Inc. Copyright (c) 2011 - 2013, Intel Corporation. All rights reserved.
(C) Copyright 2021 Hewlett Packard Enterprise Development LP
Copyright (c) 2024 Loongson Technology Corporation Limited. All rights reserved.

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

Definition in file QemuFwCfgMmioPei.c.

Function Documentation

◆ QemuFwCfgInitialize()

RETURN_STATUS EFIAPI QemuFwCfgInitialize ( VOID  )

Definition at line 90 of file QemuFwCfgMmioPei.c.

◆ QemuGetFwCfgDataAddress()

UINTN EFIAPI QemuGetFwCfgDataAddress ( VOID  )

To get firmware configure Data address.

Parameters
VOID
Return values
firmwareconfigure data address

Definition at line 55 of file QemuFwCfgMmioPei.c.

◆ QemuGetFwCfgDmaAddress()

UINTN EFIAPI QemuGetFwCfgDmaAddress ( VOID  )

To get firmware DMA address.

Parameters
VOID
Return values
firmwareDMA address

Definition at line 76 of file QemuFwCfgMmioPei.c.

◆ QemuGetFwCfgSelectorAddress()

UINTN EFIAPI QemuGetFwCfgSelectorAddress ( VOID  )

To get firmware configure selector address.

Parameters
VOID
Return values
firmwareconfigure selector address

Definition at line 34 of file QemuFwCfgMmioPei.c.