From b9fe4a8d48ec825237db92b218c60418dd938efd Mon Sep 17 00:00:00 2001 From: Reto Buerki Date: Thu, 26 Feb 2015 20:43:00 +0100 Subject: [PATCH] hw_x86_64: Reserve space for TSS in mtc region --- repos/base-hw/src/core/spec/x86_64/mode_transition.s | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 9c239bee3..ce39aa107 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 @@ -247,6 +247,16 @@ _mt_idt: .space 1 << MIN_PAGE_SIZE_LOG2 + /*********************************************** + ** Space for 64-bit Task State Segment (TSS) ** + ** See Intel SDM Vol. 3A, section 7.7 ** + ***********************************************/ + + .global _mt_tss + .align 8 + _mt_tss: + .space 104 + /****************************************** ** Global Descriptor Table (GDT) ** ** See Intel SDM Vol. 3A, section 3.5.1 **