Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 69114714 in mainline


Ignore:
Timestamp:
2012-02-12T12:46:52Z (10 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial
Children:
077bc5b9
Parents:
89b6a3b
Message:

Switching to the driver's address space will no longer be needed.

Location:
kernel/generic
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/ddi/irq.h

    r89b6a3b r69114714  
    134134        /** Notification configuration structure. */
    135135        ipc_notif_cfg_t notif_cfg;
    136        
    137         as_t *driver_as;
    138136} irq_t;
    139137
  • kernel/generic/src/ipc/irq.c

    r89b6a3b r69114714  
    174174        irq->notif_cfg.code = code;
    175175        irq->notif_cfg.counter = 0;
    176         irq->driver_as = AS;
    177176       
    178177        /*
     
    364363        if (!code)
    365364                return IRQ_DECLINE;
    366        
    367         as_t *current_as = AS;
    368         if (current_as != irq->driver_as)
    369                 as_switch(AS, irq->driver_as);
    370365       
    371366        for (size_t i = 0; i < code->cmdcount; i++) {
     
    455450        }
    456451       
    457         if (AS != current_as)
    458                 as_switch(AS, current_as);
    459        
    460452        return IRQ_DECLINE;
    461453}
Note: See TracChangeset for help on using the changeset viewer.