2021-02-17 22:32:25 +01:00
|
|
|
/** @file
|
|
|
|
Implementation specific to the SmmCpuFeatureLib library instance.
|
|
|
|
|
|
|
|
Copyright (c) Microsoft Corporation.<BR>
|
|
|
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
|
|
|
|
|
|
**/
|
|
|
|
|
2021-02-17 22:32:27 +01:00
|
|
|
#include <PiMm.h>
|
2021-02-17 22:32:25 +01:00
|
|
|
#include "CpuFeaturesLib.h"
|
|
|
|
|
|
|
|
/**
|
|
|
|
The constructor function for the Traditional MM library instance without STM.
|
|
|
|
|
|
|
|
@param[in] ImageHandle The firmware allocated handle for the EFI image.
|
|
|
|
@param[in] SystemTable A pointer to the EFI System Table.
|
|
|
|
|
|
|
|
@retval EFI_SUCCESS The constructor always returns EFI_SUCCESS.
|
|
|
|
|
|
|
|
**/
|
|
|
|
EFI_STATUS
|
|
|
|
EFIAPI
|
|
|
|
SmmCpuFeaturesLibConstructor (
|
|
|
|
IN EFI_HANDLE ImageHandle,
|
|
|
|
IN EFI_SYSTEM_TABLE *SystemTable
|
|
|
|
)
|
|
|
|
{
|
|
|
|
CpuFeaturesLibInitialization ();
|
|
|
|
|
|
|
|
return EFI_SUCCESS;
|
|
|
|
}
|