79964ac8 |
1 | /** @file\r |
2 | Include file that supportes Framework extension to the EFI 1.10 spec.\r |
3 | \r |
4 | This include file must only contain things defined in the Framework\r |
5 | specifications. If a code construct is defined in the Framework specification\r |
6 | it must be included by this include file.\r |
7 | \r |
8 | Copyright (c) 2007, Intel Corporation\r |
9 | All rights reserved. This program and the accompanying materials\r |
10 | are licensed and made available under the terms and conditions of the BSD License\r |
11 | which accompanies this distribution. The full text of the license may be found at\r |
12 | http://opensource.org/licenses/bsd-license.php\r |
13 | \r |
14 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r |
15 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r |
16 | \r |
17 | Module Name: FrameworkDxeCis.h\r |
18 | \r |
19 | **/\r |
20 | \r |
21 | #ifndef _FRAMEWORK_DXE_CIS_H_\r |
22 | #define _FRAMEWORK_DXE_CIS_H_\r |
23 | \r |
24 | #include <PiDxe.h>\r |
b80fbe85 |
25 | #include <Common/FrameworkStatusCode.h>\r |
ee65068c |
26 | #include <Protocol/StatusCode.h>\r |
79964ac8 |
27 | \r |
b80fbe85 |
28 | //\r |
29 | // Function prototype for invoking a function on an Application Processor\r |
30 | // Used by both the SMM infrastructure and the MP Services Protocol\r |
31 | //\r |
32 | typedef\r |
33 | VOID\r |
34 | (EFIAPI *EFI_AP_PROCEDURE) (\r |
35 | IN VOID *Buffer\r |
36 | );\r |
37 | \r |
79964ac8 |
38 | typedef struct {\r |
39 | EFI_TABLE_HEADER Hdr;\r |
40 | \r |
41 | //\r |
42 | // Time services\r |
43 | //\r |
44 | EFI_GET_TIME GetTime;\r |
45 | EFI_SET_TIME SetTime;\r |
46 | EFI_GET_WAKEUP_TIME GetWakeupTime;\r |
47 | EFI_SET_WAKEUP_TIME SetWakeupTime;\r |
48 | \r |
49 | //\r |
50 | // Virtual memory services\r |
51 | //\r |
52 | EFI_SET_VIRTUAL_ADDRESS_MAP SetVirtualAddressMap;\r |
53 | EFI_CONVERT_POINTER ConvertPointer;\r |
54 | \r |
55 | //\r |
56 | // Variable services\r |
57 | //\r |
58 | EFI_GET_VARIABLE GetVariable;\r |
59 | EFI_GET_NEXT_VARIABLE_NAME GetNextVariableName;\r |
60 | EFI_SET_VARIABLE SetVariable;\r |
61 | \r |
62 | //\r |
63 | // Misc\r |
64 | //\r |
65 | EFI_GET_NEXT_HIGH_MONO_COUNT GetNextHighMonotonicCount;\r |
66 | EFI_RESET_SYSTEM ResetSystem;\r |
67 | \r |
68 | //\r |
69 | // Framework extension to EFI 1.10 runtime table\r |
70 | // It was moved to a protocol to not conflict with UEFI 2.0\r |
71 | //\r |
72 | EFI_REPORT_STATUS_CODE ReportStatusCode;\r |
73 | } FRAMEWORK_EFI_RUNTIME_SERVICES;\r |
74 | \r |
75 | #define EFI_EVENT_RUNTIME_CONTEXT 0x20000000\r |
76 | #define EFI_EVENT_NOTIFY_SIGNAL_ALL 0x00000400\r |
77 | #define EFI_EVENT_SIGNAL_READY_TO_BOOT 0x00000203\r |
78 | #define EFI_EVENT_SIGNAL_LEGACY_BOOT 0x00000204\r |
79 | \r |
b51e6bc4 |
80 | \r |
81 | typedef struct {\r |
82 | EFI_DEVICE_PATH_PROTOCOL Header;\r |
83 | EFI_GUID TianoSpecificDevicePath;\r |
84 | UINT32 Type;\r |
85 | } TIANO_DEVICE_PATH;\r |
86 | \r |
87 | #define TIANO_MEDIA_FW_VOL_FILEPATH_DEVICE_PATH_TYPE 0x01\r |
88 | typedef struct {\r |
89 | TIANO_DEVICE_PATH Tiano;\r |
90 | EFI_GUID NameGuid;\r |
91 | } FRAMEWORK_MEDIA_FW_VOL_FILEPATH_DEVICE_PATH;\r |
92 | \r |
93 | \r |
ee65068c |
94 | //\r |
95 | // Function prototype for invoking a function on an Application Processor\r |
96 | // Used by both the SMM infrastructure and the MP Services Protocol\r |
97 | //\r |
98 | typedef\r |
99 | VOID\r |
100 | (EFIAPI *EFI_AP_PROCEDURE) (\r |
101 | IN VOID *Buffer\r |
102 | );\r |
103 | \r |
79964ac8 |
104 | #endif\r |