59 #define DEFINE_AML_GLOBALS
66 #define _COMPONENT ACPI_EXECUTER
72 #ifndef ACPI_NO_METHOD_EXECUTION
96 "Could not acquire AML Interpreter mutex"));
156 "Could not release AML Interpreter mutex"));
271 "Could not acquire Global Lock"));
310 "Could not release Global Lock"));
330 static u32 acpi_ex_digits_needed(
u64 value,
u32 base)
343 current_value =
value;
348 while (current_value) {
383 "Expected EISAID is larger than 32 bits: 0x%8.8X%8.8X, truncating",
394 (
char)(0x40 + (((
unsigned long)swapped_id >> 26) & 0x1F));
395 out_string[1] = (
char)(0x40 + ((swapped_id >> 21) & 0x1F));
396 out_string[2] = (
char)(0x40 + ((swapped_id >> 16) & 0x1F));
429 digits_needed = acpi_ex_digits_needed(value, 10);
430 out_string[digits_needed] = 0;
432 for (count = digits_needed; count > 0; count--) {
434 out_string[count - 1] = (
char)(
'0' + remainder);