Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 21 → Rev 22

/SPARTAN/trunk/arch/ia32/src/userspace.c
38,13 → 38,7
pri_t pri;
pri = cpu_priority_high();
/*
* Prepare TSS stack selector and pointers for next syscall.
*/
CPU->arch.tss->esp0 = (__address) &THREAD->kstack[THREAD_STACK_SIZE-8];
CPU->arch.tss->ss0 = selector(KDATA_DES);
 
__asm__ volatile (""
"pushl %0\n"
"pushl %1\n"