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

Go to the source code of this file.

Functions

STATIC EFI_STATUS PlatformHasAcpiDt (IN EFI_HANDLE ImageHandle)
 
EFI_STATUS EFIAPI KvmtoolPlatformDxeEntryPoint (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
 

Detailed Description

The KvmtoolPlatformDxe performs the platform specific initialization like:

  • It decides if the firmware should expose ACPI or Device Tree-based hardware description to the operating system.

Copyright (c) 2018 - 2023, Arm Limited. All rights reserved.

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

Definition in file KvmtoolPlatformDxe.c.

Function Documentation

◆ KvmtoolPlatformDxeEntryPoint()

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

Entry point for Kvmtool Platform Dxe

Parameters
[in]ImageHandleHandle for this image.
[in]SystemTablePointer to the EFI system table.
Return values
EFI_SUCCESSSuccess.
EFI_OUT_OF_RESOURCESThere was not enough memory to install the protocols.
EFI_INVALID_PARAMETERA parameter is invalid.

Definition at line 71 of file KvmtoolPlatformDxe.c.

◆ PlatformHasAcpiDt()

STATIC EFI_STATUS PlatformHasAcpiDt ( IN EFI_HANDLE  ImageHandle)

Decide if the firmware should expose ACPI tables or Device Tree and install the appropriate protocol interface.

Note: This function is derived from "ArmVirtPkg/PlatformHasAcpiDtDxe", by dropping the word size check, and the fw_cfg check.

Parameters
[in]ImageHandleHandle for this image.
Return values
EFI_SUCCESSSuccess.
EFI_OUT_OF_RESOURCESThere was not enough memory to install the protocols.
EFI_INVALID_PARAMETERA parameter is invalid.

Definition at line 35 of file KvmtoolPlatformDxe.c.