stdio: Added LOG_ specifiers to all prints
Signed-off-by: Michael Shaw <spencershawiscool@gmail.com>
This commit is contained in:
parent
25abb1f0f5
commit
92396db851
6 changed files with 21 additions and 12 deletions
|
|
@ -18,12 +18,12 @@ int serial_init()
|
|||
|
||||
outb(COM1 | 0, 0xAE); /* Enable loopback mode */
|
||||
if (inb(COM1 | 0) != 0xAE) { /* Loopback test */
|
||||
printf("Serial COM1 loopback test failed\n");
|
||||
printf(LOG_WARN "Serial COM1 loopback test failed\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
outb(COM1 | 4, 0x0F); /* Enter normal operation */
|
||||
printf("Serial COM1 initialized\n");
|
||||
printf(LOG_SUCCESS "Serial COM1 initialized\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue