[kernel] Clean up includes in kernel logger

Drive-by include fixup as I was looking into how to teach the bootloader
to store its logs in the kernel's log memory.
This commit is contained in:
Justin C. Miller
2024-08-18 19:41:41 -07:00
parent 1ebee17880
commit 81b331e5da
2 changed files with 2 additions and 3 deletions

View File

@@ -4,8 +4,6 @@
#include "kassert.h" #include "kassert.h"
#include "logger.h" #include "logger.h"
#include "objects/system.h"
#include "objects/thread.h"
// The logger is initialized _before_ global constructors are called, // The logger is initialized _before_ global constructors are called,
// so that we can start log output immediately. Keep its constructor // so that we can start log output immediately. Keep its constructor

View File

@@ -5,10 +5,11 @@
#include <stdarg.h> #include <stdarg.h>
#include <stdint.h> #include <stdint.h>
#include <j6/types.h>
#include <util/counted.h> #include <util/counted.h>
#include <util/spinlock.h> #include <util/spinlock.h>
#include "objects/event.h" #include "wait_queue.h"
enum class logs : uint8_t { enum class logs : uint8_t {
#define LOG(name, lvl) name, #define LOG(name, lvl) name,