stdio: add vsnprintf and change printf to kprintf
This commit is contained in:
parent
05c528f64c
commit
0395b65ad8
21 changed files with 102 additions and 186 deletions
|
|
@ -33,7 +33,7 @@ void pic_eoi(uint8_t irq)
|
|||
|
||||
void exception(int vector, int error)
|
||||
{
|
||||
printf(LOG_WARN "EXCEPTION: %x, error code: %d\n", vector, error);
|
||||
kprintf(LOG_WARN "EXCEPTION: %x, error code: %d\n", vector, error);
|
||||
}
|
||||
|
||||
void pic_init()
|
||||
|
|
@ -63,5 +63,5 @@ void pic_init()
|
|||
outb(PIC2_DATA, mask2);
|
||||
|
||||
pic_eoi(15);
|
||||
printf(LOG_SUCCESS "8259 PIC initialized\n");
|
||||
kprintf(LOG_SUCCESS "8259 PIC initialized\n");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue