Ignore:
Timestamp:
Dec 5, 2017, 4:20:07 PM (4 years ago)
Author:
alain
Message:

Fix several bugs in the fork() syscall.

Location:
trunk/hal/tsar_mips32/drivers
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/hal/tsar_mips32/drivers/soclib_bdv.c

    r407 r408  
    133133    {
    134134        thread_block( CURRENT_THREAD , THREAD_BLOCKED_DEV_ISR );
    135         sched_yield();
     135        sched_yield("blocked on ISR");
    136136
    137137        // the IO operation status is reported in the command by the ISR
  • trunk/hal/tsar_mips32/drivers/soclib_dma.c

    r407 r408  
    9191    // Block and deschedule server thread
    9292    thread_block( CURRENT_THREAD , THREAD_BLOCKED_DEV_ISR );
    93     sched_yield();
     93    sched_yield("blocked on ISR");
    9494   
    9595} // soclib_dma_cmd()
  • trunk/hal/tsar_mips32/drivers/soclib_hba.c

    r407 r408  
    197197            else                                // retry if asynchronous access.
    198198            {
    199                 sched_yield();
     199                sched_yield( "blocked on ISR" );
    200200            }
    201201        }
     
    240240    {
    241241        thread_block( CURRENT_THREAD , THREAD_BLOCKED_DEV_ISR );
    242         sched_yield();
     242        sched_yield( "blocked on ISR" );
    243243    }
    244244           
  • trunk/hal/tsar_mips32/drivers/soclib_tty.c

    r407 r408  
    113113    // Block and deschedule server thread
    114114    thread_block( CURRENT_THREAD , THREAD_BLOCKED_DEV_ISR );
    115     sched_yield();
     115    sched_yield("blocked on ISR");
    116116
    117117txt_dmsg("\n[DBG] %s : core[%x,%d] / DEV thread resume / cycle %d\n",
Note: See TracChangeset for help on using the changeset viewer.