92 if (AppendStr ==
NULL) {
93 return EFI_OUT_OF_RESOURCES;
99 if (
NULL == Str->Str) {
100 StringSize =
StrSize (AppendStr);
103 StringSize =
StrSize (AppendStr);
104 StringSize += (
StrSize (Str->Str) -
sizeof (UINT16));
113 if (NewStr ==
NULL) {
115 return EFI_OUT_OF_RESOURCES;
119 StrCatS (Str->Str, StringSize/sizeof (CHAR16), AppendStr);
120 Str->Len = StringSize;
168 ASSERT (Str !=
NULL);
173 if (EFI_ERROR (Status)) {
178 return CatPrint (Str, L
"%c", Rem +
'a');
199 ASSERT (MappingItem !=
NULL);
201 if (MappingItem->Digital) {
202 Status =
CatPrint (&MappingItem->Csd, L
"%ld", Num);
207 if (!EFI_ERROR (Status)) {
208 MappingItem->Digital = (BOOLEAN) !(MappingItem->Digital);
232 ASSERT (Str !=
NULL && MappingItem !=
NULL);
236 if (MappingItem->Digital) {
242 for (Index = Str; *Index != 0; Index++) {
253 Status =
CatPrint (&MappingItem->Csd, L
"%c", *Index);
257 Status =
CatPrint (&MappingItem->Csd, L
"16");
266 Status =
CatPrint (&MappingItem->Csd, L
"1%c", *Index -
'a' +
'0');
275 Status =
CatPrint (&MappingItem->Csd, L
"1%c", *Index -
'A' +
'0');
279 if (EFI_ERROR (Status)) {
284 for (Index = Str; *Index != 0; Index++) {
290 if ((*Index >=
'0') && (*Index <=
'9')) {
291 Status =
CatPrint (&MappingItem->Csd, L
"%c", *Index -
'0' +
'a');
292 }
else if ((*Index >=
'a') && (*Index <=
'f')) {
293 Status =
CatPrint (&MappingItem->Csd, L
"%c", *Index -
'a' +
'k');
294 }
else if ((*Index >=
'A') && (*Index <=
'F')) {
295 Status =
CatPrint (&MappingItem->Csd, L
"%c", *Index -
'A' +
'k');
298 if (EFI_ERROR (Status)) {
304 MappingItem->Digital = (BOOLEAN) !(MappingItem->Digital);
326 ASSERT (Guid !=
NULL && MappingItem !=
NULL);
357 if ((DevicePath1 ==
NULL) || (DevicePath2 ==
NULL)) {
363 if ((Acpi1->
HID > Acpi2->
HID) || ((Acpi1->
HID == Acpi2->
HID) && (Acpi1->
UID > Acpi2->
UID))) {
367 if ((Acpi1->
HID == Acpi2->
HID) && (Acpi1->
UID == Acpi2->
UID)) {
393 ASSERT (DevicePath1 !=
NULL);
394 ASSERT (DevicePath2 !=
NULL);
429 ASSERT (DevicePath1 !=
NULL);
430 ASSERT (DevicePath2 !=
NULL);
434 if (DevPathSize1 > DevPathSize2) {
436 }
else if (DevPathSize1 < DevPathSize2) {
439 return CompareMem (DevicePath1, DevicePath2, DevPathSize1);
462 ASSERT (DevicePathNode !=
NULL);
463 ASSERT (MappingItem !=
NULL);
466 if (MappingItem->Mtd == MTDTypeUnknown) {
467 MappingItem->Mtd = MTDTypeHardDisk;
492 ASSERT (DevicePathNode !=
NULL);
493 ASSERT (MappingItem !=
NULL);
518 ASSERT (DevicePathNode !=
NULL);
519 ASSERT (MappingItem !=
NULL);
522 MappingItem->Mtd = MTDTypeCDRom;
546 ASSERT (DevicePathNode !=
NULL);
547 ASSERT (MappingItem !=
NULL);
551 if (!EFI_ERROR (Status)) {
578 ASSERT (DevicePathNode !=
NULL);
579 ASSERT (MappingItem !=
NULL);
583 if (!EFI_ERROR (Status)) {
587 if (!EFI_ERROR (Status)) {
591 if (!EFI_ERROR (Status)) {
621 ASSERT (DevicePathNode !=
NULL);
622 ASSERT (MappingItem !=
NULL);
626 if (!EFI_ERROR (Status)) {
630 if (EFI_ERROR (Status)) {
635 Status =
gBS->LocateDevicePath (&gEfiUsbIoProtocolGuid, &DevicePath, &TempHandle);
637 if (!EFI_ERROR (Status)) {
638 Status =
gBS->OpenProtocol (TempHandle, &gEfiUsbIoProtocolGuid, (VOID **)&UsbIo,
gImageHandle,
NULL, EFI_OPEN_PROTOCOL_GET_PROTOCOL);
641 if (!EFI_ERROR (Status)) {
642 ASSERT (UsbIo !=
NULL);
643 Status = UsbIo->UsbGetInterfaceDescriptor (UsbIo, &InterfaceDesc);
644 if (!EFI_ERROR (Status)) {
645 if ((InterfaceDesc.InterfaceClass == USB_MASS_STORE_CLASS) && (MappingItem->Mtd == MTDTypeUnknown)) {
646 switch (InterfaceDesc.InterfaceSubClass) {
648 MappingItem->Mtd = MTDTypeHardDisk;
652 MappingItem->Mtd = MTDTypeFloppy;
655 MappingItem->Mtd = MTDTypeCDRom;
686 UINTN TargetNameLength;
691 ASSERT (DevicePathNode !=
NULL);
692 ASSERT (MappingItem !=
NULL);
696 if (EFI_ERROR (Status)) {
703 if (!EFI_ERROR (Status)) {
707 if (!EFI_ERROR (Status)) {
711 if (!EFI_ERROR (Status)) {
716 if (TargetNameLength != 0) {
721 if (Buffer ==
NULL) {
722 return EFI_OUT_OF_RESOURCES;
728 for (Index = 0; Index < TargetNameLength; Index++) {
730 if (NewBuffer ==
NULL) {
731 Status = EFI_OUT_OF_RESOURCES;
741 if (!EFI_ERROR (Status)) {
771 ASSERT (DevicePathNode !=
NULL);
772 ASSERT (MappingItem !=
NULL);
798 ASSERT (DevicePathNode !=
NULL);
799 ASSERT (MappingItem !=
NULL);
803 if (!EFI_ERROR (Status)) {
807 if (!EFI_ERROR (Status)) {
833 UINT8 *IScsiTargetName;
835 UINTN TargetNameLength;
838 ASSERT (DevicePathNode !=
NULL);
839 ASSERT (MappingItem !=
NULL);
843 if (
PcdGetBool (PcdShellDecodeIScsiMapNames)) {
846 if (!EFI_ERROR (Status)) {
850 if (!EFI_ERROR (Status)) {
854 if (!EFI_ERROR (Status)) {
858 if (EFI_ERROR (Status)) {
863 if (TargetNameLength > 0) {
865 if (TargetName ==
NULL) {
866 Status = EFI_OUT_OF_RESOURCES;
868 IScsiTargetName = (UINT8 *)(IScsi + 1);
869 for (Index = 0; Index < TargetNameLength; Index++) {
870 TargetName[Index] = (CHAR16)IScsiTargetName[Index];
901 ASSERT (DevicePathNode !=
NULL);
902 ASSERT (MappingItem !=
NULL);
931 ASSERT (DevicePathNode !=
NULL);
932 ASSERT (MappingItem !=
NULL);
941 for (Index = 0, PBuffer = Buffer; Index < HwAddressSize; Index++, PBuffer += 2) {
971 ASSERT (DevicePathNode !=
NULL);
972 ASSERT (MappingItem !=
NULL);
975 for (Index = 0, PBuffer = Buffer; Index < 16; Index++, PBuffer += 2) {
980 if (!EFI_ERROR (Status)) {
984 if (!EFI_ERROR (Status)) {
988 if (!EFI_ERROR (Status)) {
1016 ASSERT (DevicePathNode !=
NULL);
1017 ASSERT (MappingItem !=
NULL);
1023 L
"%02x%02x%02x%02x",
1030 if (!EFI_ERROR (Status)) {
1034 if (!EFI_ERROR (Status)) {
1038 L
"%02x%02x%02x%02x",
1047 if (!EFI_ERROR (Status)) {
1077 ASSERT (DevicePathNode !=
NULL);
1078 ASSERT (MappingItem !=
NULL);
1081 for (Index = 0, PBuffer = Buffer; Index < 16; Index++, PBuffer += 2) {
1086 if (!EFI_ERROR (Status)) {
1090 if (!EFI_ERROR (Status)) {
1091 for (Index = 0, PBuffer = Buffer; Index < 16; Index++, PBuffer += 2) {
1098 if (!EFI_ERROR (Status)) {
1125 ASSERT (DevicePathNode !=
NULL);
1126 ASSERT (MappingItem !=
NULL);
1130 if (!EFI_ERROR (Status)) {
1157 ASSERT (DevicePathNode !=
NULL);
1158 ASSERT (MappingItem !=
NULL);
1184 ASSERT (DevicePathNode !=
NULL);
1185 ASSERT (MappingItem !=
NULL);
1188 if ((Acpi->
HID & PNP_EISA_ID_MASK) == PNP_EISA_ID_CONST) {
1189 if (EISA_ID_TO_NUM (Acpi->
HID) == 0x0604) {
1190 MappingItem->Mtd = MTDTypeFloppy;
1362 ASSERT (DevicePathNode !=
NULL);
1370 switch (EISA_ID_TO_NUM (Acpi->
HID)) {
1396 UINTN NonHIDevicePathNodeCount;
1402 ASSERT (DevicePath !=
NULL);
1404 NonHIDevicePathNodeCount = 0;
1407 if (HIDevicePath ==
NULL) {
1413 Node.DevPath.
Type = END_DEVICE_PATH_TYPE;
1414 Node.DevPath.
SubType = END_INSTANCE_DEVICE_PATH_SUBTYPE;
1416 Node.DevPath.
Length[1] = 0;
1420 for (Index = 0; Index < NonHIDevicePathNodeCount; Index++) {
1423 HIDevicePath = TempDevicePath;
1428 HIDevicePath = TempDevicePath;
1430 NonHIDevicePathNodeCount++;
1439 return HIDevicePath;
1461 ASSERT (DevicePath !=
NULL);
1462 ASSERT (MappingItem !=
NULL);
1465 OriginalDevicePath = DevicePath;
1472 for (SerialFun =
DevPathSerialDefault, Index = 0; DevPathConsistMappingTable[Index].SerialFun !=
NULL; Index += 1) {
1473 if ((
DevicePathType (DevicePath) == DevPathConsistMappingTable[Index].Type) &&
1477 SerialFun = DevPathConsistMappingTable[Index].SerialFun;
1482 Status = SerialFun (DevicePath, MappingItem, OriginalDevicePath);
1483 if (EFI_ERROR (Status)) {
1484 SHELL_FREE_NON_NULL (MappingItem->Csd.Str);
1521 HandleBuffer =
NULL;
1523 Status =
gBS->LocateHandleBuffer (
1525 &gEfiDevicePathProtocolGuid,
1533 if (TempTable ==
NULL) {
1534 return EFI_OUT_OF_RESOURCES;
1537 for (HandleLoop = 0; HandleLoop < HandleNum; HandleLoop++) {
1539 if (DevicePath ==
NULL) {
1544 if (HIDevicePath ==
NULL) {
1548 Status =
gBS->HandleProtocol (
1549 HandleBuffer[HandleLoop],
1550 &gEfiBlockIoProtocolGuid,
1553 if (EFI_ERROR (Status)) {
1554 Status =
gBS->HandleProtocol (
1555 HandleBuffer[HandleLoop],
1556 &gEfiSimpleFileSystemProtocolGuid,
1557 (VOID **)&SimpleFileSystem
1559 if (EFI_ERROR (Status)) {
1565 for (Index = 0; TempTable[Index] !=
NULL; Index++) {
1572 if (TempTable[Index] ==
NULL) {
1573 TempTable[Index] = HIDevicePath;
1577 for (Index = 0; TempTable[Index] !=
NULL; Index++) {
1583 if (HandleBuffer !=
NULL) {
1607 ASSERT (Table !=
NULL);
1609 for (Index = 0; Table[Index] !=
NULL; Index++) {
1643 ASSERT (DevicePath !=
NULL);
1644 ASSERT (Table !=
NULL);
1647 if (HIDevicePath ==
NULL) {
1651 for (Index = 0; Table[Index] !=
NULL; Index++) {
1658 if (Table[Index] ==
NULL) {
1662 MappingInfo.Hi = Index;
1663 MappingInfo.Mtd = MTDTypeUnknown;
1664 MappingInfo.Digital =
FALSE;
1667 if (EFI_ERROR (Status)) {
1671 SetMem (&Str,
sizeof (Str), 0);
1672 for (Index = 0; mMTDName[Index].MTDType != MTDTypeEnd; Index++) {
1673 if (MappingInfo.Mtd == mMTDName[Index].MTDType) {
1678 if (mMTDName[Index].MTDType != MTDTypeEnd) {
1679 Status =
CatPrint (&Str, L
"%s", mMTDName[Index].Name);
1682 if (!EFI_ERROR (Status)) {
1686 if (!EFI_ERROR (Status) && (MappingInfo.Csd.Str !=
NULL)) {
1687 Status =
CatPrint (&Str, L
"%s", MappingInfo.Csd.Str);
1691 if (!EFI_ERROR (Status) && (Str.Str !=
NULL)) {
1695 if (EFI_ERROR (Status)) {
1696 SHELL_FREE_NON_NULL (Str.Str);
1723 if (gUnicodeCollation->StriColl (gUnicodeCollation, MapListItem->MapName, (CHAR16 *)MapKey) == 0) {
1724 return (MapListItem);
BOOLEAN EFIAPI IsNull(IN CONST LIST_ENTRY *List, IN CONST LIST_ENTRY *Node)
UINTN EFIAPI StrSize(IN CONST CHAR16 *String)
LIST_ENTRY *EFIAPI GetNextNode(IN CONST LIST_ENTRY *List, IN CONST LIST_ENTRY *Node)
LIST_ENTRY *EFIAPI GetFirstNode(IN CONST LIST_ENTRY *List)
RETURN_STATUS EFIAPI StrCatS(IN OUT CHAR16 *Destination, IN UINTN DestMax, IN CONST CHAR16 *Source)
UINT64 EFIAPI DivU64x32Remainder(IN UINT64 Dividend, IN UINT32 Divisor, OUT UINT32 *Remainder OPTIONAL)
INTN EFIAPI CompareMem(IN CONST VOID *DestinationBuffer, IN CONST VOID *SourceBuffer, IN UINTN Length)
VOID *EFIAPI SetMem(OUT VOID *Buffer, IN UINTN Length, IN UINT8 Value)
BOOLEAN EFIAPI CompareGuid(IN CONST GUID *Guid1, IN CONST GUID *Guid2)
EFI_STATUS AppendCSDNum2(IN OUT POOL_PRINT *Str, IN UINT64 Num)
EFI_STATUS DevPathSerialInfiniBand(IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath)
EFI_STATUS AppendCSDGuid(DEVICE_CONSIST_MAPPING_INFO *MappingItem, EFI_GUID *Guid)
INTN EFIAPI DevPathComparePci(IN EFI_DEVICE_PATH_PROTOCOL *DevicePath1, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath2)
EFI_STATUS DevPathSerial1394(IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath)
INTN EFIAPI DevPathCompareAcpi(IN EFI_DEVICE_PATH_PROTOCOL *DevicePath1, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath2)
EFI_STATUS DevPathSerialAcpi(IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath)
SHELL_MAP_LIST *EFIAPI ShellCommandFindMapItem(IN CONST CHAR16 *MapKey)
EFI_STATUS AppendCSDNum(IN OUT DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN UINT64 Num)
EFI_STATUS(* SERIAL_DECODE_FUNCTION)(EFI_DEVICE_PATH_PROTOCOL *DevPath, DEVICE_CONSIST_MAPPING_INFO *MapInfo, EFI_DEVICE_PATH_PROTOCOL *OrigDevPath)
EFI_STATUS EFIAPI CatPrint(IN OUT POOL_PRINT *Str, IN CHAR16 *Fmt,...)
EFI_STATUS DevPathSerialLun(IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath)
EFI_STATUS AppendCSDStr(IN OUT DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN CHAR16 *Str)
EFI_STATUS DevPathSerialCdRom(IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath)
EFI_STATUS DevPathSerialIPv4(IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath)
EFI_STATUS DevPathSerialVendor(IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath)
EFI_STATUS EFIAPI ShellCommandConsistMappingUnInitialize(EFI_DEVICE_PATH_PROTOCOL **Table)
EFI_STATUS DevPathSerialI2O(IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath)
CHAR16 *EFIAPI ShellCommandConsistMappingGenMappingName(IN EFI_DEVICE_PATH_PROTOCOL *DevicePath, IN EFI_DEVICE_PATH_PROTOCOL **Table)
EFI_STATUS DevPathSerialIPv6(IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath)
BOOLEAN IsHIDevicePathNode(IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode)
EFI_STATUS DevPathSerialAtapi(IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath)
EFI_STATUS DevPathSerialScsi(IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath)
EFI_STATUS EFIAPI ShellCommandConsistMappingInitialize(OUT EFI_DEVICE_PATH_PROTOCOL ***Table)
INTN EFIAPI DevPathCompareDefault(IN EFI_DEVICE_PATH_PROTOCOL *DevicePath1, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath2)
EFI_STATUS DevPathSerialFibre(IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath)
EFI_STATUS DevPathSerialDefault(IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath)
EFI_STATUS DevPathSerialUart(IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath)
EFI_STATUS DevPathSerialMacAddr(IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath)
EFI_STATUS DevPathSerialIScsi(IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath)
EFI_STATUS DevPathSerialUsb(IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath)
EFI_STATUS DevPathSerialSata(IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath)
EFI_STATUS DevPathSerialHardDrive(IN EFI_DEVICE_PATH_PROTOCOL *DevicePathNode, IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath)
EFI_DEVICE_PATH_PROTOCOL * GetHIDevicePath(IN EFI_DEVICE_PATH_PROTOCOL *DevicePath)
EFI_STATUS GetDeviceConsistMappingInfo(IN DEVICE_CONSIST_MAPPING_INFO *MappingItem, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath)
#define HARDWARE_DEVICE_PATH
#define MSG_INFINIBAND_DP
#define MSG_DEVICE_LOGICAL_UNIT_DP
#define MEDIA_HARDDRIVE_DP
#define MESSAGING_DEVICE_PATH
#define MEDIA_VENDOR_DP
Media vendor device path subtype.
#define MSG_FIBRECHANNEL_DP
UINT8 EFIAPI DevicePathType(IN CONST VOID *Node)
UINTN EFIAPI DevicePathNodeLength(IN CONST VOID *Node)
UINT8 EFIAPI DevicePathSubType(IN CONST VOID *Node)
EFI_DEVICE_PATH_PROTOCOL *EFIAPI AppendDevicePathNode(IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath OPTIONAL, IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePathNode OPTIONAL)
BOOLEAN EFIAPI IsDevicePathEnd(IN CONST VOID *Node)
EFI_DEVICE_PATH_PROTOCOL *EFIAPI NextDevicePathNode(IN CONST VOID *Node)
EFI_DEVICE_PATH_PROTOCOL *EFIAPI DevicePathFromHandle(IN EFI_HANDLE Handle)
VOID EFIAPI SetDevicePathEndNode(OUT VOID *Node)
VOID *EFIAPI ReallocatePool(IN UINTN OldSize, IN UINTN NewSize, IN VOID *OldBuffer OPTIONAL)
VOID *EFIAPI AllocateZeroPool(IN UINTN AllocationSize)
VOID EFIAPI FreePool(IN VOID *Buffer)
UINTN EFIAPI UnicodeVSPrint(OUT CHAR16 *StartOfBuffer, IN UINTN BufferSize, IN CONST CHAR16 *FormatString, IN VA_LIST Marker)
UINTN EFIAPI UnicodeSPrint(OUT CHAR16 *StartOfBuffer, IN UINTN BufferSize, IN CONST CHAR16 *FormatString,...)
#define VA_START(Marker, Parameter)
#define ASSERT_EFI_ERROR(StatusParameter)
#define PcdGet32(TokenName)
#define PcdGetBool(TokenName)
SHELL_MAP_LIST gShellMapList
List of Mappings - DeviceName and Drive Letter(ism).
VOID EFIAPI PerformQuickSort(IN OUT VOID *BufferToSort, IN CONST UINTN Count, IN CONST UINTN ElementSize, IN SORT_COMPARE CompareFunction)
INTN EFIAPI DevicePathCompare(IN CONST VOID *Buffer1, IN CONST VOID *Buffer2)
CHAR16 *EFIAPI CatSPrint(IN CHAR16 *String OPTIONAL, IN CONST CHAR16 *FormatString,...)
#define USB_MASS_STORE_8020I
SFF-8020i, typically a CD/DVD device.
#define USB_MASS_STORE_8070I
SFF-8070i, typically a floppy disk driver device.
#define USB_MASS_STORE_UFI
Typically a floppy disk driver device.
#define USB_MASS_STORE_SCSI
SCSI transparent command set.
EFI_IPv4_ADDRESS LocalIpAddress
EFI_IPv4_ADDRESS RemoteIpAddress
EFI_IPv6_ADDRESS LocalIpAddress
EFI_IPv6_ADDRESS RemoteIpAddress
UINT16 TargetPortalGroupTag
EFI_MAC_ADDRESS MacAddress
UINT16 RelativeTargetPort
UINT16 PortMultiplierPortNumber