|
PatchworkOS
a7b3d61
A non-POSIX operating system.
|
EISA ID to string and vice versa conversion. More...
EISA ID to string and vice versa conversion.
Functions | |
| uint64_t | aml_eisa_id_from_string (const char *str) |
| Convert a string EISA ID to a numeric EISA ID. | |
| uint64_t | aml_eisa_id_to_string (uint32_t eisaId, char *buffer, size_t bufferSize) |
| Convert a numeric EISA ID to a string EISA ID. | |
| uint64_t aml_eisa_id_from_string | ( | const char * | str | ) |
Convert a string EISA ID to a numeric EISA ID.
The conversion rules for EISA were derived from section 19.3.4 ASL Macros of the ACPI specification.
| str | Pointer to the string EISA ID. Must be 7 characters long. |
ERR and errno is set. Definition at line 8 of file eisa_id.c.
Convert a numeric EISA ID to a string EISA ID.
The conversion rules for EISA were derived from section 19.3.4 ASL Macros of the ACPI specification.
| eisaId | The numeric EISA ID. |
| buffer | Pointer to a buffer to write the string EISA ID to. Must be at least 8 bytes long. |
| bufferSize | The size of the buffer in bytes. |
0. On failure, ERR and errno is set. Definition at line 56 of file eisa_id.c.