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