summaryrefslogtreecommitdiff
path: root/src/arch/generic.h
diff options
context:
space:
mode:
authordzwdz2021-07-18 14:16:24 +0200
committerdzwdz2021-07-18 14:16:24 +0200
commited12953042ec38244f3ab93d67f4c2dea6f1fee3 (patch)
tree7984f01c156535fb57104db9cbcf0f8a9112b7ed /src/arch/generic.h
parente333a43fb7c1e39418cfcc1be660d5006903c42a (diff)
move all kernel sources to src/kernel/
Diffstat (limited to 'src/arch/generic.h')
-rw-r--r--src/arch/generic.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/arch/generic.h b/src/arch/generic.h
deleted file mode 100644
index 4bed2fe..0000000
--- a/src/arch/generic.h
+++ /dev/null
@@ -1,17 +0,0 @@
-#pragma once
-
-#include <arch/log.h>
-
-// i have no idea where else to put it
-// some code assumes that it's a power of 2
-#define PAGE_SIZE 4096
-
-// src/arch/i386/boot.s
-extern void stack_top;
-
-__attribute__((noreturn))
-void halt_cpu();
-
-// src/arch/i386/sysenter.s
-void sysexit(void (*fun)(), void *stack_top);
-void sysenter_setup();