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