/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/DevicePath/ |
H A D | DevicePath.c | 14 DevicePath.c
28 #include EFI_PROTOCOL_DEFINITION (DevicePath)
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiDevicePathLib/ |
H A D | UefiDevicePathLib.c | 37 DevicePath including the end of device path node. If DevicePath is NULL, then 0 is returned.
39 @param DevicePath A pointer to a device path data structure.
47 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath
52 if (DevicePath == NULL) {
59 Start = DevicePath;
60 while (!EfiIsDevicePathEnd (DevicePath)) {
61 DevicePath = EfiNextDevicePathNode (DevicePath);
67 return ((UINTN) DevicePath 194 GlueAppendDevicePathNode( IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath, OPTIONAL IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePathNode OPTIONAL ) argument 254 GlueAppendDevicePathInstance( IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath, OPTIONAL IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePathInstance OPTIONAL ) argument 318 GlueGetNextDevicePathInstance( IN OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath, OUT UINTN *Size ) argument 395 EFI_DEVICE_PATH_PROTOCOL *DevicePath; local 468 EFI_DEVICE_PATH_PROTOCOL *DevicePath; local 508 EFI_DEVICE_PATH_PROTOCOL *DevicePath; local [all...] |
/device/linaro/bootloader/edk2/MdePkg/Library/UefiDevicePathLib/ |
H A D | DevicePathUtilities.c | 38 If DevicePath is NULL, then ASSERT().
40 @param DevicePath A pointer to a device path data structure.
43 @retval TRUE DevicePath is valid.
44 @retval FALSE The length of any node node in the DevicePath is less
46 @retval FALSE If MaxSize is not zero, the size of the DevicePath
49 count of the DevicePath exceeds PcdMaximumDevicePathNodeCount.
54 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath,
62 ASSERT (DevicePath != NULL);
64 for (Count = 0, Size = 0; !IsDevicePathEnd (DevicePath); DevicePath 53 IsDevicePathValid( IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath, IN UINTN MaxSize ) argument 511 UefiDevicePathLibAppendDevicePathNode( IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath, OPTIONAL IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePathNode OPTIONAL ) argument 574 UefiDevicePathLibAppendDevicePathInstance( IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath, OPTIONAL IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePathInstance OPTIONAL ) argument 646 UefiDevicePathLibGetNextDevicePathInstance( IN OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath, OUT UINTN *Size ) argument 727 EFI_DEVICE_PATH_PROTOCOL *DevicePath; local 809 EFI_DEVICE_PATH_PROTOCOL *DevicePath; local 853 EFI_DEVICE_PATH_PROTOCOL *DevicePath; local [all...] |
H A D | UefiDevicePathLib.c | 29 specified by DevicePath including the end of device path node.
30 If DevicePath is NULL or invalid, then 0 is returned.
32 @param DevicePath A pointer to a device path data structure.
34 @retval 0 If DevicePath is NULL or invalid.
41 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath
44 return UefiDevicePathLibGetDevicePathSize (DevicePath);
50 This function allocates space for a new copy of the device path specified by DevicePath.
51 If DevicePath is NULL, then NULL is returned. If the memory is successfully
52 allocated, then the contents of DevicePath are copied to the newly allocated
57 @param DevicePath 136 AppendDevicePathNode( IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath, OPTIONAL IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePathNode OPTIONAL ) argument 169 AppendDevicePathInstance( IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath, OPTIONAL IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePathInstance OPTIONAL ) argument 207 GetNextDevicePathInstance( IN OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath, OUT UINTN *Size ) argument 312 ConvertDevicePathToText( IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath, IN BOOLEAN DisplayOnly, IN BOOLEAN AllowShortcuts ) argument [all...] |
H A D | UefiDevicePathLibOptionalDevicePathProtocol.c | 66 specified by DevicePath including the end of device path node.
67 If DevicePath is NULL or invalid, then 0 is returned.
69 @param DevicePath A pointer to a device path data structure.
71 @retval 0 If DevicePath is NULL or invalid.
78 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath
82 return mDevicePathLibDevicePathUtilities->GetDevicePathSize (DevicePath);
84 return UefiDevicePathLibGetDevicePathSize (DevicePath);
91 This function allocates space for a new copy of the device path specified by DevicePath.
92 If DevicePath is NULL, then NULL is returned. If the memory is successfully
93 allocated, then the contents of DevicePath ar 185 AppendDevicePathNode( IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath, OPTIONAL IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePathNode OPTIONAL ) argument 222 AppendDevicePathInstance( IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath, OPTIONAL IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePathInstance OPTIONAL ) argument 264 GetNextDevicePathInstance( IN OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath, OUT UINTN *Size ) argument 414 ConvertDevicePathToText( IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath, IN BOOLEAN DisplayOnly, IN BOOLEAN AllowShortcuts ) argument [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/ |
H A D | DevicePath.c | 14 DevicePath.c
31 #include EFI_PROTOCOL_DEFINITION (DevicePath)
35 IN OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath,
44 DevicePath - A pointer to a device path data structure.
52 and a pointer to the next device path instance in DevicePath.
53 If there are no more device path instances in DevicePath, then DevicePath will be set to NULL.
61 if (*DevicePath == NULL) {
72 DevPath = *DevicePath;
81 *Size = ((UINTN) DevPath - (UINTN) (*DevicePath)) 34 EfiDevicePathInstance( IN OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath, OUT UINTN *Size ) argument 202 EFI_DEVICE_PATH_PROTOCOL *DevicePath; local 397 EFI_DEVICE_PATH_PROTOCOL *DevicePath; local [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/ |
H A D | RtDevicePath.c | 33 #include EFI_PROTOCOL_DEFINITION (DevicePath)
132 IN OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath,
141 DevicePath - A pointer to a device path data structure.
149 and a pointer to the next device path instance in DevicePath.
150 If there are no more device path instances in DevicePath, then DevicePath will be set to NULL.
158 if (*DevicePath == NULL) {
169 DevPath = *DevicePath;
178 *Size = ((UINTN) DevPath - (UINTN) (*DevicePath)) + sizeof (EFI_DEVICE_PATH_PROTOCOL);
186 ReturnValue = RtEfiDuplicateDevicePath (*DevicePath);
131 RtEfiDevicePathInstance( IN OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath, OUT UINTN *Size ) argument 299 EFI_DEVICE_PATH_PROTOCOL *DevicePath; local 494 EFI_DEVICE_PATH_PROTOCOL *DevicePath; local [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/LoadedImageDevicePath/ |
H A D | LoadedImageDevicePath.h | 30 #include EFI_PROTOCOL_DEFINITION (DevicePath)
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/BootMaintenanceManagerLib/ |
H A D | BmLib.c | 50 @param DevicePath A pointer to a device path data structure.
53 in DevicePath.
58 IN EFI_DEVICE_PATH_PROTOCOL *DevicePath
65 while (GetNextDevicePathInstance (&DevicePath, &Size) != NULL) {
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Include/Protocol/ |
H A D | I2cAcpi.h | 29 #include <Protocol/DevicePath.h>
51 CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath;
42 CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath; member in struct:__anon9896
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/FvbRuntimeDxe/ |
H A D | FvbServiceSmm.c | 73 FvbDevice->DevicePath = (EFI_DEVICE_PATH_PROTOCOL *) AllocateRuntimeCopyPool (sizeof (FV_MEMMAP_DEVICE_PATH), &mFvMemmapDevicePathTemplate);
74 ((FV_MEMMAP_DEVICE_PATH *) FvbDevice->DevicePath)->MemMapDevPath.StartingAddress = FwhInstance->FvBase;
75 ((FV_MEMMAP_DEVICE_PATH *) FvbDevice->DevicePath)->MemMapDevPath.EndingAddress = FwhInstance->FvBase + FwVolHeader->FvLength - 1;
77 FvbDevice->DevicePath = (EFI_DEVICE_PATH_PROTOCOL *) AllocateRuntimeCopyPool (sizeof (FV_PIWG_DEVICE_PATH), &mFvPIWGDevicePathTemplate);
79 &((FV_PIWG_DEVICE_PATH *)FvbDevice->DevicePath)->FvDevPath.FvName,
100 FvbDevice->DevicePath
|
H A D | FvbServiceDxe.c | 105 DEBUG ((EFI_D_INFO, "FwBlockService.c: Setting up DevicePath for 0x%lx:\n", FwhInstance->FvBase));
110 FvbDevice->DevicePath = (EFI_DEVICE_PATH_PROTOCOL *) AllocateRuntimeCopyPool (sizeof (FV_MEMMAP_DEVICE_PATH), &mFvMemmapDevicePathTemplate);
111 ((FV_MEMMAP_DEVICE_PATH *) FvbDevice->DevicePath)->MemMapDevPath.StartingAddress = FwhInstance->FvBase;
112 ((FV_MEMMAP_DEVICE_PATH *) FvbDevice->DevicePath)->MemMapDevPath.EndingAddress = FwhInstance->FvBase + FwVolHeader->FvLength - 1;
114 FvbDevice->DevicePath = (EFI_DEVICE_PATH_PROTOCOL *) AllocateRuntimeCopyPool (sizeof (FV_PIWG_DEVICE_PATH), &mFvPIWGDevicePathTemplate);
116 &((FV_PIWG_DEVICE_PATH *)FvbDevice->DevicePath)->FvDevPath.FvName,
126 &FvbDevice->DevicePath,
140 FvbDevice->DevicePath,
146 } else if (IsDevicePathEnd (FvbDevice->DevicePath)) {
|
/device/linaro/bootloader/edk2/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/ |
H A D | UefiDevicePathLib.c | 80 If DevicePath is NULL, then ASSERT().
82 @param DevicePath A pointer to a device path data structure.
85 @retval TRUE DevicePath is valid.
86 @retval FALSE The length of any node node in the DevicePath is less
88 @retval FALSE If MaxSize is not zero, the size of the DevicePath
91 count of the DevicePath exceeds PcdMaximumDevicePathNodeCount.
96 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath,
104 ASSERT (DevicePath != NULL);
106 for (Count = 0, Size = 0; !IsDevicePathEnd (DevicePath); DevicePath 95 IsDevicePathValid( IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath, IN UINTN MaxSize ) argument 477 AppendDevicePathNode( IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath, OPTIONAL IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePathNode OPTIONAL ) argument 510 AppendDevicePathInstance( IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath, OPTIONAL IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePathInstance OPTIONAL ) argument 547 GetNextDevicePathInstance( IN OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath, OUT UINTN *Size ) argument 629 EFI_DEVICE_PATH_PROTOCOL *DevicePath; local 674 EFI_DEVICE_PATH_PROTOCOL *DevicePath; local 776 ConvertDevicePathToText( IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath, IN BOOLEAN DisplayOnly, IN BOOLEAN AllowShortcuts ) argument [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Console/ConPlatformDxe/ |
H A D | ConPlatform.c | 227 EFI_DEVICE_PATH_PROTOCOL *DevicePath;
local 237 (VOID **) &DevicePath,
265 DevicePath,
278 if (IsHotPlugDevice (DevicePath)) {
291 DevicePath,
302 DevicePath,
359 EFI_DEVICE_PATH_PROTOCOL *DevicePath;
local 373 (VOID **) &DevicePath,
401 DevicePath,
411 DevicePath,
537 EFI_DEVICE_PATH_PROTOCOL *DevicePath; local 611 EFI_DEVICE_PATH_PROTOCOL *DevicePath; local 853 EFI_DEVICE_PATH_PROTOCOL *DevicePath; local 938 ConPlatformUpdateDeviceVariable( IN CHAR16 *VariableName, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath, IN CONPLATFORM_VAR_OPERATION Operation ) argument [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/DevicePathUtilities/ |
H A D | DevicePathUtilities.h | 34 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath
42 DevicePath - Points to the start of the EFI device path.
53 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath
61 DevicePath - Points to the source EFI device path.
88 or either DevicePath or DeviceNode is NULL.
96 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath,
105 DevicePath - Points to the device path.
111 or either DevicePath or DeviceNode is NULL.
119 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath,
128 DevicePath [all...] |
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/ |
H A D | DevicePathUtilities.h | 30 @param DevicePath Points to the start of the EFI device path.
33 @retval 0 DevicePath is NULL
39 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath
46 @param DevicePath Points to the source EFI device path.
49 @retval NULL insufficient memory or DevicePath is NULL
55 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath
80 If DeviceNode is NULL then a copy of DevicePath is returned.
81 If DevicePath is NULL then a copy of DeviceNode, followed by an end-of-device path device node is returned.
82 If both DeviceNode and DevicePath are NULL then a copy of an end-of-device-path device node is returned.
84 @param DevicePath Point [all...] |
/device/linaro/bootloader/edk2/CorebootPayloadPkg/Library/PlatformBdsLib/ |
H A D | BdsPlatform.c | 108 EFI_DEVICE_PATH_PROTOCOL *DevicePath;
local 112 DevicePath = NULL;
116 (VOID*)&DevicePath
121 TempDevicePath = DevicePath;
126 DevicePath = AppendDevicePathNode ((EFI_DEVICE_PATH_PROTOCOL *)NULL, (EFI_DEVICE_PATH_PROTOCOL *)&gUartDeviceVenderNode);
127 DevicePath = AppendDevicePathNode (DevicePath, (EFI_DEVICE_PATH_PROTOCOL *)&gUartDeviceNode);
128 DevicePath = AppendDevicePathNode (DevicePath, (EFI_DEVICE_PATH_PROTOCOL *)&gTerminalTypeDeviceNode);
133 DevPathStr = DevicePathToStr(DevicePath);
278 EFI_DEVICE_PATH_PROTOCOL *DevicePath; local 322 EFI_DEVICE_PATH_PROTOCOL *DevicePath; local [all...] |
/device/linaro/bootloader/edk2/ArmPkg/Library/BdsLib/ |
H A D | BdsAppLoader.c | 21 @param DevicePath EFI Device Path of the EFI application
31 OUT EFI_DEVICE_PATH **DevicePath
50 ASSERT (DevicePath != NULL);
67 *DevicePath = NULL;
114 *DevicePath = AppendDevicePathNode (FvDevicePath, (EFI_DEVICE_PATH_PROTOCOL *)&FileDevicePath);
115 ASSERT (*DevicePath != NULL);
139 @param DevicePath EFI Device Path of the EFI application
149 OUT EFI_DEVICE_PATH **DevicePath
165 ASSERT (DevicePath != NULL);
179 *DevicePath [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/ |
H A D | EdkIIGlueDevicePathLib.h | 42 DevicePath including the end of device path node. If DevicePath is NULL, then 0 is returned.
44 @param DevicePath A pointer to a device path data structure.
52 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath
58 This function allocates space for a new copy of the device path specified by DevicePath. If
59 DevicePath is NULL, then NULL is returned. If the memory is successfully allocated, then the
60 contents of DevicePath are copied to the newly allocated buffer, and a pointer to that buffer
63 @param DevicePath A pointer to a device path data structure.
71 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath
104 DevicePathNode to a copy of the device path specified by DevicePath i [all...] |
/device/linaro/bootloader/edk2/MdePkg/Include/Library/ |
H A D | DevicePathLib.h | 25 If DevicePath is NULL, then ASSERT().
27 @param DevicePath A pointer to a device path data structure.
30 @retval TRUE DevicePath is valid.
31 @retval FALSE The length of any node node in the DevicePath is less
33 @retval FALSE If MaxSize is not zero, the size of the DevicePath
36 count of the DevicePath exceeds PcdMaximumDevicePathNodeCount.
41 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath,
237 specified by DevicePath including the end of device path node.
238 If DevicePath is NULL or invalid, then 0 is returned.
240 @param DevicePath [all...] |
/device/linaro/bootloader/edk2/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/ |
H A D | FwBlockServiceSmm.c | 20 #include <Protocol/DevicePath.h>
56 FvbDevice->DevicePath
|
/device/linaro/bootloader/edk2/DuetPkg/Library/DxeCoreReportStatusCodeLibFromHob/ |
H A D | ReportStatusCodeLib.c | 60 @param DevicePath A pointer to a device path.
62 @return The size, in bytes, of DevicePath.
67 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath
75 Start = DevicePath;
76 while (!IsDevicePathEnd (DevicePath)) {
77 DevicePath = NextDevicePathNode (DevicePath);
83 return ((UINTN) DevicePath - (UINTN) Start) + DevicePathNodeLength (DevicePath);
304 Device Path Protocol specified by DevicePath [all...] |
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Include/Guid/ |
H A D | BlockIoVendor.h | 25 VENDOR_DEVICE_PATH DevicePath;
member in struct:__anon5323
|
/device/linaro/bootloader/edk2/OvmfPkg/XenBusDxe/ |
H A D | XenBus.c | 136 CHAR8 DevicePath[XENSTORE_ABS_PATH_MAX];
local 143 AsciiSPrint (DevicePath, sizeof (DevicePath),
146 if (XenStorePathExists (XST_NIL, DevicePath, "")) {
151 Child = XenBusDeviceInitialized (Dev, DevicePath);
160 State = XenBusReadDriverState (DevicePath);
168 "State %d\n", DevicePath, State));
173 StatusXenStore = XenStoreRead (XST_NIL, DevicePath, "backend",
176 DEBUG ((EFI_D_ERROR, "xenbus: %a no backend path.\n", DevicePath));
183 Private->XenBusIo.Node = AsciiStrDup (DevicePath);
[all...] |
/device/linaro/bootloader/edk2/SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgent/ |
H A D | DxeDebugAgentLib.h | 21 #include <Protocol/DevicePath.h>
|