summaryrefslogtreecommitdiff
path: root/kc/core/memory
diff options
context:
space:
mode:
authorAda Christine <adachristine18@gmail.com>2023-01-30 00:05:53 +0000
committerAda Christine <adachristine18@gmail.com>2023-01-30 00:05:53 +0000
commit798b1dc391f424868f5f4bac8937c191ed4716b8 (patch)
tree44269b4f29b8c6762657e12a02ac33063b665461 /kc/core/memory
parentfba7a0f3cde6217235663fcfb300b63cb8d7c2df (diff)
headers moved around
Diffstat (limited to 'kc/core/memory')
-rw-r--r--kc/core/memory/memory.c2
-rw-r--r--kc/core/memory/page_early.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/kc/core/memory/memory.c b/kc/core/memory/memory.c
index df48271..06c2942 100644
--- a/kc/core/memory/memory.c
+++ b/kc/core/memory/memory.c
@@ -11,7 +11,6 @@
#include "page_stack.h"
#include "memory.h"
-#include "kprint.h"
#include "panic.h"
#include "vm_object.h"
#include "cpu/mmu.h"
@@ -21,6 +20,7 @@
#include <kc.h>
#include <core/memory.h>
+#include <lib/kstdio.h>
#define align_next(x, a) (x + a - 1) & ~(a - 1)
diff --git a/kc/core/memory/page_early.c b/kc/core/memory/page_early.c
index 7f1d0eb..933f01b 100644
--- a/kc/core/memory/page_early.c
+++ b/kc/core/memory/page_early.c
@@ -1,7 +1,8 @@
#include "page_early.h"
-#include "kprint.h"
#include "panic.h"
+#include <lib/kstdio.h>
+
static struct page_early_state
{
struct memory_range *first;