Changeset 78ffb70 in mainline for kernel/generic/src/ddi/irq.c


Ignore:
Timestamp:
2010-12-19T14:14:47Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
be942bc, eff1f033
Parents:
40dc422
Message:

ipc_irq_register() and ipc_irq_unregister() should check for out-of-limit INRs
passed from userspace.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/ddi/irq.c

    r40dc422 r78ffb70  
    136136static size_t buckets;
    137137
     138/** Last valid INR. */
     139inr_t last_inr = 0;
     140
    138141/** Initialize IRQ subsystem.
    139142 *
     
    145148{
    146149        buckets = chains;
     150        last_inr = inrs - 1;
     151
    147152        /*
    148153         * Be smart about the choice of the hash table operations.
Note: See TracChangeset for help on using the changeset viewer.