]> git.proxmox.com Git - mirror_edk2.git/blob - IntelFrameworkPkg/Include/Framework/DxeCis.h
570c2bc7d7b350bc6b9b809973f7bad22f5b4f1b
[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 // Time services
42 //
43 EFI_GET_TIME GetTime;
44 EFI_SET_TIME SetTime;
45 EFI_GET_WAKEUP_TIME GetWakeupTime;
46 EFI_SET_WAKEUP_TIME SetWakeupTime;
47 //
48 // Virtual memory services
49 //
50 EFI_SET_VIRTUAL_ADDRESS_MAP SetVirtualAddressMap;
51 EFI_CONVERT_POINTER ConvertPointer;
52 //
53 // Variable services
54 //
55 EFI_GET_VARIABLE GetVariable;
56 EFI_GET_NEXT_VARIABLE_NAME GetNextVariableName;
57 EFI_SET_VARIABLE SetVariable;
58 //
59 // Misc
60 //
61 EFI_GET_NEXT_HIGH_MONO_COUNT GetNextHighMonotonicCount;
62 EFI_RESET_SYSTEM ResetSystem;
63 //
64 // Framework extension to UEFI 2.0 runtime table
65 // It was moved to a protocol to not conflict with UEFI 2.0
66 //
67 EFI_REPORT_STATUS_CODE ReportStatusCode;
68 } FRAMEWORK_EFI_RUNTIME_SERVICES;
69
70 #define EFI_EVENT_RUNTIME_CONTEXT 0x20000000
71 #define EFI_EVENT_NOTIFY_SIGNAL_ALL 0x00000400
72 #define EFI_EVENT_SIGNAL_READY_TO_BOOT 0x00000203
73 #define EFI_EVENT_SIGNAL_LEGACY_BOOT 0x00000204
74
75 typedef struct {
76 EFI_DEVICE_PATH_PROTOCOL Header;
77 EFI_GUID TianoSpecificDevicePath;
78 UINT32 Type;
79 } TIANO_DEVICE_PATH;
80
81 #define TIANO_MEDIA_FW_VOL_FILEPATH_DEVICE_PATH_TYPE 0x01
82 typedef struct {
83 TIANO_DEVICE_PATH Tiano;
84 EFI_GUID NameGuid;
85 } FRAMEWORK_MEDIA_FW_VOL_FILEPATH_DEVICE_PATH;
86
87 #endif