Просмотр исходного кода

[efi] Add definitions of GUIDs observed when booting wdsmgfw.efi

Add definitions of protocols observed to be used by wdsmgfw.efi, and
add a handle name type for ConIn, ConOut, and StdErr.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 8 лет назад
Родитель
Сommit
bd96c6fffd

+ 207
- 0
src/include/ipxe/efi/Protocol/AbsolutePointer.h Просмотреть файл

@@ -0,0 +1,207 @@
1
+/** @file
2
+  The file provides services that allow information about an
3
+  absolute pointer device to be retrieved.
4
+
5
+  Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>
6
+  This program and the accompanying materials
7
+  are licensed and made available under the terms and conditions of the BSD License
8
+  which accompanies this distribution.  The full text of the license may be found at
9
+  http://opensource.org/licenses/bsd-license.php
10
+
11
+  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12
+  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13
+
14
+**/
15
+
16
+#ifndef __ABSOLUTE_POINTER_H__
17
+#define __ABSOLUTE_POINTER_H__
18
+
19
+FILE_LICENCE ( BSD3 );
20
+
21
+
22
+#define EFI_ABSOLUTE_POINTER_PROTOCOL_GUID \
23
+  { 0x8D59D32B, 0xC655, 0x4AE9, { 0x9B, 0x15, 0xF2, 0x59, 0x04, 0x99, 0x2A, 0x43 } }
24
+
25
+
26
+typedef struct _EFI_ABSOLUTE_POINTER_PROTOCOL EFI_ABSOLUTE_POINTER_PROTOCOL;
27
+
28
+
29
+//*******************************************************
30
+// EFI_ABSOLUTE_POINTER_MODE
31
+//*******************************************************
32
+
33
+
34
+/**
35
+  The following data values in the EFI_ABSOLUTE_POINTER_MODE
36
+  interface are read-only and are changed by using the appropriate
37
+  interface functions.
38
+**/
39
+typedef struct {
40
+  UINT64 AbsoluteMinX; ///< The Absolute Minimum of the device on the x-axis
41
+  UINT64 AbsoluteMinY; ///< The Absolute Minimum of the device on the y axis.
42
+  UINT64 AbsoluteMinZ; ///< The Absolute Minimum of the device on the z-axis
43
+  UINT64 AbsoluteMaxX; ///< The Absolute Maximum of the device on the x-axis. If 0, and the
44
+                       ///< AbsoluteMinX is 0, then the pointer device does not support a xaxis
45
+  UINT64 AbsoluteMaxY; ///< The Absolute Maximum of the device on the y -axis. If 0, and the
46
+                       ///< AbsoluteMinX is 0, then the pointer device does not support a yaxis.
47
+  UINT64 AbsoluteMaxZ; ///< The Absolute Maximum of the device on the z-axis. If 0 , and the
48
+                       ///< AbsoluteMinX is 0, then the pointer device does not support a zaxis
49
+  UINT32 Attributes;   ///< The following bits are set as needed (or'd together) to indicate the
50
+                       ///< capabilities of the device supported. The remaining bits are undefined
51
+                       ///< and should be 0
52
+} EFI_ABSOLUTE_POINTER_MODE;
53
+
54
+///
55
+/// If set, indicates this device supports an alternate button input.
56
+///
57
+#define EFI_ABSP_SupportsAltActive    0x00000001
58
+
59
+///
60
+/// If set, indicates this device returns pressure data in parameter CurrentZ.
61
+///
62
+#define EFI_ABSP_SupportsPressureAsZ  0x00000002
63
+
64
+
65
+/**
66
+  This function resets the pointer device hardware. As part of
67
+  initialization process, the firmware/device will make a quick
68
+  but reasonable attempt to verify that the device is
69
+  functioning. If the ExtendedVerification flag is TRUE the
70
+  firmware may take an extended amount of time to verify the
71
+  device is operating on reset. Otherwise the reset operation is
72
+  to occur as quickly as possible. The hardware verification
73
+  process is not defined by this specification and is left up to
74
+  the platform firmware or driver to implement.
75
+
76
+  @param This                 A pointer to the EFI_ABSOLUTE_POINTER_PROTOCOL
77
+                              instance.
78
+
79
+  @param ExtendedVerification Indicates that the driver may
80
+                              perform a more exhaustive
81
+                              verification operation of the
82
+                              device during reset.
83
+
84
+  @retval EFI_SUCCESS       The device was reset.
85
+
86
+  @retval EFI_DEVICE_ERROR  The device is not functioning
87
+                            correctly and could not be reset.
88
+
89
+**/
90
+typedef
91
+EFI_STATUS
92
+(EFIAPI *EFI_ABSOLUTE_POINTER_RESET)(
93
+  IN EFI_ABSOLUTE_POINTER_PROTOCOL *This,
94
+  IN BOOLEAN                       ExtendedVerification
95
+);
96
+
97
+///
98
+/// This bit is set if the touch sensor is active.
99
+///
100
+#define EFI_ABSP_TouchActive  0x00000001
101
+
102
+///
103
+/// This bit is set if the alt sensor, such as pen-side button, is active
104
+///
105
+#define EFI_ABS_AltActive     0x00000002
106
+
107
+
108
+/**
109
+  Definition of EFI_ABSOLUTE_POINTER_STATE.
110
+**/
111
+typedef struct {
112
+  ///
113
+  /// The unsigned position of the activation on the x axis. If the AboluteMinX
114
+  /// and the AboluteMaxX fields of the EFI_ABSOLUTE_POINTER_MODE structure are
115
+  /// both 0, then this pointer device does not support an x-axis, and this field
116
+  /// must be ignored.
117
+  ///
118
+  UINT64 CurrentX;
119
+
120
+  ///
121
+  /// The unsigned position of the activation on the y axis. If the AboluteMinY
122
+  /// and the AboluteMaxY fields of the EFI_ABSOLUTE_POINTER_MODE structure are
123
+  /// both 0, then this pointer device does not support an y-axis, and this field
124
+  /// must be ignored.
125
+  ///
126
+  UINT64 CurrentY;
127
+
128
+  ///
129
+  /// The unsigned position of the activation on the z axis, or the pressure
130
+  /// measurement. If the AboluteMinZ and the AboluteMaxZ fields of the
131
+  /// EFI_ABSOLUTE_POINTER_MODE structure are both 0, then this pointer device
132
+  /// does not support an z-axis, and this field must be ignored.
133
+  ///
134
+  UINT64 CurrentZ;
135
+
136
+  ///
137
+  /// Bits are set to 1 in this structure item to indicate that device buttons are
138
+  /// active.
139
+  ///
140
+  UINT32 ActiveButtons;
141
+} EFI_ABSOLUTE_POINTER_STATE;
142
+
143
+/**
144
+  The GetState() function retrieves the current state of a pointer
145
+  device. This includes information on the active state associated
146
+  with the pointer device and the current position of the axes
147
+  associated with the pointer device. If the state of the pointer
148
+  device has not changed since the last call to GetState(), then
149
+  EFI_NOT_READY is returned. If the state of the pointer device
150
+  has changed since the last call to GetState(), then the state
151
+  information is placed in State, and EFI_SUCCESS is returned. If
152
+  a device error occurs while attempting to retrieve the state
153
+  information, then EFI_DEVICE_ERROR is returned.
154
+
155
+
156
+  @param This   A pointer to the EFI_ABSOLUTE_POINTER_PROTOCOL
157
+                instance.
158
+
159
+  @param State  A pointer to the state information on the
160
+                pointer device.
161
+
162
+  @retval EFI_SUCCESS       The state of the pointer device was
163
+                            returned in State.
164
+
165
+  @retval EFI_NOT_READY     The state of the pointer device has not
166
+                            changed since the last call to GetState().
167
+
168
+  @retval EFI_DEVICE_ERROR  A device error occurred while
169
+                            attempting to retrieve the pointer
170
+                            device's current state.
171
+
172
+**/
173
+typedef
174
+EFI_STATUS
175
+(EFIAPI *EFI_ABSOLUTE_POINTER_GET_STATE)(
176
+  IN      EFI_ABSOLUTE_POINTER_PROTOCOL  *This,
177
+  IN OUT  EFI_ABSOLUTE_POINTER_STATE     *State
178
+);
179
+
180
+
181
+///
182
+/// The EFI_ABSOLUTE_POINTER_PROTOCOL provides a set of services
183
+/// for a pointer device that can be used as an input device from an
184
+/// application written to this specification. The services include
185
+/// the ability to: reset the pointer device, retrieve the state of
186
+/// the pointer device, and retrieve the capabilities of the pointer
187
+/// device. The service also provides certain data items describing the device.
188
+///
189
+struct _EFI_ABSOLUTE_POINTER_PROTOCOL {
190
+  EFI_ABSOLUTE_POINTER_RESET      Reset;
191
+  EFI_ABSOLUTE_POINTER_GET_STATE  GetState;
192
+  ///
193
+  /// Event to use with WaitForEvent() to wait for input from the pointer device.
194
+  ///
195
+  EFI_EVENT                       WaitForInput;
196
+  ///
197
+  /// Pointer to EFI_ABSOLUTE_POINTER_MODE data.
198
+  ///
199
+  EFI_ABSOLUTE_POINTER_MODE       *Mode;
200
+};
201
+
202
+
203
+extern EFI_GUID gEfiAbsolutePointerProtocolGuid;
204
+
205
+
206
+#endif
207
+

+ 145
- 0
src/include/ipxe/efi/Protocol/SimplePointer.h Просмотреть файл

@@ -0,0 +1,145 @@
1
+/** @file
2
+  Simple Pointer protocol from the UEFI 2.0 specification.
3
+
4
+  Abstraction of a very simple pointer device like a mouse or trackball.
5
+
6
+  Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
7
+  This program and the accompanying materials
8
+  are licensed and made available under the terms and conditions of the BSD License
9
+  which accompanies this distribution.  The full text of the license may be found at
10
+  http://opensource.org/licenses/bsd-license.php
11
+
12
+  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13
+  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14
+
15
+**/
16
+
17
+#ifndef __SIMPLE_POINTER_H__
18
+#define __SIMPLE_POINTER_H__
19
+
20
+FILE_LICENCE ( BSD3 );
21
+
22
+#define EFI_SIMPLE_POINTER_PROTOCOL_GUID \
23
+  { \
24
+    0x31878c87, 0xb75, 0x11d5, {0x9a, 0x4f, 0x0, 0x90, 0x27, 0x3f, 0xc1, 0x4d } \
25
+  }
26
+
27
+typedef struct _EFI_SIMPLE_POINTER_PROTOCOL  EFI_SIMPLE_POINTER_PROTOCOL;
28
+
29
+//
30
+// Data structures
31
+//
32
+typedef struct {
33
+  ///
34
+  /// The signed distance in counts that the pointer device has been moved along the x-axis.
35
+  ///
36
+  INT32   RelativeMovementX;
37
+  ///
38
+  /// The signed distance in counts that the pointer device has been moved along the y-axis.
39
+  ///
40
+  INT32   RelativeMovementY;
41
+  ///
42
+  /// The signed distance in counts that the pointer device has been moved along the z-axis.
43
+  ///
44
+  INT32   RelativeMovementZ;
45
+  ///
46
+  /// If TRUE, then the left button of the pointer device is being
47
+  /// pressed. If FALSE, then the left button of the pointer device is not being pressed.
48
+  ///
49
+  BOOLEAN LeftButton;
50
+  ///
51
+  /// If TRUE, then the right button of the pointer device is being
52
+  /// pressed. If FALSE, then the right button of the pointer device is not being pressed.
53
+  ///
54
+  BOOLEAN RightButton;
55
+} EFI_SIMPLE_POINTER_STATE;
56
+
57
+typedef struct {
58
+  ///
59
+  /// The resolution of the pointer device on the x-axis in counts/mm.
60
+  /// If 0, then the pointer device does not support an x-axis.
61
+  ///
62
+  UINT64  ResolutionX;
63
+  ///
64
+  /// The resolution of the pointer device on the y-axis in counts/mm.
65
+  /// If 0, then the pointer device does not support an x-axis.
66
+  ///
67
+  UINT64  ResolutionY;
68
+  ///
69
+  /// The resolution of the pointer device on the z-axis in counts/mm.
70
+  /// If 0, then the pointer device does not support an x-axis.
71
+  ///
72
+  UINT64  ResolutionZ;
73
+  ///
74
+  /// TRUE if a left button is present on the pointer device. Otherwise FALSE.
75
+  ///
76
+  BOOLEAN LeftButton;
77
+  ///
78
+  /// TRUE if a right button is present on the pointer device. Otherwise FALSE.
79
+  ///
80
+  BOOLEAN RightButton;
81
+} EFI_SIMPLE_POINTER_MODE;
82
+
83
+/**
84
+  Resets the pointer device hardware.
85
+
86
+  @param  This                  A pointer to the EFI_SIMPLE_POINTER_PROTOCOL
87
+                                instance.
88
+  @param  ExtendedVerification  Indicates that the driver may perform a more exhaustive
89
+                                verification operation of the device during reset.
90
+
91
+  @retval EFI_SUCCESS           The device was reset.
92
+  @retval EFI_DEVICE_ERROR      The device is not functioning correctly and could not be reset.
93
+
94
+**/
95
+typedef
96
+EFI_STATUS
97
+(EFIAPI *EFI_SIMPLE_POINTER_RESET)(
98
+  IN EFI_SIMPLE_POINTER_PROTOCOL            *This,
99
+  IN BOOLEAN                                ExtendedVerification
100
+  );
101
+
102
+/**
103
+  Retrieves the current state of a pointer device.
104
+
105
+  @param  This                  A pointer to the EFI_SIMPLE_POINTER_PROTOCOL
106
+                                instance.
107
+  @param  State                 A pointer to the state information on the pointer device.
108
+
109
+  @retval EFI_SUCCESS           The state of the pointer device was returned in State.
110
+  @retval EFI_NOT_READY         The state of the pointer device has not changed since the last call to
111
+                                GetState().
112
+  @retval EFI_DEVICE_ERROR      A device error occurred while attempting to retrieve the pointer device's
113
+                                current state.
114
+
115
+**/
116
+typedef
117
+EFI_STATUS
118
+(EFIAPI *EFI_SIMPLE_POINTER_GET_STATE)(
119
+  IN EFI_SIMPLE_POINTER_PROTOCOL          *This,
120
+  IN OUT EFI_SIMPLE_POINTER_STATE         *State
121
+  );
122
+
123
+///
124
+/// The EFI_SIMPLE_POINTER_PROTOCOL provides a set of services for a pointer
125
+/// device that can use used as an input device from an application written
126
+/// to this specification. The services include the ability to reset the
127
+/// pointer device, retrieve get the state of the pointer device, and
128
+/// retrieve the capabilities of the pointer device.
129
+///
130
+struct _EFI_SIMPLE_POINTER_PROTOCOL {
131
+  EFI_SIMPLE_POINTER_RESET      Reset;
132
+  EFI_SIMPLE_POINTER_GET_STATE  GetState;
133
+  ///
134
+  /// Event to use with WaitForEvent() to wait for input from the pointer device.
135
+  ///
136
+  EFI_EVENT                     WaitForInput;
137
+  ///
138
+  /// Pointer to EFI_SIMPLE_POINTER_MODE data.
139
+  ///
140
+  EFI_SIMPLE_POINTER_MODE       *Mode;
141
+};
142
+
143
+extern EFI_GUID gEfiSimplePointerProtocolGuid;
144
+
145
+#endif

+ 6
- 0
src/include/ipxe/efi/efi.h Просмотреть файл

@@ -153,6 +153,7 @@ struct efi_config_table {
153 153
  */
154 154
 #define EEFI( efirc ) EPLATFORM ( EINFO_EPLATFORM, efirc )
155 155
 
156
+extern EFI_GUID efi_absolute_pointer_protocol_guid;
156 157
 extern EFI_GUID efi_arp_protocol_guid;
157 158
 extern EFI_GUID efi_arp_service_binding_protocol_guid;
158 159
 extern EFI_GUID efi_block_io_protocol_guid;
@@ -186,9 +187,14 @@ extern EFI_GUID efi_pxe_base_code_protocol_guid;
186 187
 extern EFI_GUID efi_serial_io_protocol_guid;
187 188
 extern EFI_GUID efi_simple_file_system_protocol_guid;
188 189
 extern EFI_GUID efi_simple_network_protocol_guid;
190
+extern EFI_GUID efi_simple_pointer_protocol_guid;
191
+extern EFI_GUID efi_simple_text_input_protocol_guid;
192
+extern EFI_GUID efi_simple_text_input_ex_protocol_guid;
193
+extern EFI_GUID efi_simple_text_output_protocol_guid;
189 194
 extern EFI_GUID efi_tcg_protocol_guid;
190 195
 extern EFI_GUID efi_tcp4_protocol_guid;
191 196
 extern EFI_GUID efi_tcp4_service_binding_protocol_guid;
197
+extern EFI_GUID efi_tree_protocol_guid;
192 198
 extern EFI_GUID efi_udp4_protocol_guid;
193 199
 extern EFI_GUID efi_udp4_service_binding_protocol_guid;
194 200
 extern EFI_GUID efi_uga_draw_protocol_guid;

+ 54
- 0
src/interface/efi/efi_debug.c Просмотреть файл

@@ -69,6 +69,8 @@ struct efi_well_known_guid {
69 69
 
70 70
 /** Well-known GUIDs */
71 71
 static struct efi_well_known_guid efi_well_known_guids[] = {
72
+	{ &efi_absolute_pointer_protocol_guid,
73
+	  "AbsolutePointer" },
72 74
 	{ &efi_arp_protocol_guid,
73 75
 	  "Arp" },
74 76
 	{ &efi_arp_service_binding_protocol_guid,
@@ -137,12 +139,22 @@ static struct efi_well_known_guid efi_well_known_guids[] = {
137 139
 	  "SimpleFileSystem" },
138 140
 	{ &efi_simple_network_protocol_guid,
139 141
 	  "SimpleNetwork" },
142
+	{ &efi_simple_pointer_protocol_guid,
143
+	  "SimplePointer" },
144
+	{ &efi_simple_text_input_protocol_guid,
145
+	  "SimpleTextInput" },
146
+	{ &efi_simple_text_input_ex_protocol_guid,
147
+	  "SimpleTextInputEx" },
148
+	{ &efi_simple_text_output_protocol_guid,
149
+	  "SimpleTextOutput" },
140 150
 	{ &efi_tcg_protocol_guid,
141 151
 	  "Tcg" },
142 152
 	{ &efi_tcp4_protocol_guid,
143 153
 	  "Tcp4" },
144 154
 	{ &efi_tcp4_service_binding_protocol_guid,
145 155
 	  "Tcp4Sb" },
156
+	{ &efi_tree_protocol_guid,
157
+	  "TrEE" },
146 158
 	{ &efi_udp4_protocol_guid,
147 159
 	  "Udp4" },
148 160
 	{ &efi_udp4_service_binding_protocol_guid,
@@ -595,6 +607,42 @@ efi_loaded_image_filepath_name ( EFI_LOADED_IMAGE_PROTOCOL *loaded ) {
595 607
 	return efi_devpath_text ( loaded->FilePath );
596 608
 }
597 609
 
610
+/**
611
+ * Get console input handle name
612
+ *
613
+ * @v input		Simple text input protocol
614
+ * @ret name		Console input handle name, or NULL
615
+ */
616
+static const char *
617
+efi_conin_name ( EFI_SIMPLE_TEXT_INPUT_PROTOCOL *input ) {
618
+
619
+	/* Check for match against ConIn */
620
+	if ( input == efi_systab->ConIn )
621
+		return "ConIn";
622
+
623
+	return NULL;
624
+}
625
+
626
+/**
627
+ * Get console output handle name
628
+ *
629
+ * @v output		Simple text output protocol
630
+ * @ret name		Console output handle name, or NULL
631
+ */
632
+static const char *
633
+efi_conout_name ( EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *output ) {
634
+
635
+	/* Check for match against ConOut */
636
+	if ( output == efi_systab->ConOut )
637
+		return "ConOut";
638
+
639
+	/* Check for match against StdErr (if different from ConOut) */
640
+	if ( output == efi_systab->StdErr )
641
+		return "StdErr";
642
+
643
+	return NULL;
644
+}
645
+
598 646
 /** An EFI handle name type */
599 647
 struct efi_handle_name_type {
600 648
 	/** Protocol */
@@ -643,6 +691,12 @@ static struct efi_handle_name_type efi_handle_name_types[] = {
643 691
 	/* Handle's loaded image file path (for image handles) */
644 692
 	EFI_HANDLE_NAME_TYPE ( &efi_loaded_image_protocol_guid,
645 693
 			       efi_loaded_image_filepath_name ),
694
+	/* Our standard input file handle */
695
+	EFI_HANDLE_NAME_TYPE ( &efi_simple_text_input_protocol_guid,
696
+			       efi_conin_name ),
697
+	/* Our standard output and standard error file handles */
698
+	EFI_HANDLE_NAME_TYPE ( &efi_simple_text_output_protocol_guid,
699
+			       efi_conout_name ),
646 700
 };
647 701
 
648 702
 /**

+ 34
- 0
src/interface/efi/efi_guid.c Просмотреть файл

@@ -24,6 +24,7 @@
24 24
 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
25 25
 
26 26
 #include <ipxe/efi/efi.h>
27
+#include <ipxe/efi/Protocol/AbsolutePointer.h>
27 28
 #include <ipxe/efi/Protocol/Arp.h>
28 29
 #include <ipxe/efi/Protocol/BlockIo.h>
29 30
 #include <ipxe/efi/Protocol/BusSpecificDriverOverride.h>
@@ -51,6 +52,10 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
51 52
 #include <ipxe/efi/Protocol/SerialIo.h>
52 53
 #include <ipxe/efi/Protocol/SimpleFileSystem.h>
53 54
 #include <ipxe/efi/Protocol/SimpleNetwork.h>
55
+#include <ipxe/efi/Protocol/SimplePointer.h>
56
+#include <ipxe/efi/Protocol/SimpleTextIn.h>
57
+#include <ipxe/efi/Protocol/SimpleTextInEx.h>
58
+#include <ipxe/efi/Protocol/SimpleTextOut.h>
54 59
 #include <ipxe/efi/Protocol/TcgService.h>
55 60
 #include <ipxe/efi/Protocol/Tcp4.h>
56 61
 #include <ipxe/efi/Protocol/Udp4.h>
@@ -64,6 +69,15 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
64 69
  *
65 70
  */
66 71
 
72
+/* TrEE protocol GUID definition in EDK2 headers is broken (missing braces) */
73
+#define EFI_TREE_PROTOCOL_GUID						\
74
+	{ 0x607f766c, 0x7455, 0x42be,					\
75
+	  { 0x93, 0x0b, 0xe4, 0xd7, 0x6d, 0xb2, 0x72, 0x0f } }
76
+
77
+/** Absolute pointer protocol GUID */
78
+EFI_GUID efi_absolute_pointer_protocol_guid
79
+	= EFI_ABSOLUTE_POINTER_PROTOCOL_GUID;
80
+
67 81
 /** ARP protocol GUID */
68 82
 EFI_GUID efi_arp_protocol_guid
69 83
 	= EFI_ARP_PROTOCOL_GUID;
@@ -196,6 +210,22 @@ EFI_GUID efi_simple_file_system_protocol_guid
196 210
 EFI_GUID efi_simple_network_protocol_guid
197 211
 	= EFI_SIMPLE_NETWORK_PROTOCOL_GUID;
198 212
 
213
+/** Simple pointer protocol GUID */
214
+EFI_GUID efi_simple_pointer_protocol_guid
215
+	= EFI_SIMPLE_POINTER_PROTOCOL_GUID;
216
+
217
+/** Simple text input protocol GUID */
218
+EFI_GUID efi_simple_text_input_protocol_guid
219
+	= EFI_SIMPLE_TEXT_INPUT_PROTOCOL_GUID;
220
+
221
+/** Simple text input extension protocol GUID */
222
+EFI_GUID efi_simple_text_input_ex_protocol_guid
223
+	= EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL_GUID;
224
+
225
+/** Simple text output protocol GUID */
226
+EFI_GUID efi_simple_text_output_protocol_guid
227
+	= EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL_GUID;
228
+
199 229
 /** TCG protocol GUID */
200 230
 EFI_GUID efi_tcg_protocol_guid
201 231
 	= EFI_TCG_PROTOCOL_GUID;
@@ -208,6 +238,10 @@ EFI_GUID efi_tcp4_protocol_guid
208 238
 EFI_GUID efi_tcp4_service_binding_protocol_guid
209 239
 	= EFI_TCP4_SERVICE_BINDING_PROTOCOL_GUID;
210 240
 
241
+/** TrEE protocol GUID */
242
+EFI_GUID efi_tree_protocol_guid
243
+	= EFI_TREE_PROTOCOL_GUID;
244
+
211 245
 /** UDPv4 protocol GUID */
212 246
 EFI_GUID efi_udp4_protocol_guid
213 247
 	= EFI_UDP4_PROTOCOL_GUID;

Загрузка…
Отмена
Сохранить