kernel/eka/nkernsmp/x86/vectors.cpp
branchRCL_3
changeset 43 c1f20ce4abcf
parent 0 a41df078684a
child 44 3e88ff8f41d5
--- a/kernel/eka/nkernsmp/x86/vectors.cpp	Thu Aug 19 11:14:22 2010 +0300
+++ b/kernel/eka/nkernsmp/x86/vectors.cpp	Tue Aug 31 16:34:26 2010 +0300
@@ -86,11 +86,11 @@
 	{
 	TLinAddr a = 0;
 	if (aCpu>=0 && aCpu<KMaxCpus)
-		a = TLinAddr(TheSubSchedulers[aCpu].i_IrqStackTop);
+		a = TLinAddr(TheSubSchedulers[aCpu].iSSX.iIrqStackTop);
 	else
 		{
 		TInt irq = NKern::DisableAllInterrupts();
-		a = TLinAddr(SubScheduler().i_IrqStackTop);
+		a = TLinAddr(SubScheduler().iSSX.iIrqStackTop);
 		NKern::RestoreInterrupts(irq);
 		}
 	return a;
@@ -150,9 +150,9 @@
 		SetTssDescriptor(&cp.iGdt[5+i], &cd.iTss);
 
 		TSubScheduler& ss = TheSubSchedulers[i];
-		ss.i_IrqNestCount = (TAny*)(-1);
-		ss.i_IrqStackTop = (TAny*)esp;
-		ss.i_Tss = &cd.iTss;
+		ss.iSSX.iIrqNestCount = (TLinAddr)(-1);
+		ss.iSSX.iIrqStackTop = (TLinAddr)esp;
+		ss.iSSX.iTss = &cd.iTss;
 		}
 
 	X86::DefaultCR0 = get_cr0();