30 return (UINT8)(Hex +
'0');
34 return (UINT8)(Hex - 10 +
'A');
56 if ((Char >=
'0') && (Char <=
'9')) {
57 return (UINT8)(Char -
'0');
60 if ((Char >=
'A') && (Char <=
'F')) {
61 return (UINT8)(Char -
'A' + 10);
64 if ((Char >=
'a') && (Char <=
'f')) {
65 return (UINT8)(Char -
'a' + 10);
92 for (Index = 0; Index < 3; Index++) {
98 for (Index = 3; Index < 7; Index++) {
128 for (Index = 0; Index < 4; Index++) {
134 for (Index = 4; Index < 8; Index++) {
157 OUT UINT32 *EisaIdInt
160 if ((EisaIdStr ==
NULL) ||
165 return EFI_INVALID_PARAMETER;
201 ((EisaIdStr[0] - 0x40) << 26) |
202 ((EisaIdStr[1] - 0x40) << 21) |
203 ((EisaIdStr[2] - 0x40) << 16) |
EFI_STATUS EFIAPI AmlGetEisaIdFromString(IN CONST CHAR8 *EisaIdStr, OUT UINT32 *EisaIdInt)
BOOLEAN IsValidAcpiId(IN CONST CHAR8 *Hid)
UINT8 EFIAPI AsciiFromHex(IN UINT8 Hex)
BOOLEAN IsValidPnpId(IN CONST CHAR8 *Hid)
UINT8 EFIAPI HexFromAscii(IN CHAR8 Char)
UINTN EFIAPI AsciiStrLen(IN CONST CHAR8 *String)
UINT32 EFIAPI SwapBytes32(IN UINT32 Value)