[kernel] Simplify kernel logger

The logger had a lot of code that was due to it being in kutil instead
of the kernel. Simplifying it a bit here in order to make the uart
logger easier and eventual paring down of the logger easier.

- Log areas are no longer hashes of their names, just an enum
- Log level settings are no longer saved in 4 bits, just a byte
- System signal updating is done in the logger now
This commit is contained in:
Justin C. Miller
2022-01-15 09:57:08 -08:00
parent 11eef8d892
commit 7bb6b21c65
4 changed files with 72 additions and 120 deletions

View File

@@ -1,16 +1,16 @@
LOG(apic, info);
LOG(boot, debug);
LOG(clock, debug);
LOG(device, debug);
LOG(driver, info);
LOG(fs, info);
LOG(irq, info);
LOG(loader, debug);
LOG(memory, debug);
LOG(objs, debug);
LOG(paging, info);
LOG(sched, info);
LOG(syscall,info);
LOG(task, debug);
LOG(timer, debug);
LOG(vmem, debug);
LOG(apic, info)
LOG(boot, debug)
LOG(clock, debug)
LOG(device, debug)
LOG(driver, info)
LOG(fs, info)
LOG(irq, info)
LOG(loader, debug)
LOG(memory, debug)
LOG(objs, debug)
LOG(paging, info)
LOG(sched, info)
LOG(syscall,debug)
LOG(task, debug)
LOG(timer, debug)
LOG(vmem, debug)