]> git.proxmox.com Git - mirror_edk2.git/blob - IntelFrameworkPkg/Include/Framework/DxeCis.h
Clean up: update "EFI" to "UEFI" if applicable.
[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 **/
20
21 #ifndef _FRAMEWORK_DXE_CIS_H_
22 #define _FRAMEWORK_DXE_CIS_H_
23
24 #include <PiDxe.h>
25 #include <Framework/StatusCode.h>
26 #include <Protocol/StatusCode.h>
27
28 //
29 // Function prototype for invoking a function on an Application Processor
30 // Used by both the SMM infrastructure and the MP Services Protocol
31 //
32 typedef
33 VOID
34 (EFIAPI *EFI_AP_PROCEDURE) (
35 IN VOID *Buffer
36 );
37
38 typedef struct {
39 EFI_TABLE_HEADER Hdr;
40
41 //
42 // Time services
43 //
44 EFI_GET_TIME GetTime;
45 EFI_SET_TIME SetTime;
46 EFI_GET_WAKEUP_TIME GetWakeupTime;
47 EFI_SET_WAKEUP_TIME SetWakeupTime;
48
49 //
50 // Virtual memory services
51 //
52 EFI_SET_VIRTUAL_ADDRESS_MAP SetVirtualAddressMap;
53 EFI_CONVERT_POINTER ConvertPointer;
54
55 //
56 // Variable services
57 //
58 EFI_GET_VARIABLE GetVariable;
59 EFI_GET_NEXT_VARIABLE_NAME GetNextVariableName;
60 EFI_SET_VARIABLE SetVariable;
61
62 //
63 // Misc
64 //
65 EFI_GET_NEXT_HIGH_MONO_COUNT GetNextHighMonotonicCount;
66 EFI_RESET_SYSTEM ResetSystem;
67
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
81 typedef struct {
82 EFI_DEVICE_PATH_PROTOCOL Header;
83 EFI_GUID TianoSpecificDevicePath;
84 UINT32 Type;
85 } TIANO_DEVICE_PATH;
86
87 #define TIANO_MEDIA_FW_VOL_FILEPATH_DEVICE_PATH_TYPE 0x01
88 typedef struct {
89 TIANO_DEVICE_PATH Tiano;
90 EFI_GUID NameGuid;
91 } FRAMEWORK_MEDIA_FW_VOL_FILEPATH_DEVICE_PATH;
92
93
94 #endif