TianoCore EDK2 master
Loading...
Searching...
No Matches
UefiDevicePathLib.c
Go to the documentation of this file.
1
16#include "UefiDevicePathLib.h"
17
32EFIAPI
35 )
36{
37 return UefiDevicePathLibGetDevicePathSize (DevicePath);
38}
39
57EFIAPI
60 )
61{
62 return UefiDevicePathLibDuplicateDevicePath (DevicePath);
63}
64
90EFIAPI
92 IN CONST EFI_DEVICE_PATH_PROTOCOL *FirstDevicePath OPTIONAL,
93 IN CONST EFI_DEVICE_PATH_PROTOCOL *SecondDevicePath OPTIONAL
94 )
95{
96 return UefiDevicePathLibAppendDevicePath (FirstDevicePath, SecondDevicePath);
97}
98
128EFIAPI
130 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath OPTIONAL,
131 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePathNode OPTIONAL
132 )
133{
134 return UefiDevicePathLibAppendDevicePathNode (DevicePath, DevicePathNode);
135}
136
161EFIAPI
163 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath OPTIONAL,
164 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePathInstance OPTIONAL
165 )
166{
167 return UefiDevicePathLibAppendDevicePathInstance (DevicePath, DevicePathInstance);
168}
169
199EFIAPI
201 IN OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath,
202 OUT UINTN *Size
203 )
204{
205 return UefiDevicePathLibGetNextDevicePathInstance (DevicePath, Size);
206}
207
228EFIAPI
230 IN UINT8 NodeType,
231 IN UINT8 NodeSubType,
232 IN UINT16 NodeLength
233 )
234{
235 return UefiDevicePathLibCreateDeviceNode (NodeType, NodeSubType, NodeLength);
236}
237
253BOOLEAN
254EFIAPI
257 )
258{
260}
261
277CHAR16 *
278EFIAPI
281 IN BOOLEAN DisplayOnly,
282 IN BOOLEAN AllowShortcuts
283 )
284{
285 return UefiDevicePathLibConvertDeviceNodeToText (DeviceNode, DisplayOnly, AllowShortcuts);
286}
287
303CHAR16 *
304EFIAPI
307 IN BOOLEAN DisplayOnly,
308 IN BOOLEAN AllowShortcuts
309 )
310{
311 return UefiDevicePathLibConvertDevicePathToText (DevicePath, DisplayOnly, AllowShortcuts);
312}
313
326EFIAPI
328 IN CONST CHAR16 *TextDeviceNode
329 )
330{
331 return UefiDevicePathLibConvertTextToDeviceNode (TextDeviceNode);
332}
333
347EFIAPI
349 IN CONST CHAR16 *TextDevicePath
350 )
351{
352 return UefiDevicePathLibConvertTextToDevicePath (TextDevicePath);
353}
UINT64 UINTN
#define CONST
Definition: Base.h:259
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
EFI_DEVICE_PATH_PROTOCOL *EFIAPI UefiDevicePathLibConvertTextToDeviceNode(IN CONST CHAR16 *TextDeviceNode)
EFI_DEVICE_PATH_PROTOCOL *EFIAPI UefiDevicePathLibConvertTextToDevicePath(IN CONST CHAR16 *TextDevicePath)
CHAR16 *EFIAPI UefiDevicePathLibConvertDeviceNodeToText(IN CONST EFI_DEVICE_PATH_PROTOCOL *DeviceNode, IN BOOLEAN DisplayOnly, IN BOOLEAN AllowShortcuts)
CHAR16 *EFIAPI UefiDevicePathLibConvertDevicePathToText(IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath, IN BOOLEAN DisplayOnly, IN BOOLEAN AllowShortcuts)
EFI_DEVICE_PATH_PROTOCOL *EFIAPI UefiDevicePathLibAppendDevicePath(IN CONST EFI_DEVICE_PATH_PROTOCOL *FirstDevicePath OPTIONAL, IN CONST EFI_DEVICE_PATH_PROTOCOL *SecondDevicePath OPTIONAL)
UINTN EFIAPI UefiDevicePathLibGetDevicePathSize(IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath)
EFI_DEVICE_PATH_PROTOCOL *EFIAPI UefiDevicePathLibAppendDevicePathNode(IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath OPTIONAL, IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePathNode OPTIONAL)
EFI_DEVICE_PATH_PROTOCOL *EFIAPI UefiDevicePathLibAppendDevicePathInstance(IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath OPTIONAL, IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePathInstance OPTIONAL)
EFI_DEVICE_PATH_PROTOCOL *EFIAPI UefiDevicePathLibDuplicateDevicePath(IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath)
BOOLEAN EFIAPI UefiDevicePathLibIsDevicePathMultiInstance(IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath)
EFI_DEVICE_PATH_PROTOCOL *EFIAPI UefiDevicePathLibGetNextDevicePathInstance(IN OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath, OUT UINTN *Size)
EFI_DEVICE_PATH_PROTOCOL *EFIAPI UefiDevicePathLibCreateDeviceNode(IN UINT8 NodeType, IN UINT8 NodeSubType, IN UINT16 NodeLength)
EFI_DEVICE_PATH_PROTOCOL *EFIAPI AppendDevicePathNode(IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath OPTIONAL, IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePathNode OPTIONAL)
CHAR16 *EFIAPI ConvertDeviceNodeToText(IN CONST EFI_DEVICE_PATH_PROTOCOL *DeviceNode, IN BOOLEAN DisplayOnly, IN BOOLEAN AllowShortcuts)
EFI_DEVICE_PATH_PROTOCOL *EFIAPI AppendDevicePathInstance(IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath OPTIONAL, IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePathInstance OPTIONAL)
EFI_DEVICE_PATH_PROTOCOL *EFIAPI CreateDeviceNode(IN UINT8 NodeType, IN UINT8 NodeSubType, IN UINT16 NodeLength)
EFI_DEVICE_PATH_PROTOCOL *EFIAPI AppendDevicePath(IN CONST EFI_DEVICE_PATH_PROTOCOL *FirstDevicePath OPTIONAL, IN CONST EFI_DEVICE_PATH_PROTOCOL *SecondDevicePath OPTIONAL)
EFI_DEVICE_PATH_PROTOCOL *EFIAPI GetNextDevicePathInstance(IN OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath, OUT UINTN *Size)
CHAR16 *EFIAPI ConvertDevicePathToText(IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath, IN BOOLEAN DisplayOnly, IN BOOLEAN AllowShortcuts)
UINTN EFIAPI GetDevicePathSize(IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath)
EFI_DEVICE_PATH_PROTOCOL *EFIAPI DuplicateDevicePath(IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath)
EFI_DEVICE_PATH_PROTOCOL *EFIAPI ConvertTextToDevicePath(IN CONST CHAR16 *TextDevicePath)
BOOLEAN EFIAPI IsDevicePathMultiInstance(IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath)
EFI_DEVICE_PATH_PROTOCOL *EFIAPI ConvertTextToDeviceNode(IN CONST CHAR16 *TextDeviceNode)