aboutsummaryrefslogtreecommitdiff
path: root/kernel/features/mm.c
diff options
context:
space:
mode:
authorMarvin Borner2021-03-19 23:09:54 +0100
committerMarvin Borner2021-03-19 23:09:54 +0100
commitc97a50ba7baa70b40431594f410ca18e14af3b76 (patch)
tree12366515d6989dcfc79ec3250558e381e29fb4eb /kernel/features/mm.c
parent63ed037fdbb04a4855531f5ce980d8517752f640 (diff)
Some things
Diffstat (limited to 'kernel/features/mm.c')
-rw-r--r--kernel/features/mm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/features/mm.c b/kernel/features/mm.c
index af5e070..01e21e7 100644
--- a/kernel/features/mm.c
+++ b/kernel/features/mm.c
@@ -34,6 +34,8 @@ extern void paging_invalidate_tlb(void);
void page_fault_handler(struct regs *r)
{
+ print("--- PAGE FAULT! ---\n");
+
// Check error code
const char *type = (r->err_code & 1) ? "present" : "non-present";
const char *operation = (r->err_code & 2) ? "write" : "read";