X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=palacios%2Fsrc%2Fgeekos%2Ftss.c;h=69367119529b1373b2fad2c55b81e8ec6baaa8a2;hp=a94bc52899056ad1aba71aedef3a766c3524bdf2;hb=01e2bfdc462dbbe8d62b71c7e99e198c27844f0f;hpb=72a450936e2da159d5febe1e96475493badd9070 diff --git a/palacios/src/geekos/tss.c b/palacios/src/geekos/tss.c index a94bc52..6936711 100644 --- a/palacios/src/geekos/tss.c +++ b/palacios/src/geekos/tss.c @@ -1,7 +1,7 @@ /* * x86 TSS data structure and routines * Copyright (c) 2001,2004 David H. Hovemeyer - * $Revision: 1.1 $ + * $Revision: 1.2 $ * * This is free software. You are permitted to use, * redistribute, and modify it as specified in the file "COPYING". @@ -20,6 +20,8 @@ #include #include +#include + /* * We use one TSS in GeekOS. @@ -31,6 +33,7 @@ static ushort_t s_tssSelector; static void __inline__ Load_Task_Register(void) { + /* Critical: TSS must be marked as not busy */ s_tssDesc->type = 0x09;