]>
git.proxmox.com Git - mirror_edk2.git/blob - QuarkSocPkg/QuarkNorthCluster/Spi/RuntimeDxe/PchSpi.h
2 Header file for the PCH SPI Runtime Driver.
4 Copyright (c) 2013-2015 Intel Corporation.
6 This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution. The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
19 #include <Library/PcdLib.h>
20 #include <Library/UefiLib.h>
21 #include <Library/DebugLib.h>
22 #include <Library/UefiRuntimeLib.h>
23 #include <Library/S3BootScriptLib.h>
24 #include <Library/MemoryAllocationLib.h>
25 #include <Library/DxeServicesTableLib.h>
26 #include <Library/UefiRuntimeServicesTableLib.h>
27 #include <Library/UefiBootServicesTableLib.h>
28 #include <Protocol/Spi.h>
29 #include "SpiCommon.h"
30 #include <Library/PciExpressLib.h>
31 #include <IntelQNCRegs.h>
32 #include <Library/IntelQNCLib.h>
33 #include <Library/QNCAccessLib.h>
34 #include <Library/TimerLib.h>
36 #define EFI_INTERNAL_POINTER 0x00000004
40 // Function prototypes used by the SPI protocol.
43 PchSpiVirtualddressChangeEvent (
51 Fixup internal data pointers so that the services can be called in virtual mode.
55 Event The event registered.
56 Context Event context. Not used in this event handler.
73 This function is a hook for Spi Dxe phase specific initialization