summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kernel/cpu/idt.c3
-rw-r--r--kernel/memory/memory.c6
2 files changed, 5 insertions, 4 deletions
diff --git a/kernel/cpu/idt.c b/kernel/cpu/idt.c
index 250f939..8b4465f 100644
--- a/kernel/cpu/idt.c
+++ b/kernel/cpu/idt.c
@@ -110,7 +110,8 @@ char *EXCEPTIONS[] = {
"Reserved",
};
-void idt_exception_handler(uint64_t exception, uint64_t code, struct cpu_regs *state)
+void idt_exception_handler(uint64_t exception, uint64_t code,
+ struct cpu_regs *state)
{
uint64_t cr2;
diff --git a/kernel/memory/memory.c b/kernel/memory/memory.c
index 208001b..2d560f4 100644
--- a/kernel/memory/memory.c
+++ b/kernel/memory/memory.c
@@ -51,15 +51,15 @@ mem_ctx_t mem_ctx_alloc(void)
mem_ctx_t mem_ctx_clone(mem_ctx_t ctx, bool cow)
{
- (void) ctx;
- (void) cow;
+ (void)ctx;
+ (void)cow;
panic("not yet implemented");
}
void mem_ctx_free(mem_ctx_t ctx)
{
- (void) ctx;
+ (void)ctx;
panic("not yet implemented");
}