Subversion Repositories HelenOS

Rev

Rev 1866 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1866 Rev 1923
Line 634... Line 634...
634
           ipc_call_t *dataptr)
634
           ipc_call_t *dataptr)
635
{
635
{
636
    amsg_t *msg;
636
    amsg_t *msg;
637
 
637
 
638
    if (in_interrupt_handler) {
638
    if (in_interrupt_handler) {
639
        printf("Cannot send asynchronou request in interrupt handler.\n");
639
        printf("Cannot send asynchronous request in interrupt handler.\n");
640
        _exit(1);
640
        _exit(1);
641
    }
641
    }
642
 
642
 
643
    msg = malloc(sizeof(*msg));
643
    msg = malloc(sizeof(*msg));
644
    msg->done = 0;
644
    msg->done = 0;
Line 660... Line 660...
660
           ipcarg_t arg3, ipc_call_t *dataptr)
660
           ipcarg_t arg3, ipc_call_t *dataptr)
661
{
661
{
662
    amsg_t *msg;
662
    amsg_t *msg;
663
 
663
 
664
    if (in_interrupt_handler) {
664
    if (in_interrupt_handler) {
665
        printf("Cannot send asynchronou request in interrupt handler.\n");
665
        printf("Cannot send asynchronous request in interrupt handler.\n");
666
        _exit(1);
666
        _exit(1);
667
    }
667
    }
668
 
668
 
669
    msg = malloc(sizeof(*msg));
669
    msg = malloc(sizeof(*msg));
670
    msg->done = 0;
670
    msg->done = 0;