Changeset 741fd16 in mainline for kernel/generic/src/ipc/sysipc.c


Ignore:
Timestamp:
2008-11-21T22:14:24Z (17 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
32e6c9c
Parents:
384c488
Message:

Stoppability sections must be much smaller (design error). Also fix deadlock in udebug_stop(). Fix pause functionality in tracer.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/ipc/sysipc.c

    r384c488 r741fd16  
    456456
    457457        if (!(res = request_preprocess(&call, phone))) {
     458#ifdef CONFIG_UDEBUG
     459                udebug_stoppable_begin();
     460#endif
    458461                rc = ipc_call_sync(phone, &call);
     462#ifdef CONFIG_UDEBUG
     463                udebug_stoppable_end();
     464#endif
    459465                if (rc != EOK)
    460466                        return rc;
    461467                process_answer(&call);
     468
    462469        } else {
    463470                IPC_SET_RETVAL(call.data, res);
     
    496503
    497504        if (!(res = request_preprocess(&call, phone))) {
     505#ifdef CONFIG_UDEBUG
     506                udebug_stoppable_begin();
     507#endif
    498508                rc = ipc_call_sync(phone, &call);
     509#ifdef CONFIG_UDEBUG
     510                udebug_stoppable_end();
     511#endif
    499512                if (rc != EOK)
    500513                        return rc;
     
    799812        call_t *call;
    800813
    801 restart:       
     814restart:
     815
     816#ifdef CONFIG_UDEBUG
     817        udebug_stoppable_begin();
     818#endif 
    802819        call = ipc_wait_for_call(&TASK->answerbox, usec,
    803820            flags | SYNCH_FLAGS_INTERRUPTIBLE);
     821
     822#ifdef CONFIG_UDEBUG
     823        udebug_stoppable_end();
     824#endif
    804825        if (!call)
    805826                return 0;
Note: See TracChangeset for help on using the changeset viewer.