8#ifndef ACPI_HELPER_LIB_H_
9#define ACPI_HELPER_LIB_H_
13#define IS_UPPER_CHAR(x) ((x >= 'A') && (x <= 'Z'))
17#define IS_DIGIT(x) ((x >= '0') && (x <= '9'))
21#define IS_UPPER_HEX(x) (((x >= 'A') && (x <= 'F')) || IS_DIGIT (x))
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)