Changeset 8965838e in mainline for generic/src/proc/scheduler.c


Ignore:
Timestamp:
2006-03-15T12:21:56Z (19 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
97b64c9
Parents:
286e03d
Message:

ppc32: preemptive scheduling works now
FPU context saving disabled for now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/src/proc/scheduler.c

    r286e03d r8965838e  
    284284        if (atomic_get(&haltstate))
    285285                halt();
    286 
     286       
    287287        if (THREAD) {
    288288                spinlock_lock(&THREAD->lock);
     
    296296                        spinlock_unlock(&THREAD->lock);
    297297                        interrupts_restore(THREAD->saved_context.ipl);
     298                       
    298299                        return;
    299300                }
     
    343344{
    344345        int priority;
    345 
     346       
    346347        ASSERT(CPU != NULL);
    347 
     348       
    348349        if (THREAD) {
    349350                /* must be run after the switch to scheduler stack */
Note: See TracChangeset for help on using the changeset viewer.