From afb827a96f9cee0c725dd8543f8b9c34209ddbe8 Mon Sep 17 00:00:00 2001 From: Adrian-Ken Rueegsegger Date: Fri, 3 Jul 2015 15:36:23 +0200 Subject: [PATCH] hw_x86_64: Restore kernel SS on MT entry --- repos/base-hw/src/core/spec/x86_64/mode_transition.s | 1 + 1 file changed, 1 insertion(+) diff --git a/repos/base-hw/src/core/spec/x86_64/mode_transition.s b/repos/base-hw/src/core/spec/x86_64/mode_transition.s index d8c651490f..52f1d1bc2e 100644 --- a/repos/base-hw/src/core/spec/x86_64/mode_transition.s +++ b/repos/base-hw/src/core/spec/x86_64/mode_transition.s @@ -170,6 +170,7 @@ /* Restore kernel segment registers */ mov $0x10, %rbx + mov %rbx, %ss mov %rbx, %ds mov %rbx, %es mov %rbx, %fs