X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=QuarkSocPkg%2FQuarkNorthCluster%2FSpi%2FRuntimeDxe%2FPchSpi.h;fp=QuarkSocPkg%2FQuarkNorthCluster%2FSpi%2FRuntimeDxe%2FPchSpi.h;h=50dd60ce2be24a198d52cf605bf033f8838784dc;hp=0000000000000000000000000000000000000000;hb=9b6bbcdbfdf5e54c6d1ed538ea8076d0858fb164;hpb=46ff196fde4882fca1a0210f7df9166d8832ad06 diff --git a/QuarkSocPkg/QuarkNorthCluster/Spi/RuntimeDxe/PchSpi.h b/QuarkSocPkg/QuarkNorthCluster/Spi/RuntimeDxe/PchSpi.h new file mode 100644 index 0000000000..50dd60ce2b --- /dev/null +++ b/QuarkSocPkg/QuarkNorthCluster/Spi/RuntimeDxe/PchSpi.h @@ -0,0 +1,85 @@ +/** @file +Header file for the PCH SPI Runtime Driver. + +Copyright (c) 2013-2015 Intel Corporation. + +This program and the accompanying materials +are licensed and made available under the terms and conditions of the BSD License +which accompanies this distribution. The full text of the license may be found at +http://opensource.org/licenses/bsd-license.php + +THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. + +**/ + +#ifndef _PCH_SPI_H_ +#define _PCH_SPI_H_ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include "SpiCommon.h" +#include +#include +#include +#include +#include + +#define EFI_INTERNAL_POINTER 0x00000004 + + +// +// Function prototypes used by the SPI protocol. +// +VOID +PchSpiVirtualddressChangeEvent ( + IN EFI_EVENT Event, + IN VOID *Context + ) +/*++ + +Routine Description: + + Fixup internal data pointers so that the services can be called in virtual mode. + +Arguments: + + Event The event registered. + Context Event context. Not used in this event handler. + +Returns: + + None. + +--*/ +; + +VOID +EFIAPI +SpiPhaseInit ( + VOID + ) +/*++ +Routine Description: + + This function is a hook for Spi Dxe phase specific initialization + +Arguments: + + None + +Returns: + + None + +--*/ +; +#endif