diff options
author | ian <ian> | 2023-07-08 00:02:21 +0000 |
---|---|---|
committer | ian <ian> | 2023-07-08 00:02:21 +0000 |
commit | c7aa4d882ff6b1eb1e3c19bdfd772057817ff10c (patch) | |
tree | c6e7e6a9b82299b6e475dfbf01fdcdfa66d49674 /sys/kern/init_main.c | |
parent | 5f66cd9e42a92638cd215fe28e9dcf4ff30cb402 (diff) |
kernel/amd64: Abstract architecture specifics
git-svn-id: https://svn.vegaa.systems/svn/vega-Vega/trunk@9 a8a8aea2-181d-ee11-89e8-15fd0e089fc4
Diffstat (limited to 'sys/kern/init_main.c')
-rw-r--r-- | sys/kern/init_main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c index 2ae2a09..f4db156 100644 --- a/sys/kern/init_main.c +++ b/sys/kern/init_main.c @@ -40,8 +40,7 @@ __KERNEL_META("$Vega$: init_main.c, Ian Marco Moffett, " "Where the Vega kernel first starts up"); static struct processor bsp = { - .gdtr = &g_early_gdtr, - .gdt = &g_dmmy_gdt[0] + .machdep = DEFAULT_PROCESSOR_MACHDEP }; void |