aboutsummaryrefslogtreecommitdiff
path: root/sys/arch/amd64/gdt.c
diff options
context:
space:
mode:
authorian <ian>2023-07-28 08:43:09 +0000
committerian <ian>2023-07-28 08:43:09 +0000
commit01ed65f720a32e35d12c7f4d68297e3599157846 (patch)
tree94620eb25bdde9994834c2085a8c3b8f344f5bfd /sys/arch/amd64/gdt.c
parent1809fe87ad70cf537d110845dd57fdf20a6614fd (diff)
kernel: Cleanup arch abstraction layer
git-svn-id: https://svn.vegaa.systems/svn/vega-Vega/trunk@29 a8a8aea2-181d-ee11-89e8-15fd0e089fc4
Diffstat (limited to 'sys/arch/amd64/gdt.c')
-rw-r--r--sys/arch/amd64/gdt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/amd64/gdt.c b/sys/arch/amd64/gdt.c
index 446306a..cb32837 100644
--- a/sys/arch/amd64/gdt.c
+++ b/sys/arch/amd64/gdt.c
@@ -31,7 +31,7 @@
#include <machine/gdt.h>
-struct gdt_entry g_dmmy_gdt[256] = {
+struct gdt_entry g_gdt[256] = {
/* Null */
{0},
@@ -76,7 +76,7 @@ struct gdt_entry g_dmmy_gdt[256] = {
},
};
-struct gdtr g_early_gdtr = {
+struct gdtr g_gdtr = {
.limit = sizeof(struct gdt_entry) * 256 - 1,
- .offset = (uintptr_t)&g_dmmy_gdt[0]
+ .offset = (uintptr_t)&g_gdt[0]
};