]>
git.proxmox.com Git - mirror_edk2.git/blob - Vlv2DeviceRefCodePkg/ValleyView2Soc/SouthCluster/Include/Library/PchPlatformLib.h
5 Copyright (c) 2012 - 2014, Intel Corporation. All rights reserved
7 SPDX-License-Identifier: BSD-2-Clause-Patent
14 Header file for PchPlatform Lib.
17 #ifndef _PCH_PLATFORM_LIB_H_
18 #define _PCH_PLATFORM_LIB_H_
21 /// Timeout value used when Sending / Receiving messages.
22 /// NOTE: this must cover the longest possible wait time
23 /// between message being sent and response being available.
24 /// e.g. Virtual function readiness might take some time.
34 Delay for at least the request number of microseconds.
35 This function would be called by runtime driver, please do not use any MMIO marco here.
37 @param[in] Microseconds Number of microseconds to delay.
46 PchIsSpiDescriptorMode (
52 Check whether SPI is in descriptor mode
54 @param[in] SpiBase The PCH Spi Base Address
56 @retval TRUE SPI is in descriptor mode
57 @retval FALSE SPI is not in descriptor mode
70 Return Pch stepping type
74 @retval PCH_STEPPING Pch stepping type
86 Determine if PCH is supported
90 @retval TRUE PCH is supported
91 @retval FALSE PCH is not supported
98 PchAlternateAccessMode (
104 This function can be called to enable/disable Alternate Access Mode
106 @param[in] IlbBase The PCH ILB Base Address
107 @param[in] AmeCtrl If TRUE, enable Alternate Access Mode.
108 If FALSE, disable Alternate Access Mode.