]>
Commit | Line | Data |
---|---|---|
79964ac8 | 1 | /** @file\r |
8a7d75b0 | 2 | Include file that supportes Framework extension to the UEFI 2.0 spec.\r |
79964ac8 | 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 | |
694b922c | 25 | #include <Framework/StatusCode.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 | |
eabbb93b | 34 | (EFIAPI *EFI_AP_PROCEDURE)(\r |
9205b2d7 | 35 | IN VOID *Buffer\r |
b80fbe85 | 36 | );\r |
37 | \r | |
79964ac8 | 38 | typedef struct {\r |
9205b2d7 | 39 | EFI_TABLE_HEADER Hdr;\r |
79964ac8 | 40 | //\r |
41 | // Time services\r | |
42 | //\r | |
9205b2d7 | 43 | EFI_GET_TIME GetTime;\r |
44 | EFI_SET_TIME SetTime;\r | |
45 | EFI_GET_WAKEUP_TIME GetWakeupTime;\r | |
46 | EFI_SET_WAKEUP_TIME SetWakeupTime;\r | |
79964ac8 | 47 | //\r |
48 | // Virtual memory services\r | |
49 | //\r | |
9205b2d7 | 50 | EFI_SET_VIRTUAL_ADDRESS_MAP SetVirtualAddressMap;\r |
51 | EFI_CONVERT_POINTER ConvertPointer;\r | |
79964ac8 | 52 | //\r |
53 | // Variable services\r | |
54 | //\r | |
9205b2d7 | 55 | EFI_GET_VARIABLE GetVariable;\r |
56 | EFI_GET_NEXT_VARIABLE_NAME GetNextVariableName;\r | |
57 | EFI_SET_VARIABLE SetVariable;\r | |
79964ac8 | 58 | //\r |
59 | // Misc\r | |
60 | //\r | |
9205b2d7 | 61 | EFI_GET_NEXT_HIGH_MONO_COUNT GetNextHighMonotonicCount;\r |
62 | EFI_RESET_SYSTEM ResetSystem;\r | |
79964ac8 | 63 | //\r |
8a7d75b0 | 64 | // Framework extension to UEFI 2.0 runtime table\r |
79964ac8 | 65 | // It was moved to a protocol to not conflict with UEFI 2.0\r |
66 | //\r | |
9205b2d7 | 67 | EFI_REPORT_STATUS_CODE ReportStatusCode;\r |
79964ac8 | 68 | } FRAMEWORK_EFI_RUNTIME_SERVICES;\r |
69 | \r | |
70 | #define EFI_EVENT_RUNTIME_CONTEXT 0x20000000\r | |
71 | #define EFI_EVENT_NOTIFY_SIGNAL_ALL 0x00000400\r | |
72 | #define EFI_EVENT_SIGNAL_READY_TO_BOOT 0x00000203\r | |
73 | #define EFI_EVENT_SIGNAL_LEGACY_BOOT 0x00000204\r | |
74 | \r | |
b51e6bc4 | 75 | typedef struct {\r |
9205b2d7 | 76 | EFI_DEVICE_PATH_PROTOCOL Header;\r |
77 | EFI_GUID TianoSpecificDevicePath;\r | |
78 | UINT32 Type;\r | |
b51e6bc4 | 79 | } TIANO_DEVICE_PATH;\r |
80 | \r | |
9205b2d7 | 81 | #define TIANO_MEDIA_FW_VOL_FILEPATH_DEVICE_PATH_TYPE 0x01\r |
b51e6bc4 | 82 | typedef struct {\r |
9205b2d7 | 83 | TIANO_DEVICE_PATH Tiano;\r |
84 | EFI_GUID NameGuid;\r | |
b51e6bc4 | 85 | } FRAMEWORK_MEDIA_FW_VOL_FILEPATH_DEVICE_PATH;\r |
86 | \r | |
79964ac8 | 87 | #endif\r |