Changeset cb4b61d in mainline for arch/ia32/src/userspace.c


Ignore:
Timestamp:
2005-04-17T18:09:26Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7eade45
Parents:
2968fe29
Message:

Added before_thread_runs() to cope with TSS of user space tasks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ia32/src/userspace.c

    r2968fe29 rcb4b61d  
    3939       
    4040        pri = cpu_priority_high();
    41        
    42         /*
    43          * Prepare TSS stack selector and pointers for next syscall.
    44          */
    45         CPU->arch.tss->esp0 = (__address) &THREAD->kstack[THREAD_STACK_SIZE-8];
    46         CPU->arch.tss->ss0 = selector(KDATA_DES);
    47        
     41
    4842        __asm__ volatile (""
    4943            "pushl %0\n"
Note: See TracChangeset for help on using the changeset viewer.