summaryrefslogtreecommitdiff
path: root/src/kernel/arch/amd64/32/gdt.h
diff options
context:
space:
mode:
authordzwdz2022-07-17 14:39:45 +0200
committerdzwdz2022-07-17 14:39:45 +0200
commit51cbabd0f40b041fa00203266afa046d14e88b22 (patch)
tree75022bc959b32e72876dfe3449faecac6feb5caa /src/kernel/arch/amd64/32/gdt.h
parent4c10db944ca18c8001848c7e4e8ef51876bbe094 (diff)
amd64: remove dead code, combine shared code
Diffstat (limited to 'src/kernel/arch/amd64/32/gdt.h')
-rw-r--r--src/kernel/arch/amd64/32/gdt.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/kernel/arch/amd64/32/gdt.h b/src/kernel/arch/amd64/32/gdt.h
index fbaf681..4e08c88 100644
--- a/src/kernel/arch/amd64/32/gdt.h
+++ b/src/kernel/arch/amd64/32/gdt.h
@@ -14,4 +14,5 @@ enum {
};
void gdt_init(void);
-void gdt_farjump(int segment);
+
+extern struct lgdt_arg lgdt_arg; // used by amd64/32/boot.s