#define RDWR_ACCS 3\r
#define FULL_ACCS 7\r
\r
-/**\r
- The constructor function\r
-\r
- @param[in] ImageHandle The firmware allocated handle for the EFI image.\r
- @param[in] SystemTable A pointer to the EFI System Table.\r
-\r
- @retval EFI_SUCCESS The constructor always returns EFI_SUCCESS.\r
-\r
-**/\r
-EFI_STATUS\r
-EFIAPI\r
-SmmCpuFeaturesLibConstructor (\r
- IN EFI_HANDLE ImageHandle,\r
- IN EFI_SYSTEM_TABLE *SystemTable\r
- );\r
-\r
EFI_HANDLE mStmSmmCpuHandle = NULL;\r
\r
BOOLEAN mLockLoadMonitor = FALSE;\r
BOOLEAN mStmConfigurationTableInitialized = FALSE;\r
\r
/**\r
- The constructor function\r
+ The constructor function for the Traditional MM library instance with STM.\r
\r
@param[in] ImageHandle The firmware allocated handle for the EFI image.\r
@param[in] SystemTable A pointer to the EFI System Table.\r
SmmCpuFeaturesLibStmSmiEntryFixupAddress ();\r
\r
//\r
- // Call the common constructor function\r
+ // Perform library initialization common across all instances\r
//\r
- Status = SmmCpuFeaturesLibConstructor (ImageHandle, SystemTable);\r
- ASSERT_EFI_ERROR (Status);\r
+ CpuFeaturesLibInitialization ();\r
\r
//\r
// Lookup the MP Services Protocol\r