TianoCore EDK2 master
Loading...
Searching...
No Matches
AcpiHelperLib.h
Go to the documentation of this file.
1
8#ifndef ACPI_HELPER_LIB_H_
9#define ACPI_HELPER_LIB_H_
10
13#define IS_UPPER_CHAR(x) ((x >= 'A') && (x <= 'Z'))
14
17#define IS_DIGIT(x) ((x >= '0') && (x <= '9'))
18
21#define IS_UPPER_HEX(x) (((x >= 'A') && (x <= 'F')) || IS_DIGIT (x))
22
31UINT8
32EFIAPI
34 IN UINT8 Hex
35 );
36
46UINT8
47EFIAPI
49 IN CHAR8 Char
50 );
51
59BOOLEAN
61 IN CONST CHAR8 *Hid
62 );
63
71BOOLEAN
73 IN CONST CHAR8 *Hid
74 );
75
87EFIAPI
89 IN CONST CHAR8 *EisaIdStr,
90 OUT UINT32 *EisaIdInt
91 );
92
93#endif // ACPI_HELPER_LIB_H_
EFI_STATUS EFIAPI AmlGetEisaIdFromString(IN CONST CHAR8 *EisaIdStr, OUT UINT32 *EisaIdInt)
Definition: AcpiHelper.c:155
BOOLEAN IsValidAcpiId(IN CONST CHAR8 *Hid)
Definition: AcpiHelper.c:115
UINT8 EFIAPI AsciiFromHex(IN UINT8 Hex)
Definition: AcpiHelper.c:25
BOOLEAN IsValidPnpId(IN CONST CHAR8 *Hid)
Definition: AcpiHelper.c:80
UINT8 EFIAPI HexFromAscii(IN CHAR8 Char)
Definition: AcpiHelper.c:52
#define CONST
Definition: Base.h:259
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29