hw_x86_64: Reserve space for TSS in mtc region

This commit is contained in:
Reto Buerki 2015-02-26 20:43:00 +01:00 committed by Christian Helmuth
parent 34a25d3160
commit b9fe4a8d48
1 changed files with 10 additions and 0 deletions

View File

@ -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 **