Files
slimbootloader/BootloaderCorePkg/Include/Library/SocInitLib.h
T
Aiden Park 29446a1c2a Pointer type cast for both 32/64-bit operation (#615)
This patch allows both 32/64-bit addressing properly.
- Pointer type cast with UINTN
- Add missing EFIAPI for APIs

Signed-off-by: Aiden Park <aiden.park@intel.com>
2020-03-26 17:30:55 -07:00

63 lines
822 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
EFIAPI
EnableCodeExecution (
VOID
);
/**
Disable watch dog timer (Halt TCO timer).
**/
VOID
EFIAPI
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