/device/linaro/bootloader/edk2/ArmPlatformPkg/Bds/ |
H A D | BootLinux.c | 49 EFI_DEVICE_PATH* DevicePathNode;
local 62 DevicePathNode = DevicePath;
63 while ((DevicePathNode != NULL) && !IsDevicePathEnd (DevicePathNode)) {
64 PrevDevicePathNode = DevicePathNode;
65 DevicePathNode = NextDevicePathNode (DevicePathNode);
|
H A D | BdsHelper.c | 288 EFI_DEVICE_PATH* DevicePathNode;
local 308 DevicePathNode = GetLastDevicePathNode (DevicePathProtocol);
311 DevicePathTxt = DevicePathToTextProtocol->ConvertDevicePathToText (DevicePathNode, TRUE, TRUE);
|
H A D | BootOptionSupport.c | 975 EFI_DEVICE_PATH *DevicePathNode;
local 1016 for (DevicePathNode = DevicePath;
1017 !IsDevicePathEnd (DevicePathNode);
1018 DevicePathNode = NextDevicePathNode (DevicePathNode))
1020 if (IS_DEVICE_PATH_NODE (DevicePathNode, MESSAGING_DEVICE_PATH, MSG_IPv4_DP)) {
1021 Ipv4NodePtr = (UINT8*)DevicePathNode;
|
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellCommandLib/ |
H A D | ConsistMapping.c | 443 DevicePathNode must be SerialHDD Channel type and this will populate the MappingItem.
445 @param[in] DevicePathNode The node to get info on.
452 IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode,
459 ASSERT(DevicePathNode != NULL);
462 Hd = (HARDDRIVE_DEVICE_PATH *) DevicePathNode;
471 DevicePathNode must be SerialAtapi Channel type and this will populate the MappingItem.
473 @param[in] DevicePathNode The node to get info on.
480 IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode,
487 ASSERT(DevicePathNode != NULL);
490 Atapi = (ATAPI_DEVICE_PATH *) DevicePathNode;
451 DevPathSerialHardDrive( IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath ) argument 479 DevPathSerialAtapi( IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath ) argument 503 DevPathSerialCdRom( IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath ) argument 528 DevPathSerialFibre( IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath ) argument 553 DevPathSerialUart( IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath ) argument 580 DevPathSerialUsb( IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath ) argument 640 DevPathSerialVendor( IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath ) argument 703 DevPathSerialLun( IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath ) argument 727 DevPathSerialSata( IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath ) argument 753 DevPathSerialIScsi( IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath ) argument 798 DevPathSerialI2O( IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath ) argument 822 DevPathSerialMacAddr( IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath ) argument 860 DevPathSerialInfiniBand( IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath ) argument 894 DevPathSerialIPv4( IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath ) argument 941 DevPathSerialIPv6( IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath ) argument 980 DevPathSerialScsi( IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath ) argument 1005 DevPathSerial1394( IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath ) argument 1031 DevPathSerialAcpi( IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath ) argument 1062 DevPathSerialDefault( IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath ) argument [all...] |
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTpm2MeasureBootLib/ |
H A D | DxeTpm2MeasureBootLib.c | 435 EFI_DEVICE_PATH_PROTOCOL *DevicePathNode;
local 477 DevicePathNode = OrigDevicePathNode;
478 Status = gBS->LocateDevicePath (&gEfiBlockIoProtocolGuid, &DevicePathNode, &Handle);
483 DevicePathNode = OrigDevicePathNode;
484 ASSERT (DevicePathNode != NULL);
485 while (!IsDevicePathEnd (DevicePathNode)) {
489 if (DevicePathType (DevicePathNode) == MEDIA_DEVICE_PATH &&
490 DevicePathSubType (DevicePathNode) == MEDIA_HARDDRIVE_DP) {
494 if (((HARDDRIVE_DEVICE_PATH *) DevicePathNode)->MBRType == MBR_TYPE_EFI_PARTITION_TABLE_HEADER &&
495 ((HARDDRIVE_DEVICE_PATH *) DevicePathNode) [all...] |
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/LegacyBiosDxe/ |
H A D | LegacyIde.c | 52 EFI_DEVICE_PATH_PROTOCOL *DevicePathNode;
local 140 DevicePathNode = DevicePath;
141 while (!IsDevicePathEnd (DevicePathNode)) {
142 TempDevicePathNode = NextDevicePathNode (DevicePathNode);
143 if ((DevicePathType (DevicePathNode) == HARDWARE_DEVICE_PATH) &&
144 ( DevicePathSubType (DevicePathNode) == HW_PCI_DP) &&
147 PciDevicePath = (PCI_DEVICE_PATH *) DevicePathNode;
150 DevicePathNode = NextDevicePathNode (DevicePathNode);
|
/device/linaro/bootloader/edk2/MdePkg/Library/DxeServicesLib/ |
H A D | DxeServicesLib.c | 610 EFI_DEVICE_PATH_PROTOCOL *DevicePathNode;
local 660 DevicePathNode = OrigDevicePathNode;
661 Status = gBS->LocateDevicePath (&gEfiFirmwareVolume2ProtocolGuid, &DevicePathNode, &Handle);
666 FvNameGuid = EfiGetNameGuidFromFwVolDevicePathNode ((CONST MEDIA_FW_VOL_FILEPATH_DEVICE_PATH *) DevicePathNode);
715 DevicePathNode = OrigDevicePathNode;
716 Status = gBS->LocateDevicePath (&gEfiSimpleFileSystemProtocolGuid, &DevicePathNode, &Handle);
730 TempDevicePathNode = DuplicateDevicePath (DevicePathNode);
744 DevicePathNode = TempDevicePathNode;
745 while (!EFI_ERROR (Status) && !IsDevicePathEnd (DevicePathNode)) {
746 if (DevicePathType (DevicePathNode) ! [all...] |
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTpmMeasureBootLib/ |
H A D | DxeTpmMeasureBootLib.c | 744 EFI_DEVICE_PATH_PROTOCOL *DevicePathNode;
local 787 DevicePathNode = OrigDevicePathNode;
788 Status = gBS->LocateDevicePath (&gEfiBlockIoProtocolGuid, &DevicePathNode, &Handle);
793 DevicePathNode = OrigDevicePathNode;
794 ASSERT (DevicePathNode != NULL);
795 while (!IsDevicePathEnd (DevicePathNode)) {
799 if (DevicePathType (DevicePathNode) == MEDIA_DEVICE_PATH &&
800 DevicePathSubType (DevicePathNode) == MEDIA_HARDDRIVE_DP) {
804 if (((HARDDRIVE_DEVICE_PATH *) DevicePathNode)->MBRType == MBR_TYPE_EFI_PARTITION_TABLE_HEADER &&
805 ((HARDDRIVE_DEVICE_PATH *) DevicePathNode) [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/ |
H A D | AtaAtapiPassThru.c | 1627 EFI_DEV_PATH *DevicePathNode;
local 1646 DevicePathNode = AllocateCopyPool (sizeof (ATAPI_DEVICE_PATH), &mAtapiDevicePathTemplate);
1647 if (DevicePathNode == NULL) {
1650 DevicePathNode->Atapi.PrimarySecondary = (UINT8) Port;
1651 DevicePathNode->Atapi.SlaveMaster = (UINT8) PortMultiplierPort;
1652 DevicePathNode->Atapi.Lun = 0;
1654 DevicePathNode = AllocateCopyPool (sizeof (SATA_DEVICE_PATH), &mSataDevicePathTemplate);
1655 if (DevicePathNode == NULL) {
1659 DevicePathNode->Sata.HBAPortNumber = Port;
1660 DevicePathNode 1714 EFI_DEV_PATH *DevicePathNode; local 2267 EFI_DEV_PATH *DevicePathNode; local 2348 EFI_DEV_PATH *DevicePathNode; local [all...] |
/device/linaro/bootloader/edk2/ArmPkg/Library/BdsLib/ |
H A D | BdsLoadOption.c | 117 EFI_DEVICE_PATH_PROTOCOL* DevicePathNode;
local 170 DevicePathNode = BdsLoadOption->FilePathList;
171 while (!IsDevicePathEndType (DevicePathNode)) {
172 NodeLength = DevicePathNodeLength(DevicePathNode);
173 CopyMem (EfiLoadOptionPtr, DevicePathNode, NodeLength);
175 DevicePathNode = NextDevicePathNode (DevicePathNode);
|
/device/linaro/bootloader/edk2/MdePkg/Library/UefiDevicePathLib/ |
H A D | UefiDevicePathLib.c | 110 specified by DevicePathNode to a copy of the device path specified by DevicePath
113 If DevicePathNode is NULL then a copy of DevicePath is returned.
114 If DevicePath is NULL then a copy of DevicePathNode, followed by an end-of-device
116 If both DevicePathNode and DevicePath are NULL then a copy of an end-of-device-path
124 @param DevicePathNode A pointer to a single device path node.
128 A copy of DevicePathNode followed by an end-of-device-path node
138 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePathNode OPTIONAL
141 return UefiDevicePathLibAppendDevicePathNode (DevicePath, DevicePathNode);
|
H A D | UefiDevicePathLibOptionalDevicePathProtocol.c | 159 specified by DevicePathNode to a copy of the device path specified by DevicePath
162 If DevicePathNode is NULL then a copy of DevicePath is returned.
163 If DevicePath is NULL then a copy of DevicePathNode, followed by an end-of-device
165 If both DevicePathNode and DevicePath are NULL then a copy of an end-of-device-path
173 @param DevicePathNode A pointer to a single device path node.
177 A copy of DevicePathNode followed by an end-of-device-path node
187 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePathNode OPTIONAL
191 return mDevicePathLibDevicePathUtilities->AppendDeviceNode (DevicePath, DevicePathNode);
193 return UefiDevicePathLibAppendDevicePathNode (DevicePath, DevicePathNode);
|
H A D | DevicePathUtilities.c | 485 specified by DevicePathNode to a copy of the device path specified by DevicePath
488 If DevicePathNode is NULL then a copy of DevicePath is returned.
489 If DevicePath is NULL then a copy of DevicePathNode, followed by an end-of-device
491 If both DevicePathNode and DevicePath are NULL then a copy of an end-of-device-path
499 @param DevicePathNode A pointer to a single device path node.
503 A copy of DevicePathNode followed by an end-of-device-path node
513 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePathNode OPTIONAL
521 if (DevicePathNode == NULL) {
527 NodeLength = DevicePathNodeLength (DevicePathNode);
533 TempDevicePath = CopyMem (TempDevicePath, DevicePathNode, NodeLengt [all...] |
H A D | UefiDevicePathLib.h | 231 specified by DevicePathNode to a copy of the device path specified by DevicePath
234 If DevicePathNode is NULL then a copy of DevicePath is returned.
235 If DevicePath is NULL then a copy of DevicePathNode, followed by an end-of-device
237 If both DevicePathNode and DevicePath are NULL then a copy of an end-of-device-path
245 @param DevicePathNode A pointer to a single device path node.
249 A copy of DevicePathNode followed by an end-of-device-path node
259 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePathNode OPTIONAL
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Disk/PartitionDxe/ |
H A D | Mbr.c | 140 EFI_DEVICE_PATH_PROTOCOL *DevicePathNode;
local 179 DevicePathNode = DevicePath;
180 while (!IsDevicePathEnd (DevicePathNode)) {
181 LastDevicePathNode = DevicePathNode;
182 DevicePathNode = NextDevicePathNode (DevicePathNode);
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiDevicePathLib/ |
H A D | UefiDevicePathLib.c | 178 DevicePathNode to a copy of the device path specified by DevicePath in an allocated buffer.
181 If DevicePathNode is NULL, then NULL is returned.
187 @param DevicePathNode A pointer to a single device path node.
196 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePathNode OPTIONAL
204 if (DevicePath == NULL || DevicePathNode == NULL) {
210 NodeLength = DevicePathNodeLength (DevicePathNode);
216 TempDevicePath = CopyMem (TempDevicePath, DevicePathNode, NodeLength);
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Ufs/UfsPassThruDxe/ |
H A D | UfsPassThru.c | 385 EFI_DEV_PATH *DevicePathNode;
local 421 DevicePathNode = AllocateCopyPool (sizeof (UFS_DEVICE_PATH), &mUfsDevicePathTemplate);
422 if (DevicePathNode == NULL) {
426 DevicePathNode->Ufs.Pun = 0;
427 DevicePathNode->Ufs.Lun = UfsLun;
429 *DevicePath = (EFI_DEVICE_PATH_PROTOCOL *) DevicePathNode;
463 EFI_DEV_PATH *DevicePathNode;
local 489 DevicePathNode = (EFI_DEV_PATH *) DevicePath;
491 Pun = (UINT8) DevicePathNode->Ufs.Pun;
492 UfsLun = (UINT8) DevicePathNode [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Library/FileExplorerLib/ |
H A D | FileExplorer.c | 905 EFI_DEVICE_PATH_PROTOCOL *DevicePathNode;
local 919 DevicePathNode = RootDirectory;
920 Status = gBS->LocateDevicePath (&gEfiSimpleFileSystemProtocolGuid, &DevicePathNode, &Handle);
940 if (IsDevicePathEnd(DevicePathNode)) {
951 TempDevicePathNode = DuplicateDevicePath (DevicePathNode);
966 DevicePathNode = TempDevicePathNode;
967 while (!EFI_ERROR (Status) && !IsDevicePathEnd (DevicePathNode)) {
968 if (DevicePathType (DevicePathNode) != MEDIA_DEVICE_PATH ||
969 DevicePathSubType (DevicePathNode) != MEDIA_FILEPATH_DP) {
980 ((FILEPATH_DEVICE_PATH *) DevicePathNode) [all...] |
/device/linaro/bootloader/edk2/EmbeddedPkg/Ebl/ |
H A D | EfiDevice.c | 148 EFI_DEVICE_PATH_PROTOCOL *DevicePathNode;
local 161 for (DevicePathNode = File->DevicePath;
162 !IsDevicePathEnd (DevicePathNode);
163 DevicePathNode = NextDevicePathNode (DevicePathNode)) {
165 if ((DevicePathType (DevicePathNode) == MESSAGING_DEVICE_PATH) && (DevicePathSubType (DevicePathNode) == MSG_MAC_ADDR_DP)) {
166 MacAddr = (MAC_ADDR_DEVICE_PATH *)DevicePathNode;
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/ |
H A D | EdkIIGlueDevicePathLib.h | 104 DevicePathNode to a copy of the device path specified by DevicePath in an allocated buffer.
107 If DevicePathNode is NULL, then NULL is returned.
113 @param DevicePathNode A pointer to a single device path node.
122 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePathNode OPTIONAL
|
/device/linaro/bootloader/edk2/MdePkg/Include/Library/ |
H A D | DevicePathLib.h | 308 DevicePathNode to a copy of the device path specified by DevicePath in an allocated buffer.
310 If DevicePathNode is NULL then a copy of DevicePath is returned.
311 If DevicePath is NULL then a copy of DevicePathNode, followed by an end-of-device path device
313 If both DevicePathNode and DevicePath are NULL then a copy of an end-of-device-path device node
320 @param DevicePathNode A pointer to a single device path node.
324 A copy of DevicePathNode followed by an end-of-device-path node
333 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePathNode OPTIONAL
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/NvmExpressDxe/ |
H A D | NvmExpress.c | 525 EFI_DEV_PATH_PTR DevicePathNode;
local 543 DevicePathNode.DevPath = RemainingDevicePath;
545 if ((DevicePathNode.DevPath->Type != MESSAGING_DEVICE_PATH) ||
546 (DevicePathNode.DevPath->SubType != MSG_NVME_NAMESPACE_DP) ||
547 (DevicePathNodeLength(DevicePathNode.DevPath) != sizeof(NVME_NAMESPACE_DEVICE_PATH))) {
|
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey/HiKeyDxe/ |
H A D | InstallBootMenu.c | 214 EFI_DEVICE_PATH_PROTOCOL *DevicePathNode; local 282 DevicePathNode = BdsLoadOption->FilePathList; 283 while (!IsDevicePathEndType (DevicePathNode)) { 284 NodeLength = DevicePathNodeLength(DevicePathNode); 285 CopyMem (EfiLoadOptionPtr, DevicePathNode, NodeLength); 287 DevicePathNode = NextDevicePathNode (DevicePathNode);
|
/device/linaro/bootloader/edk2/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/ |
H A D | UefiDevicePathLib.c | 451 specified by DevicePathNode to a copy of the device path specified by DevicePath
454 If DevicePathNode is NULL then a copy of DevicePath is returned.
455 If DevicePath is NULL then a copy of DevicePathNode, followed by an end-of-device
457 If both DevicePathNode and DevicePath are NULL then a copy of an end-of-device-path
465 @param DevicePathNode A pointer to a single device path node.
469 A copy of DevicePathNode followed by an end-of-device-path node
479 IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePathNode OPTIONAL
482 return mDevicePathLibDevicePathUtilities->AppendDeviceNode (DevicePath, DevicePathNode);
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformSetupDxe/ |
H A D | SetupInfoRecords.c | 1564 EFI_DEVICE_PATH_PROTOCOL *DevicePath, *DevicePathNode;
1610 DevicePathNode = DevicePath;
1611 while (!IsDevicePathEnd (DevicePathNode) ) {
1612 if ((DevicePathType (DevicePathNode) == HARDWARE_DEVICE_PATH) &&
1613 ( DevicePathSubType (DevicePathNode) == HW_PCI_DP)) {
1614 PciDevicePath = (PCI_DEVICE_PATH *) DevicePathNode;
1617 DevicePathNode = NextDevicePathNode (DevicePathNode);
1555 EFI_DEVICE_PATH_PROTOCOL *DevicePath, *DevicePathNode; local
|