summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
diff options
context:
space:
mode:
authorian <ian>2023-07-08 00:02:21 +0000
committerian <ian>2023-07-08 00:02:21 +0000
commitc7aa4d882ff6b1eb1e3c19bdfd772057817ff10c (patch)
treec6e7e6a9b82299b6e475dfbf01fdcdfa66d49674 /sys/arch/amd64
parent5f66cd9e42a92638cd215fe28e9dcf4ff30cb402 (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/arch/amd64')
-rw-r--r--sys/arch/amd64/machdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arch/amd64/machdep.c b/sys/arch/amd64/machdep.c
index dd2cdc7..747d23a 100644
--- a/sys/arch/amd64/machdep.c
+++ b/sys/arch/amd64/machdep.c
@@ -63,6 +63,6 @@ processor_halt(void)
__weak void
processor_init(struct processor *processor)
{
- gdt_load(processor->gdtr);
+ gdt_load(processor->machdep.gdtr);
interrupts_init(processor);
}