]> git.proxmox.com Git - mirror_edk2.git/blame - IntelFrameworkPkg/Include/Framework/DxeCis.h
Clean the public header files to remove the unnecessary include files.
[mirror_edk2.git] / IntelFrameworkPkg / Include / Framework / DxeCis.h
CommitLineData
79964ac8 1/** @file\r
e1d8d892 2 Include file for definitions in the Intel Platform Innovation Framework for EFI\r
3 Driver Execution Environment Core Interface Specification (DXE CIS) Version 0.9.\r
79964ac8 4\r
e1d8d892 5 Copyright (c) 2007 - 2009, Intel Corporation\r
79964ac8 6 All rights reserved. This program and the accompanying materials\r
7 are licensed and made available under the terms and conditions of the BSD License\r
8 which accompanies this distribution. The full text of the license may be found at\r
9 http://opensource.org/licenses/bsd-license.php\r
10\r
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13\r
79964ac8 14**/\r
15\r
e1d8d892 16#ifndef _DXE_CIS_H_\r
17#define _DXE_CIS_H_\r
79964ac8 18\r
ee65068c 19#include <Protocol/StatusCode.h>\r
79964ac8 20\r
b80fbe85 21//\r
22// Function prototype for invoking a function on an Application Processor\r
23// Used by both the SMM infrastructure and the MP Services Protocol\r
24//\r
25typedef\r
26VOID\r
eabbb93b 27(EFIAPI *EFI_AP_PROCEDURE)(\r
9205b2d7 28 IN VOID *Buffer\r
b80fbe85 29 );\r
30\r
e1d8d892 31//\r
32// Framework EFI Runtime Services Table as extension to EFI 1.10 Runtime Services Table\r
33//\r
79964ac8 34typedef struct {\r
e1d8d892 35 //\r
36 // Table header for the Framework EFI Runtime Services Table\r
37 //\r
9205b2d7 38 EFI_TABLE_HEADER Hdr;\r
79964ac8 39 //\r
40 // Time services\r
41 //\r
9205b2d7 42 EFI_GET_TIME GetTime;\r
43 EFI_SET_TIME SetTime;\r
44 EFI_GET_WAKEUP_TIME GetWakeupTime;\r
45 EFI_SET_WAKEUP_TIME SetWakeupTime;\r
79964ac8 46 //\r
47 // Virtual memory services\r
48 //\r
9205b2d7 49 EFI_SET_VIRTUAL_ADDRESS_MAP SetVirtualAddressMap;\r
50 EFI_CONVERT_POINTER ConvertPointer;\r
79964ac8 51 //\r
52 // Variable services\r
53 //\r
9205b2d7 54 EFI_GET_VARIABLE GetVariable;\r
55 EFI_GET_NEXT_VARIABLE_NAME GetNextVariableName;\r
56 EFI_SET_VARIABLE SetVariable;\r
79964ac8 57 //\r
58 // Misc\r
59 //\r
9205b2d7 60 EFI_GET_NEXT_HIGH_MONO_COUNT GetNextHighMonotonicCount;\r
61 EFI_RESET_SYSTEM ResetSystem;\r
79964ac8 62 //\r
e1d8d892 63 // Framework extension to EFI 1.10 runtime table\r
79964ac8 64 // It was moved to a protocol to not conflict with UEFI 2.0\r
65 //\r
9205b2d7 66 EFI_REPORT_STATUS_CODE ReportStatusCode;\r
79964ac8 67} FRAMEWORK_EFI_RUNTIME_SERVICES;\r
68\r
40038403 69///\r
70/// Framework EFI Boot Services Table which comply with DxeCis spec.\r
71///\r
72typedef struct {\r
73 ///\r
74 /// The table header for the EFI Boot Services Table.\r
75 ///\r
76 EFI_TABLE_HEADER Hdr;\r
77\r
78 //\r
79 // Task Priority Services\r
80 //\r
81 EFI_RAISE_TPL RaiseTPL;\r
82 EFI_RESTORE_TPL RestoreTPL;\r
83\r
84 //\r
85 // Memory Services\r
86 //\r
87 EFI_ALLOCATE_PAGES AllocatePages;\r
88 EFI_FREE_PAGES FreePages;\r
89 EFI_GET_MEMORY_MAP GetMemoryMap;\r
90 EFI_ALLOCATE_POOL AllocatePool;\r
91 EFI_FREE_POOL FreePool;\r
92\r
93 //\r
94 // Event & Timer Services\r
95 //\r
96 EFI_CREATE_EVENT CreateEvent;\r
97 EFI_SET_TIMER SetTimer;\r
98 EFI_WAIT_FOR_EVENT WaitForEvent;\r
99 EFI_SIGNAL_EVENT SignalEvent;\r
100 EFI_CLOSE_EVENT CloseEvent;\r
101 EFI_CHECK_EVENT CheckEvent;\r
102\r
103 //\r
104 // Protocol Handler Services\r
105 //\r
106 EFI_INSTALL_PROTOCOL_INTERFACE InstallProtocolInterface;\r
107 EFI_REINSTALL_PROTOCOL_INTERFACE ReinstallProtocolInterface;\r
108 EFI_UNINSTALL_PROTOCOL_INTERFACE UninstallProtocolInterface;\r
109 EFI_HANDLE_PROTOCOL HandleProtocol;\r
110 EFI_HANDLE_PROTOCOL PcHandleProtocol;\r
111 EFI_REGISTER_PROTOCOL_NOTIFY RegisterProtocolNotify;\r
112 EFI_LOCATE_HANDLE LocateHandle;\r
113 EFI_LOCATE_DEVICE_PATH LocateDevicePath;\r
114 EFI_INSTALL_CONFIGURATION_TABLE InstallConfigurationTable;\r
115\r
116 //\r
117 // Image Services\r
118 //\r
119 EFI_IMAGE_LOAD LoadImage;\r
120 EFI_IMAGE_START StartImage;\r
121 EFI_EXIT Exit;\r
122 EFI_IMAGE_UNLOAD UnloadImage;\r
123 EFI_EXIT_BOOT_SERVICES ExitBootServices;\r
124\r
125 //\r
126 // Miscellaneous Services\r
127 //\r
128 EFI_GET_NEXT_MONOTONIC_COUNT GetNextMonotonicCount;\r
129 EFI_STALL Stall;\r
130 EFI_SET_WATCHDOG_TIMER SetWatchdogTimer;\r
131\r
132 //\r
133 // DriverSupport Services\r
134 //\r
135 EFI_CONNECT_CONTROLLER ConnectController;\r
136 EFI_DISCONNECT_CONTROLLER DisconnectController;\r
137\r
138 //\r
139 // Open and Close Protocol Services\r
140 //\r
141 EFI_OPEN_PROTOCOL OpenProtocol;\r
142 EFI_CLOSE_PROTOCOL CloseProtocol;\r
143 EFI_OPEN_PROTOCOL_INFORMATION OpenProtocolInformation;\r
144\r
145 //\r
146 // Library Services\r
147 //\r
148 EFI_PROTOCOLS_PER_HANDLE ProtocolsPerHandle;\r
149 EFI_LOCATE_HANDLE_BUFFER LocateHandleBuffer;\r
150 EFI_LOCATE_PROTOCOL LocateProtocol;\r
151 EFI_INSTALL_MULTIPLE_PROTOCOL_INTERFACES InstallMultipleProtocolInterfaces;\r
152 EFI_UNINSTALL_MULTIPLE_PROTOCOL_INTERFACES UninstallMultipleProtocolInterfaces;\r
153\r
154 //\r
155 // 32-bit CRC Services\r
156 //\r
157 EFI_CALCULATE_CRC32 CalculateCrc32;\r
158\r
159 //\r
160 // Miscellaneous Services\r
161 //\r
162 EFI_COPY_MEM CopyMem;\r
163 EFI_SET_MEM SetMem;\r
164} FRAMEWORK_EFI_BOOT_SERVICES;\r
165\r
79964ac8 166#define EFI_EVENT_RUNTIME_CONTEXT 0x20000000\r
167#define EFI_EVENT_NOTIFY_SIGNAL_ALL 0x00000400\r
168#define EFI_EVENT_SIGNAL_READY_TO_BOOT 0x00000203\r
169#define EFI_EVENT_SIGNAL_LEGACY_BOOT 0x00000204\r
170\r
171#endif\r
e1d8d892 172\r