From ad56eb28f0614db4b7656ade390f1c79b446cbc9 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 10 Jul 2021 15:51:54 +0200 Subject: A20, E820h, Real Mode Emulation --- src/loader/inc/def.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/loader/inc/def.h') diff --git a/src/loader/inc/def.h b/src/loader/inc/def.h index a8ee30b..e42c372 100644 --- a/src/loader/inc/def.h +++ b/src/loader/inc/def.h @@ -28,6 +28,7 @@ typedef __builtin_va_list va_list; #define STRINGIFY_PARAM(a) #a #define STRINGIFY(a) STRINGIFY_PARAM(a) +#define REAL __attribute__((section(".realmode"))) #define PACKED __attribute__((packed)) #endif -- cgit v1.2.3