TianoCore EDK2 master
|
#include <PiPei.h>
#include <Library/BaseMemoryLib.h>
#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
#include <Library/HobLib.h>
#include <Library/IoLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/PcdLib.h>
#include <Library/PciLib.h>
#include <Library/PeimEntryPoint.h>
#include <Library/PeiServicesLib.h>
#include <Library/QemuFwCfgLib.h>
#include <Library/QemuFwCfgS3Lib.h>
#include <Library/QemuFwCfgSimpleParserLib.h>
#include <Library/ResourcePublicationLib.h>
#include <Ppi/MasterBootMode.h>
#include <IndustryStandard/I440FxPiix4.h>
#include <IndustryStandard/Microvm.h>
#include <IndustryStandard/Pci22.h>
#include <IndustryStandard/Q35MchIch9.h>
#include <IndustryStandard/QemuCpuHotplug.h>
#include <Library/MemEncryptSevLib.h>
#include <OvmfPlatforms.h>
#include <Library/TdxHelperLib.h>
#include "Platform.h"
#include "PlatformId.h"
Go to the source code of this file.
Functions | |
VOID | MemMapInitialization (IN OUT EFI_HOB_PLATFORM_INFO *PlatformInfoHob) |
STATIC VOID | NoexecDxeInitialization (IN OUT EFI_HOB_PLATFORM_INFO *PlatformInfoHob) |
VOID | MicrovmInitialization (VOID) |
VOID | MiscInitializationForMicrovm (IN EFI_HOB_PLATFORM_INFO *PlatformInfoHob) |
VOID | MiscInitialization (IN EFI_HOB_PLATFORM_INFO *PlatformInfoHob) |
VOID | BootModeInitialization (IN OUT EFI_HOB_PLATFORM_INFO *PlatformInfoHob) |
VOID | ReserveEmuVariableNvStore () |
STATIC VOID | Q35BoardVerification (IN EFI_HOB_PLATFORM_INFO *PlatformInfoHob) |
VOID | MaxCpuCountInitialization (IN OUT EFI_HOB_PLATFORM_INFO *PlatformInfoHob) |
EFI_HOB_PLATFORM_INFO * | BuildPlatformInfoHob (VOID) |
Builds PlatformInfo Hob. | |
EFI_STATUS EFIAPI | InitializePlatform (IN EFI_PEI_FILE_HANDLE FileHandle, IN CONST EFI_PEI_SERVICES **PeiServices) |
Variables | |
EFI_PEI_PPI_DESCRIPTOR | mPpiBootMode [] |
Platform PEI driver
Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.
Copyright (c) 2011, Andrei Warkentin andre.nosp@m.iw@m.nosp@m.otoro.nosp@m.la.c.nosp@m.om
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file Platform.c.
VOID BootModeInitialization | ( | IN OUT EFI_HOB_PLATFORM_INFO * | PlatformInfoHob | ) |
Definition at line 198 of file Platform.c.
EFI_HOB_PLATFORM_INFO * BuildPlatformInfoHob | ( | VOID | ) |
Builds PlatformInfo Hob.
Definition at line 280 of file Platform.c.
EFI_STATUS EFIAPI InitializePlatform | ( | IN EFI_PEI_FILE_HANDLE | FileHandle, |
IN CONST EFI_PEI_SERVICES ** | PeiServices | ||
) |
Perform Platform PEI initialization.
FileHandle | Handle of the file being invoked. |
PeiServices | Describes the list of possible PEI Services. |
Definition at line 304 of file Platform.c.
VOID MaxCpuCountInitialization | ( | IN OUT EFI_HOB_PLATFORM_INFO * | PlatformInfoHob | ) |
Fetch the boot CPU count and the possible CPU count from QEMU, and expose them to UefiCpuPkg modules. Set the MaxCpuCount field in PlatformInfoHob.
Definition at line 262 of file Platform.c.
VOID MemMapInitialization | ( | IN OUT EFI_HOB_PLATFORM_INFO * | PlatformInfoHob | ) |
Definition at line 55 of file Platform.c.
VOID MicrovmInitialization | ( | VOID | ) |
Definition at line 106 of file Platform.c.
VOID MiscInitialization | ( | IN EFI_HOB_PLATFORM_INFO * | PlatformInfoHob | ) |
Definition at line 185 of file Platform.c.
VOID MiscInitializationForMicrovm | ( | IN EFI_HOB_PLATFORM_INFO * | PlatformInfoHob | ) |
Definition at line 155 of file Platform.c.
STATIC VOID NoexecDxeInitialization | ( | IN OUT EFI_HOB_PLATFORM_INFO * | PlatformInfoHob | ) |
Definition at line 80 of file Platform.c.
STATIC VOID Q35BoardVerification | ( | IN EFI_HOB_PLATFORM_INFO * | PlatformInfoHob | ) |
Definition at line 237 of file Platform.c.
VOID ReserveEmuVariableNvStore | ( | ) |
Definition at line 218 of file Platform.c.
EFI_PEI_PPI_DESCRIPTOR mPpiBootMode[] |
Definition at line 46 of file Platform.c.