Changeset 296 for trunk/kernel/mm


Ignore:
Timestamp:
Jul 31, 2017, 1:59:52 PM (7 years ago)
Author:
alain
Message:

Several modifs in the generic scheduler and in the hal_context to
fix the context switch mechanism.

Location:
trunk/kernel/mm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/mm/mapper.c

    r279 r296  
    248248
    249249                // deschedule
    250                 sched_yield();
     250                sched_yield( NULL );
    251251            }
    252252        }
  • trunk/kernel/mm/page.c

    r238 r296  
    181181                // deschedule the calling thread
    182182                thread_block( thread , THREAD_BLOCKED_PAGE );
    183                 sched_yield();
     183                sched_yield( NULL );
    184184        }
    185185        else                                    // page is not locked
Note: See TracChangeset for help on using the changeset viewer.