[srv.logger] Create new logger service

Split the functionality of outputting kernel logs out of the UART
driver, and into a new service. The UART driver now registers a console
out channel with the service locator, which the logger service
retrieves, and then enters a loop getting logs from the kernel and
printing them out to the console.
This commit is contained in:
Justin C. Miller
2022-02-28 20:31:50 -08:00
parent 17dcb961ec
commit b0c0dc53b1
4 changed files with 210 additions and 66 deletions

View File

@@ -4,4 +4,5 @@ programs:
- name: panic.serial
target: kernel
flags: panic
- name: srv.logger
- name: drv.uart