Changeset 96b02eb9 in mainline for kernel/generic/src/ipc/irq.c


Ignore:
Timestamp:
2010-12-14T12:52:38Z (14 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6b10dab
Parents:
554debd
Message:

more unification of basic types

  • use sysarg_t and native_t (unsigned and signed variant) in both kernel and uspace
  • remove ipcarg_t in favour of sysarg_t

(no change in functionality)

File:
1 edited

Legend:

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

    r554debd r96b02eb9  
    140140 */
    141141int ipc_irq_register(answerbox_t *box, inr_t inr, devno_t devno,
    142     unative_t method, irq_code_t *ucode)
    143 {
    144         unative_t key[] = {
    145                 (unative_t) inr,
    146                 (unative_t) devno
     142    sysarg_t method, irq_code_t *ucode)
     143{
     144        sysarg_t key[] = {
     145                (sysarg_t) inr,
     146                (sysarg_t) devno
    147147        };
    148148       
     
    213213int ipc_irq_unregister(answerbox_t *box, inr_t inr, devno_t devno)
    214214{
    215         unative_t key[] = {
    216                 (unative_t) inr,
    217                 (unative_t) devno
     215        sysarg_t key[] = {
     216                (sysarg_t) inr,
     217                (sysarg_t) devno
    218218        };
    219219       
     
    290290                }
    291291               
    292                 unative_t key[2];
     292                sysarg_t key[2];
    293293                key[0] = irq->inr;
    294294                key[1] = irq->devno;
     
    465465 *
    466466 */
    467 void ipc_irq_send_msg(irq_t *irq, unative_t a1, unative_t a2, unative_t a3,
    468     unative_t a4, unative_t a5)
     467void ipc_irq_send_msg(irq_t *irq, sysarg_t a1, sysarg_t a2, sysarg_t a3,
     468    sysarg_t a4, sysarg_t a5)
    469469{
    470470        irq_spinlock_lock(&irq->lock, true);
Note: See TracChangeset for help on using the changeset viewer.