TianoCore EDK2 master
|
#include <PiDxe.h>
#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
#include <Library/UefiLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Library/RegisterCpuFeaturesLib.h>
#include <Library/HobLib.h>
#include <Protocol/SmmConfiguration.h>
#include <Guid/CpuFeaturesInitDone.h>
Go to the source code of this file.
Functions | |
VOID | CpuFeaturesInitializeWorker (VOID) |
VOID EFIAPI | SmmConfigurationEventNotify (IN EFI_EVENT Event, IN VOID *Context) |
EFI_STATUS EFIAPI | CpuFeaturesDxeInitialize (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
CPU Features DXE driver to initialize CPU features.
Copyright (c) 2017 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file CpuFeaturesDxe.c.
EFI_STATUS EFIAPI CpuFeaturesDxeInitialize | ( | IN EFI_HANDLE | ImageHandle, |
IN EFI_SYSTEM_TABLE * | SystemTable | ||
) |
CPU Features driver entry point function.
If PcdCpuFeaturesInitAfterSmmRelocation is TRUE, it will register one SMM Configuration Protocol notify function to perform CPU features initialization. Otherwise, it will perform CPU features initialization directly.
ImageHandle | Image handle this driver. |
SystemTable | Pointer to the System Table. |
EFI_SUCCESS | CPU Features is initialized successfully. |
Definition at line 92 of file CpuFeaturesDxe.c.
VOID CpuFeaturesInitializeWorker | ( | VOID | ) |
Worker function to perform CPU feature initialization.
Definition at line 26 of file CpuFeaturesDxe.c.
Event notification that initialize CPU features when gEfiSmmConfigurationProtocol installs.
[in] | Event | The Event that is being processed, not used. |
[in] | Context | Event Context, not used. |
Definition at line 58 of file CpuFeaturesDxe.c.