Files
slimbootloader/BootloaderCorePkg/Include/Library/SocInitLib.h
T
Maurice Ma 6d72d2426a Use GetTimeStampFrequency API to get CPU TSC frequency
This patch used the common API GetTimeStampFrequency() to get CPU
TSC frequency instead of the original GetCpuTscFreqency(). As part
of it, all SOC specific instances for GetCpuTscFreqency() were
removed.

Signed-off-by: Maurice Ma <maurice.ma@intel.com>
2019-10-07 16:08:33 -07:00

61 lines
806 B
C

/** @file
Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#ifndef _SOC_INIT_LIB_H_
/**
Enables the execution by writing to the MSR.
**/
VOID
EnableCodeExecution (
VOID
);
/**
Disable watch dog timer (Halt TCO timer).
**/
VOID
DisableWatchDogTimer (
VOID
);
/**
Get size of global nvs area.
@param[in] none
@retval UINT32 Size of global nvs area.
**/
UINT32
EFIAPI
GetAcpiGnvsSize (
VOID
);
/**
Update GPIO address and length to global NVS data.
@param [in] GnvsIn Pointer to Global NVS data.
**/
VOID
EFIAPI
SocUpdateAcpiGnvs (
IN VOID *Gnvs
);
/**
Update reset reason.
**/
VOID
EFIAPI
UpdateResetReason (
VOID
);
#endif