summaryrefslogtreecommitdiffhomepage
path: root/src/loader/a20.c
diff options
context:
space:
mode:
authorMarvin Borner2021-07-12 18:14:44 +0200
committerMarvin Borner2021-07-12 18:15:29 +0200
commit1b429c0fc28e5cd8b474ad5a1de1fa6f3d7c2e2a (patch)
tree593af3e3ec78795bb47553f492db07fb7e87e373 /src/loader/a20.c
parentd414d2f6f46bd425d727af5baae3e2658d6e1384 (diff)
Renamed files to match presentation
Diffstat (limited to 'src/loader/a20.c')
-rw-r--r--src/loader/a20.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/loader/a20.c b/src/loader/a20.c
index b59500a..ecb4594 100644
--- a/src/loader/a20.c
+++ b/src/loader/a20.c
@@ -4,8 +4,8 @@
#include <a20.h>
#include <cpu.h>
#include <def.h>
-#include <pnc.h>
-#include <rem.h>
+#include <panic.h>
+#include <real.h>
static u8 a20_check(void)
{
@@ -26,9 +26,9 @@ void a20_enable(void)
return;
// BIOS method
- struct rem_regs r = { 0 };
+ struct real_regs r = { 0 };
r.eax = 0x2401;
- rem_int(0x15, &r, &r);
+ real_int(0x15, &r, &r);
if (a20_check())
return;