Changeset f1380b7 in mainline for contrib/arch/kernel/kernel.adl


Ignore:
Timestamp:
2018-03-02T20:21:57Z (7 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
34e1206
Parents:
a35b458
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:51:04)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:21:57)
Message:

style: Remove trailing whitespace on _all_ lines, including empty ones, remaining files.

File:
1 edited

Legend:

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

    ra35b458 rf1380b7  
    1313                /* Enable kernel console */
    1414                sysarg_t sys_debug_enable_console(void);
    15                
     15
    1616                /* Disable kernel console */
    1717                sysarg_t sys_debug_disable_console(void);
     
    2626                /* Create new thread */
    2727                sysarg_t sys_thread_create(uspace_arg_t *uspace_uarg, char *uspace_name, size_t name_len, thread_id_t *uspace_thread_id);
    28                
     28
    2929                /* Terminate current thread */
    3030                sysarg_t sys_thread_exit(int uspace_status);
    31                
     31
    3232                /* Get current thread id */
    3333                sysarg_t sys_thread_get_id(thread_id_t *uspace_thread_id);
     
    4343                /* Set name fo the current task */
    4444                sysarg_t sys_task_set_name(const char *uspace_name, size_t name_len);
    45                
     45
    4646                /* Get current task id */
    4747                sysarg_t sys_task_get_id(task_id_t *uspace_task_id);
     
    6363                /* Sleep in a futex wait queue */
    6464                sysarg_t sys_futex_sleep_timeout(uintptr_t uaddr, uint32_t usec, int flags);
    65                
     65
    6666                /* Wakeup one thread waiting in futex wait queue */
    6767                sysarg_t sys_futex_wakeup(uintptr_t uaddr);
     
    8383                /* Create new address space area */
    8484                sysarg_t sys_as_area_create(uintptr_t address, size_t size, int flags);
    85                
     85
    8686                /* Resize an address space area */
    8787                sysarg_t sys_as_area_resize(uinptr_t address, size_t size, int flags);
    88                
     88
    8989                /* Change flags of an address space area */
    9090                sysarg_t sys_as_area_change_flags(uintptr_t address, int flags);
    91                
     91
    9292                /* Destroy an address space area */
    9393                sysarg_t sys_as_area_destroy(uintptr_t address);
     
    104104                /* Fast synchronous IPC call */
    105105                sysarg_t sys_ipc_call_sync_fast(sysarg_t phoneid, sysarg_t method, sysarg_t arg1, sysarg_t arg2, sysarg_t arg3, ipc_data_t *data);
    106                
     106
    107107                /* Slow synchronous IPC call */
    108108                sysarg_t sys_ipc_call_sync_slow(sysarg_t phoneid, ipc_data_t *question, ipc_data_t *answer);
    109                
     109
    110110                /* Fast asynchronous IPC call */
    111111                sysarg_t sys_ipc_call_async_fast(sysarg_t phoneid, sysarg_t method, sysarg_t arg1, sysarg_t arg2, sysarg_t arg3, sysarg_t arg4);
    112                
     112
    113113                /* Slow asynchronous IPC call */
    114114                sysarg_t sys_ipc_call_async_slow(sysarg_t phoneid, ipc_data_t *data);
    115                
     115
    116116                /* Fast forward a received IPC call to another destination */
    117117                sysarg_t sys_ipc_forward_fast(sysarg_t callid, sysarg_t phoneid, sysarg_t method, sysarg_t arg1, sysarg_t arg2, int mode);
    118                
     118
    119119                /* Slow forward a received IPC call to another destination */
    120120                sysarg_t sys_ipc_forward_slow(sysarg_t callid, sysarg_t phoneid, ipc_data_t *data, int mode);
    121                
     121
    122122                /* Fast answer an IPC call */
    123123                sysarg_t sys_ipc_answer_fast(sysarg_t callid, sysarg_t retval, sysarg_t arg1, sysarg_t arg2, sysarg_t arg3, sysarg_t arg4);
    124                
     124
    125125                /* Slow answer an IPC call */
    126126                sysarg_t sys_ipc_answer_slow(sysarg_t callid, ipc_data_t *data);
    127                
     127
    128128                /* Hang up a phone */
    129129                sysarg_t sys_ipc_hangup(int phoneid);
    130                
     130
    131131                /* Wait for an incoming IPC call or answer */
    132132                sysarg_t sys_ipc_wait_for_call(ipc_data_t *calldata, uint32_t usec, int flags);
    133                
     133
    134134                /* Interrupt one thread of the current task from waiting on IPC call */
    135135                sysarg_t sys_ipc_poke(void);
     
    162162                sysarg_t sys_cap_grant(sysarg64_t *uspace_taskid, cap_t caps);
    163163#endif
    164                
     164
    165165#ifdef __64_BITS__
    166166                sysarg_t sys_cap_grant(sysarg_t taskid, cap_t caps);
    167167#endif
    168                
     168
    169169                /* Revoke capabilities from a task */
    170170#ifdef __32_BITS__
    171171                sysarg_t sys_cap_revoke(sysarg64_t *uspace_taskid, cap_t caps);
    172172#endif
    173                
     173
    174174#ifdef __64_BITS__
    175175                sysarg_t sys_cap_revoke(sysarg_t taskid, cap_t caps);
     
    185185                /* Enable access I/O address space for the current task */
    186186                sysarg_t sys_enable_iospace(ddi_ioarg_t *uspace_io_arg);
    187                
     187
    188188                /* Map physical memory to the current task's address space */
    189189                sysarg_t sys_physmem_map(sysarg_t phys_base, sysarg_t virt_base, sysarg_t pages, sysarg_t flags);
    190                
     190
    191191                /* Enable or disable preemption */
    192192                sysarg_t sys_preempt_control(int enable);
    193                
     193
    194194                /* Assign unique device number */
    195195                sysarg_t sys_device_assign_devno(void);
    196                
     196
    197197                /* Connect an IRQ handler to the current task */
    198198                sysarg_t sys_register_irq(inr_t inr, devno_t devno, sysarg_t method, irq_code_t *ucode);
    199                
     199
    200200                /* Disconnect an IRQ handler from the current task */
    201201                sysarg_t sys_unregister_irq(inr_t inr, devno_t devno);
     
    214214                /* Check for sysinfo key validity */
    215215                sysarg_t sys_sysinfo_valid(sysarg_t ptr, sysarg_t len);
    216                
     216
    217217                /* Get sysinfo key value */
    218218                sysarg_t sys_sysinfo_value(unatice_t ptr, sysarg_t len);
     
    229229                sysarg_t sys_ipc_connect_kbox(sysarg64_t *uspace_taskid);
    230230#endif
    231                
     231
    232232#ifdef __64_BITS__
    233233                sysarg_t sys_ipc_connect_kbox(sysarg_t taskid);
     
    308308        inst sys_sysinfo sys_sysinfo;
    309309        inst sys_debug sys_debug;
    310        
     310
    311311        delegate sys_kio to sys_console:sys_kio;
    312312        delegate sys_console to sys_console:sys_console;
Note: See TracChangeset for help on using the changeset viewer.