Changeset 8c52f66 in mainline for contrib/arch/kernel/kernel.adl


Ignore:
Timestamp:
2009-09-11T16:21:29Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2ac62cf
Parents:
e8e2ae1
Message:

simplify and add missing protocols

File:
1 edited

Legend:

Unmodified
Added
Removed
  • contrib/arch/kernel/kernel.adl

    re8e2ae1 r8c52f66  
    77                unative_t sys_klog(int fd, const void *buf, size_t size);
    88        protocol:
    9                 sys_klog*
     9                ?sys_klog*
    1010};
    1111
     
    1717                uintptr_t sys_debug_disable_console(void);
    1818        protocol:
    19                 (sys_debug_enable_console + sys_debug_disable_console)*
     19                (?sys_debug_enable_console + ?sys_debug_disable_console)*
    2020};
    2121
     
    2424                unative_t sys_tls_set(unative_t addr);
    2525        protocol:
    26                 sys_tls_set*
     26                ?sys_tls_set*
    2727};
    2828
     
    3737                unative_t sys_thread_get_id(thread_id_t *uspace_thread_id);
    3838        protocol:
    39                 (sys_thread_create + sys_thread_get_id)* ; sys_thread_exit
     39                (?sys_thread_create + ?sys_thread_get_id)* ; ?sys_thread_exit
    4040};
    4141
     
    4747                unative_t sys_task_get_id(task_id_t *uspace_task_id);
    4848        protocol:
    49                 (sys_task_set_name + sys_task_get_id)*
     49                (?sys_task_set_name + ?sys_task_get_id)*
    5050};
    5151
     
    5454                unative_t sys_program_spawn_loader(char *uspace_name, size_t name_len);
    5555        protocol:
    56                 sys_program_spawn_loader*
     56                ?sys_program_spawn_loader*
    5757};
    5858
     
    6464                unative_t sys_futex_wakeup(uintptr_t uaddr);
    6565        protocol:
    66                 (sys_futex_sleep_timeout + sys_futex_wakeup)*
     66                (?sys_futex_sleep_timeout + ?sys_futex_wakeup)*
    6767};
    6868
     
    7171                unative_t sys_smc_coherence(uintptr_t va, size_t size);
    7272        protocol:
    73                 sys_smc_coherence*
     73                ?sys_smc_coherence*
    7474};
    7575
     
    8787                unative_t sys_as_area_destroy(uintptr_t address);
    8888        protocol:
    89                 (sys_as_area_create + sys_as_area_resize + sys_as_area_change_flags + sys_as_area_destroy)*
     89                (?sys_as_area_create + ?sys_as_area_resize + ?sys_as_area_change_flags + ?sys_as_area_destroy)*
    9090};
    9191
     
    124124                unative_t sys_ipc_poke(void);
    125125        protocol:
    126                 (sys_ipc_call_sync_fast + sys_ipc_call_sync_slow + sys_ipc_call_async_fast + sys_ipc_call_async_slow + sys_ipc_forward_fast + sys_ipc_forward_slow + sys_ipc_answer_fast + sys_ipc_answer_slow + sys_ipc_hangup + sys_ipc_wait_for_call + sys_ipc_poke)*
     126                (?sys_ipc_call_sync_fast + ?sys_ipc_call_sync_slow + ?sys_ipc_call_async_fast + ?sys_ipc_call_async_slow + ?sys_ipc_forward_fast + ?sys_ipc_forward_slow + ?sys_ipc_answer_fast + ?sys_ipc_answer_slow + ?sys_ipc_hangup + ?sys_ipc_wait_for_call + ?sys_ipc_poke)*
    127127};
    128128
     
    131131                unative_t sys_event_subscribe(unative_t evno, unative_t method);
    132132        protocol:
    133                 sys_event_subscribe*
     133                ?sys_event_subscribe*
    134134};
    135135
     
    141141                unative_t sys_cap_revoke(sysarg64_t *uspace_taskid_arg, cap_t caps);
    142142        protocol:
    143                 (sys_cap_grant + sys_cap_rewoke)*
     143                (?sys_cap_grant + ?sys_cap_rewoke)*
    144144};
    145145
     
    163163                unative_t sys_ipc_unregister_irq(inr_t inr, devno_t devno);
    164164        protocol:
    165                 (sys_enable_iospace + sys_physmem_map + sys_device_assign_devno + sys_preempt_control + sys_ipc_register_irq + sys_ipc_unregister_irq)*
     165                (?sys_enable_iospace + ?sys_physmem_map + ?sys_device_assign_devno + ?sys_preempt_control + ?sys_ipc_register_irq + ?sys_ipc_unregister_irq)*
    166166};
    167167
     
    173173                unative_t sys_sysinfo_value(unatice_t ptr, unative_t len);
    174174        protocol:
    175                 (sys_sysinfo_valid + sys_sysinfo_value)*
     175                (?sys_sysinfo_valid + ?sys_sysinfo_value)*
    176176};
    177177
     
    180180                unative_t sys_ipc_connect_kbox(sysarg64_t *uspace_taskid_arg);
    181181        protocol:
    182                 sys_ipc_connect_kbox*
     182                ?sys_ipc_connect_kbox*
    183183};
    184184
     
    261261        delegate kernel_task to kernel_proc:kernel_task;
    262262        delegate kernel_program to kernel_proc:kernel_program;
     263        delegate kernel_futex to kernel_synch:kernel_futex;
     264        delegate kernel_smc to kernel_synch:kernel_smc;
    263265        delegate kernel_as to kernel_mm:kernel_as;
    264266        delegate kernel_ipc to kernel_ipc:kernel_sys;
Note: See TracChangeset for help on using the changeset viewer.