From ed12953042ec38244f3ab93d67f4c2dea6f1fee3 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sun, 18 Jul 2021 14:16:24 +0200 Subject: move all kernel sources to src/kernel/ --- src/arch/generic.h | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 src/arch/generic.h (limited to 'src/arch/generic.h') 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 - -// 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(); -- cgit v1.2.3