Changeset 96b02eb9 in mainline for kernel/generic/include/ipc/sysipc.h


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/include/ipc/sysipc.h

    r554debd r96b02eb9  
    4040#include <typedefs.h>
    4141
    42 extern unative_t sys_ipc_call_sync_fast(unative_t phoneid, unative_t method,
    43     unative_t arg1, unative_t arg2, unative_t arg3, ipc_data_t *data);
    44 extern unative_t sys_ipc_call_sync_slow(unative_t phoneid, ipc_data_t *question,
     42extern sysarg_t sys_ipc_call_sync_fast(sysarg_t phoneid, sysarg_t method,
     43    sysarg_t arg1, sysarg_t arg2, sysarg_t arg3, ipc_data_t *data);
     44extern sysarg_t sys_ipc_call_sync_slow(sysarg_t phoneid, ipc_data_t *question,
    4545    ipc_data_t *reply);
    46 extern unative_t sys_ipc_call_async_fast(unative_t phoneid, unative_t method,
    47     unative_t arg1, unative_t arg2, unative_t arg3, unative_t arg4);
    48 extern unative_t sys_ipc_call_async_slow(unative_t phoneid, ipc_data_t *data);
    49 extern unative_t sys_ipc_answer_fast(unative_t callid, unative_t retval,
    50     unative_t arg1, unative_t arg2, unative_t arg3, unative_t arg4);
    51 extern unative_t sys_ipc_answer_slow(unative_t callid, ipc_data_t *data);
    52 extern unative_t sys_ipc_wait_for_call(ipc_data_t *calldata, uint32_t usec,
     46extern sysarg_t sys_ipc_call_async_fast(sysarg_t phoneid, sysarg_t method,
     47    sysarg_t arg1, sysarg_t arg2, sysarg_t arg3, sysarg_t arg4);
     48extern sysarg_t sys_ipc_call_async_slow(sysarg_t phoneid, ipc_data_t *data);
     49extern sysarg_t sys_ipc_answer_fast(sysarg_t callid, sysarg_t retval,
     50    sysarg_t arg1, sysarg_t arg2, sysarg_t arg3, sysarg_t arg4);
     51extern sysarg_t sys_ipc_answer_slow(sysarg_t callid, ipc_data_t *data);
     52extern sysarg_t sys_ipc_wait_for_call(ipc_data_t *calldata, uint32_t usec,
    5353    unsigned int nonblocking);
    54 extern unative_t sys_ipc_poke(void);
    55 extern unative_t sys_ipc_forward_fast(unative_t callid, unative_t phoneid,
    56     unative_t method, unative_t arg1, unative_t arg2, unsigned int mode);
    57 extern unative_t sys_ipc_forward_slow(unative_t callid, unative_t phoneid,
     54extern sysarg_t sys_ipc_poke(void);
     55extern sysarg_t sys_ipc_forward_fast(sysarg_t callid, sysarg_t phoneid,
     56    sysarg_t method, sysarg_t arg1, sysarg_t arg2, unsigned int mode);
     57extern sysarg_t sys_ipc_forward_slow(sysarg_t callid, sysarg_t phoneid,
    5858    ipc_data_t *data, unsigned int mode);
    59 extern unative_t sys_ipc_hangup(unative_t phoneid);
    60 extern unative_t sys_ipc_register_irq(inr_t inr, devno_t devno, unative_t method,
     59extern sysarg_t sys_ipc_hangup(sysarg_t phoneid);
     60extern sysarg_t sys_ipc_register_irq(inr_t inr, devno_t devno, sysarg_t method,
    6161    irq_code_t *ucode);
    62 extern unative_t sys_ipc_unregister_irq(inr_t inr, devno_t devno);
    63 extern unative_t sys_ipc_connect_kbox(sysarg64_t *task_id);
     62extern sysarg_t sys_ipc_unregister_irq(inr_t inr, devno_t devno);
     63extern sysarg_t sys_ipc_connect_kbox(sysarg64_t *task_id);
    6464
    6565#endif
Note: See TracChangeset for help on using the changeset viewer.