edited some printf messages
This commit is contained in:
parent
24a6a79b78
commit
249231e7ea
2 changed files with 3 additions and 2 deletions
|
|
@ -4,6 +4,7 @@
|
||||||
#define COL_RED_BLACK "\e[31;40m"
|
#define COL_RED_BLACK "\e[31;40m"
|
||||||
#define COL_YELLOW_BLACK "\e[33;40m"
|
#define COL_YELLOW_BLACK "\e[33;40m"
|
||||||
#define COL_GREEN_BLACK "\e[32;40m"
|
#define COL_GREEN_BLACK "\e[32;40m"
|
||||||
|
#define COL_MAGENTA_BLACK "\e[35;40m"
|
||||||
|
|
||||||
#define COL_RESET "\e[m"
|
#define COL_RESET "\e[m"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ void rsdt_print(struct rsdt *rsdt)
|
||||||
|
|
||||||
char buf[9];
|
char buf[9];
|
||||||
memcpy(buf, h->signature, 4);
|
memcpy(buf, h->signature, 4);
|
||||||
printf(LOG_INFO "[ACPI] %s %d %x \n", buf, h->revision,
|
printf(LOG_INFO "RSDT entry: %s %d %x \n", buf, h->revision,
|
||||||
h->checksum);
|
h->checksum);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -55,5 +55,5 @@ void acpi_init()
|
||||||
}
|
}
|
||||||
|
|
||||||
printf(LOG_INFO "ACPI version: %d\n", rsdp->revision);
|
printf(LOG_INFO "ACPI version: %d\n", rsdp->revision);
|
||||||
printf(LOG_INFO "ACPI initialized\n");
|
printf(LOG_SUCCESS "ACPI initialized\n");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue