TianoCore EDK2 master
Loading...
Searching...
No Matches
BlSupportDxe.c File Reference
#include "BlSupportDxe.h"

Go to the source code of this file.

Functions

EFI_STATUS ReserveResourceInGcd (IN BOOLEAN IsMMIO, IN UINTN GcdType, IN EFI_PHYSICAL_ADDRESS BaseAddress, IN UINT64 Length, IN UINTN Alignment, IN EFI_HANDLE ImageHandle)
 
EFI_STATUS EFIAPI BlDxeEntryPoint (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
 

Detailed Description

This driver will report some MMIO/IO resources to dxe core, extract smbios and acpi tables from bootloader.

Copyright (c) 2014 - 2021, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file BlSupportDxe.c.

Function Documentation

◆ BlDxeEntryPoint()

EFI_STATUS EFIAPI BlDxeEntryPoint ( IN EFI_HANDLE  ImageHandle,
IN EFI_SYSTEM_TABLE SystemTable 
)

Main entry for the bootloader support DXE module.

Parameters
[in]ImageHandleThe firmware allocated handle for the EFI image.
[in]SystemTableA pointer to the EFI System Table.
Return values
EFI_SUCCESSThe entry point is executed successfully.
otherSome error occurs when executing this entry point.

Definition at line 101 of file BlSupportDxe.c.

◆ ReserveResourceInGcd()

EFI_STATUS ReserveResourceInGcd ( IN BOOLEAN  IsMMIO,
IN UINTN  GcdType,
IN EFI_PHYSICAL_ADDRESS  BaseAddress,
IN UINT64  Length,
IN UINTN  Alignment,
IN EFI_HANDLE  ImageHandle 
)

Reserve MMIO/IO resource in GCD

Parameters
IsMMIOFlag of whether it is mmio resource or io resource.
GcdTypeType of the space.
BaseAddressBase address of the space.
LengthLength of the space.
AlignmentAlign with 2^Alignment
ImageHandleHandle for the image of this driver.
Return values
EFI_SUCCESSReserve successful

Definition at line 24 of file BlSupportDxe.c.