]> git.proxmox.com Git - mirror_edk2.git/blob - QuarkSocPkg/QuarkNorthCluster/Spi/RuntimeDxe/PchSpi.h
QuarkSocPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / QuarkSocPkg / QuarkNorthCluster / Spi / RuntimeDxe / PchSpi.h
1 /** @file
2 Header file for the PCH SPI Runtime Driver.
3
4 Copyright (c) 2013-2015 Intel Corporation.
5
6 SPDX-License-Identifier: BSD-2-Clause-Patent
7
8 **/
9
10 #ifndef _PCH_SPI_H_
11 #define _PCH_SPI_H_
12
13 #include <Library/PcdLib.h>
14 #include <Library/UefiLib.h>
15 #include <Library/DebugLib.h>
16 #include <Library/UefiRuntimeLib.h>
17 #include <Library/S3BootScriptLib.h>
18 #include <Library/MemoryAllocationLib.h>
19 #include <Library/DxeServicesTableLib.h>
20 #include <Library/UefiRuntimeServicesTableLib.h>
21 #include <Library/UefiBootServicesTableLib.h>
22 #include <Protocol/Spi.h>
23 #include "SpiCommon.h"
24 #include <Library/PciExpressLib.h>
25 #include <IntelQNCRegs.h>
26 #include <Library/IntelQNCLib.h>
27 #include <Library/QNCAccessLib.h>
28 #include <Library/TimerLib.h>
29
30 #define EFI_INTERNAL_POINTER 0x00000004
31
32
33 //
34 // Function prototypes used by the SPI protocol.
35 //
36 VOID
37 PchSpiVirtualddressChangeEvent (
38 IN EFI_EVENT Event,
39 IN VOID *Context
40 )
41 /*++
42
43 Routine Description:
44
45 Fixup internal data pointers so that the services can be called in virtual mode.
46
47 Arguments:
48
49 Event The event registered.
50 Context Event context. Not used in this event handler.
51
52 Returns:
53
54 None.
55
56 --*/
57 ;
58
59 VOID
60 EFIAPI
61 SpiPhaseInit (
62 VOID
63 )
64 /*++
65 Routine Description:
66
67 This function is a hook for Spi Dxe phase specific initialization
68
69 Arguments:
70
71 None
72
73 Returns:
74
75 None
76
77 --*/
78 ;
79 #endif