HelenOS sources

sys_errno_t        71 kernel/generic/include/console/console.h extern sys_errno_t sys_kio(int cmd, uspace_addr_t buf, size_t size);
sys_errno_t        70 kernel/generic/include/ddi/ddi.h extern sys_errno_t sys_physmem_map(uintptr_t, size_t, unsigned int, uspace_ptr_uintptr_t,
sys_errno_t        72 kernel/generic/include/ddi/ddi.h extern sys_errno_t sys_physmem_unmap(uintptr_t);
sys_errno_t        74 kernel/generic/include/ddi/ddi.h extern sys_errno_t sys_dmamem_map(size_t, unsigned int, unsigned int, uspace_ptr_uintptr_t,
sys_errno_t        76 kernel/generic/include/ddi/ddi.h extern sys_errno_t sys_dmamem_unmap(uintptr_t, size_t, unsigned int);
sys_errno_t        78 kernel/generic/include/ddi/ddi.h extern sys_errno_t sys_iospace_enable(uspace_ptr_ddi_ioarg_t);
sys_errno_t        79 kernel/generic/include/ddi/ddi.h extern sys_errno_t sys_iospace_disable(uspace_ptr_ddi_ioarg_t);
sys_errno_t       102 kernel/generic/include/ipc/event.h extern sys_errno_t sys_ipc_event_subscribe(sysarg_t, sysarg_t);
sys_errno_t       103 kernel/generic/include/ipc/event.h extern sys_errno_t sys_ipc_event_unsubscribe(sysarg_t);
sys_errno_t       104 kernel/generic/include/ipc/event.h extern sys_errno_t sys_ipc_event_unmask(sysarg_t);
sys_errno_t        44 kernel/generic/include/ipc/sysipc.h extern sys_errno_t sys_ipc_call_async_fast(cap_phone_handle_t, sysarg_t,
sys_errno_t        46 kernel/generic/include/ipc/sysipc.h extern sys_errno_t sys_ipc_call_async_slow(cap_phone_handle_t, uspace_ptr_ipc_data_t,
sys_errno_t        48 kernel/generic/include/ipc/sysipc.h extern sys_errno_t sys_ipc_answer_fast(cap_call_handle_t, sysarg_t, sysarg_t,
sys_errno_t        50 kernel/generic/include/ipc/sysipc.h extern sys_errno_t sys_ipc_answer_slow(cap_call_handle_t, uspace_ptr_ipc_data_t);
sys_errno_t        51 kernel/generic/include/ipc/sysipc.h extern sys_errno_t sys_ipc_wait_for_call(uspace_ptr_ipc_data_t, uint32_t, unsigned int);
sys_errno_t        52 kernel/generic/include/ipc/sysipc.h extern sys_errno_t sys_ipc_poke(void);
sys_errno_t        53 kernel/generic/include/ipc/sysipc.h extern sys_errno_t sys_ipc_forward_fast(cap_call_handle_t, cap_phone_handle_t,
sys_errno_t        55 kernel/generic/include/ipc/sysipc.h extern sys_errno_t sys_ipc_forward_slow(cap_call_handle_t, cap_phone_handle_t,
sys_errno_t        57 kernel/generic/include/ipc/sysipc.h extern sys_errno_t sys_ipc_hangup(cap_phone_handle_t);
sys_errno_t        59 kernel/generic/include/ipc/sysipc.h extern sys_errno_t sys_ipc_irq_subscribe(inr_t, sysarg_t, uspace_ptr_irq_code_t,
sys_errno_t        61 kernel/generic/include/ipc/sysipc.h extern sys_errno_t sys_ipc_irq_unsubscribe(cap_irq_handle_t);
sys_errno_t        63 kernel/generic/include/ipc/sysipc.h extern sys_errno_t sys_ipc_connect_kbox(uspace_ptr_task_id_t, uspace_ptr_cap_phone_handle_t);
sys_errno_t        54 kernel/generic/include/log.h extern sys_errno_t sys_klog(sysarg_t, uspace_addr_t buf, size_t size,
sys_errno_t       377 kernel/generic/include/mm/as.h extern sys_errno_t sys_as_area_resize(uintptr_t, size_t, unsigned int);
sys_errno_t       378 kernel/generic/include/mm/as.h extern sys_errno_t sys_as_area_change_flags(uintptr_t, unsigned int);
sys_errno_t       379 kernel/generic/include/mm/as.h extern sys_errno_t sys_as_area_get_info(uintptr_t, uspace_ptr_as_area_info_t);
sys_errno_t       380 kernel/generic/include/mm/as.h extern sys_errno_t sys_as_area_destroy(uintptr_t);
sys_errno_t        70 kernel/generic/include/mm/page.h extern sys_errno_t sys_page_find_mapping(uintptr_t, uspace_ptr_uintptr_t);
sys_errno_t        62 kernel/generic/include/proc/program.h extern sys_errno_t sys_program_spawn_loader(uspace_ptr_char, size_t);
sys_errno_t       169 kernel/generic/include/proc/task.h extern sys_errno_t sys_task_get_id(uspace_ptr_sysarg64_t);
sys_errno_t       176 kernel/generic/include/proc/task.h extern sys_errno_t sys_task_set_name(uspace_ptr_const_char, size_t);
sys_errno_t       177 kernel/generic/include/proc/task.h extern sys_errno_t sys_task_kill(uspace_ptr_task_id_t);
sys_errno_t       178 kernel/generic/include/proc/task.h extern sys_errno_t sys_task_exit(sysarg_t);
sys_errno_t       300 kernel/generic/include/proc/thread.h extern sys_errno_t sys_thread_create(uspace_ptr_uspace_arg_t, uspace_ptr_char, size_t,
sys_errno_t       302 kernel/generic/include/proc/thread.h extern sys_errno_t sys_thread_exit(int);
sys_errno_t       303 kernel/generic/include/proc/thread.h extern sys_errno_t sys_thread_get_id(uspace_ptr_thread_id_t);
sys_errno_t       304 kernel/generic/include/proc/thread.h extern sys_errno_t sys_thread_usleep(uint32_t);
sys_errno_t       305 kernel/generic/include/proc/thread.h extern sys_errno_t sys_thread_udelay(uint32_t);
sys_errno_t        77 kernel/generic/include/security/perm.h extern sys_errno_t sys_perm_grant(uspace_ptr_sysarg64_t, perm_t);
sys_errno_t        78 kernel/generic/include/security/perm.h extern sys_errno_t sys_perm_revoke(uspace_ptr_sysarg64_t, perm_t);
sys_errno_t        84 kernel/generic/include/security/perm.h extern sys_errno_t sys_perm_grant(sysarg_t, perm_t);
sys_errno_t        85 kernel/generic/include/security/perm.h extern sys_errno_t sys_perm_revoke(sysarg_t, perm_t);
sys_errno_t        38 kernel/generic/include/synch/smc.h extern sys_errno_t sys_smc_coherence(uintptr_t, size_t);
sys_errno_t        48 kernel/generic/include/synch/syswaitq.h extern sys_errno_t sys_waitq_create(uspace_ptr_cap_waitq_handle_t);
sys_errno_t        49 kernel/generic/include/synch/syswaitq.h extern sys_errno_t sys_waitq_sleep(cap_waitq_handle_t, uint32_t, unsigned int);
sys_errno_t        50 kernel/generic/include/synch/syswaitq.h extern sys_errno_t sys_waitq_wakeup(cap_waitq_handle_t);
sys_errno_t        51 kernel/generic/include/synch/syswaitq.h extern sys_errno_t sys_waitq_destroy(cap_waitq_handle_t);
sys_errno_t       164 kernel/generic/include/sysinfo/sysinfo.h extern sys_errno_t sys_sysinfo_get_keys_size(uspace_addr_t, size_t, uspace_addr_t);
sys_errno_t       165 kernel/generic/include/sysinfo/sysinfo.h extern sys_errno_t sys_sysinfo_get_keys(uspace_addr_t, size_t, uspace_addr_t, size_t, uspace_ptr_size_t);
sys_errno_t       167 kernel/generic/include/sysinfo/sysinfo.h extern sys_errno_t sys_sysinfo_get_value(uspace_addr_t, size_t, uspace_addr_t);
sys_errno_t       168 kernel/generic/include/sysinfo/sysinfo.h extern sys_errno_t sys_sysinfo_get_data_size(uspace_addr_t, size_t, uspace_addr_t);
sys_errno_t       169 kernel/generic/include/sysinfo/sysinfo.h extern sys_errno_t sys_sysinfo_get_data(uspace_addr_t, size_t, uspace_addr_t, size_t, uspace_ptr_size_t);
sys_errno_t       346 kernel/generic/src/console/console.c sys_errno_t sys_kio(int cmd, uspace_addr_t buf, size_t size)
sys_errno_t       363 kernel/generic/src/console/console.c 		return (sys_errno_t) ELIMIT;
sys_errno_t       368 kernel/generic/src/console/console.c 			return (sys_errno_t) ENOMEM;
sys_errno_t       373 kernel/generic/src/console/console.c 			return (sys_errno_t) rc;
sys_errno_t       262 kernel/generic/src/ddi/ddi.c sys_errno_t sys_physmem_map(uintptr_t phys, size_t pages, unsigned int flags,
sys_errno_t       284 kernel/generic/src/ddi/ddi.c sys_errno_t sys_physmem_unmap(uintptr_t virt)
sys_errno_t       400 kernel/generic/src/ddi/ddi.c sys_errno_t sys_iospace_enable(uspace_ptr_ddi_ioarg_t uspace_io_arg)
sys_errno_t       405 kernel/generic/src/ddi/ddi.c 		return (sys_errno_t) rc;
sys_errno_t       407 kernel/generic/src/ddi/ddi.c 	return (sys_errno_t) iospace_enable((task_id_t) arg.task_id,
sys_errno_t       411 kernel/generic/src/ddi/ddi.c sys_errno_t sys_iospace_disable(uspace_ptr_ddi_ioarg_t uspace_io_arg)
sys_errno_t       416 kernel/generic/src/ddi/ddi.c 		return (sys_errno_t) rc;
sys_errno_t       418 kernel/generic/src/ddi/ddi.c 	return (sys_errno_t) iospace_disable((task_id_t) arg.task_id,
sys_errno_t       472 kernel/generic/src/ddi/ddi.c sys_errno_t sys_dmamem_map(size_t size, unsigned int map_flags, unsigned int flags,
sys_errno_t       530 kernel/generic/src/ddi/ddi.c sys_errno_t sys_dmamem_unmap(uintptr_t virt, size_t size, unsigned int flags)
sys_errno_t       339 kernel/generic/src/ipc/event.c sys_errno_t sys_ipc_event_subscribe(sysarg_t evno, sysarg_t imethod)
sys_errno_t       344 kernel/generic/src/ipc/event.c 	return (sys_errno_t) event_subscribe(evno2event(evno, TASK),
sys_errno_t       357 kernel/generic/src/ipc/event.c sys_errno_t sys_ipc_event_unsubscribe(sysarg_t evno)
sys_errno_t       362 kernel/generic/src/ipc/event.c 	return (sys_errno_t) event_unsubscribe(evno2event(evno, TASK),
sys_errno_t       379 kernel/generic/src/ipc/event.c sys_errno_t sys_ipc_event_unmask(sysarg_t evno)
sys_errno_t       369 kernel/generic/src/ipc/sysipc.c sys_errno_t sys_ipc_call_async_fast(cap_phone_handle_t handle, sysarg_t imethod,
sys_errno_t       421 kernel/generic/src/ipc/sysipc.c sys_errno_t sys_ipc_call_async_slow(cap_phone_handle_t handle, uspace_ptr_ipc_data_t data,
sys_errno_t       444 kernel/generic/src/ipc/sysipc.c 		return (sys_errno_t) rc;
sys_errno_t       483 kernel/generic/src/ipc/sysipc.c static sys_errno_t sys_ipc_forward_common(cap_call_handle_t chandle,
sys_errno_t       599 kernel/generic/src/ipc/sysipc.c sys_errno_t sys_ipc_forward_fast(cap_call_handle_t chandle,
sys_errno_t       624 kernel/generic/src/ipc/sysipc.c sys_errno_t sys_ipc_forward_slow(cap_call_handle_t chandle,
sys_errno_t       631 kernel/generic/src/ipc/sysipc.c 		return (sys_errno_t) rc;
sys_errno_t       654 kernel/generic/src/ipc/sysipc.c sys_errno_t sys_ipc_answer_fast(cap_call_handle_t chandle, sysarg_t retval,
sys_errno_t       702 kernel/generic/src/ipc/sysipc.c sys_errno_t sys_ipc_answer_slow(cap_call_handle_t chandle, uspace_ptr_ipc_data_t data)
sys_errno_t       747 kernel/generic/src/ipc/sysipc.c sys_errno_t sys_ipc_hangup(cap_phone_handle_t handle)
sys_errno_t       768 kernel/generic/src/ipc/sysipc.c sys_errno_t sys_ipc_wait_for_call(uspace_ptr_ipc_data_t calldata, uint32_t usec,
sys_errno_t       871 kernel/generic/src/ipc/sysipc.c sys_errno_t sys_ipc_poke(void)
sys_errno_t       889 kernel/generic/src/ipc/sysipc.c sys_errno_t sys_ipc_irq_subscribe(inr_t inr, sysarg_t imethod,
sys_errno_t       905 kernel/generic/src/ipc/sysipc.c sys_errno_t sys_ipc_irq_unsubscribe(cap_irq_handle_t handle)
sys_errno_t       920 kernel/generic/src/ipc/sysipc.c sys_errno_t sys_ipc_connect_kbox(uspace_ptr_task_id_t uspace_taskid,
sys_errno_t       940 kernel/generic/src/ipc/sysipc.c 	return (sys_errno_t) rc;
sys_errno_t       942 kernel/generic/src/ipc/sysipc.c 	return (sys_errno_t) ENOTSUP;
sys_errno_t       297 kernel/generic/src/log/log.c sys_errno_t sys_klog(sysarg_t operation, uspace_addr_t buf, size_t size,
sys_errno_t       304 kernel/generic/src/log/log.c 		return (sys_errno_t) ELIMIT;
sys_errno_t       310 kernel/generic/src/log/log.c 			return (sys_errno_t) ENOMEM;
sys_errno_t       315 kernel/generic/src/log/log.c 			return (sys_errno_t) rc;
sys_errno_t       329 kernel/generic/src/log/log.c 			return (sys_errno_t) ENOMEM;
sys_errno_t       370 kernel/generic/src/log/log.c 			return (sys_errno_t) rc;
sys_errno_t       378 kernel/generic/src/log/log.c 			return (sys_errno_t) rc;
sys_errno_t       383 kernel/generic/src/log/log.c 		return (sys_errno_t) ENOTSUP;
sys_errno_t      2122 kernel/generic/src/mm/as.c sys_errno_t sys_as_area_resize(uintptr_t address, size_t size, unsigned int flags)
sys_errno_t      2124 kernel/generic/src/mm/as.c 	return (sys_errno_t) as_area_resize(AS, address, size, 0);
sys_errno_t      2127 kernel/generic/src/mm/as.c sys_errno_t sys_as_area_change_flags(uintptr_t address, unsigned int flags)
sys_errno_t      2129 kernel/generic/src/mm/as.c 	return (sys_errno_t) as_area_change_flags(AS, flags, address);
sys_errno_t      2132 kernel/generic/src/mm/as.c sys_errno_t sys_as_area_get_info(uintptr_t address, uspace_ptr_as_area_info_t dest)
sys_errno_t      2158 kernel/generic/src/mm/as.c sys_errno_t sys_as_area_destroy(uintptr_t address)
sys_errno_t      2160 kernel/generic/src/mm/as.c 	return (sys_errno_t) as_area_destroy(AS, address);
sys_errno_t       217 kernel/generic/src/mm/page.c sys_errno_t sys_page_find_mapping(uintptr_t virt, uspace_ptr_uintptr_t phys_ptr)
sys_errno_t       225 kernel/generic/src/mm/page.c 	return (sys_errno_t) rc;
sys_errno_t       227 kernel/generic/src/proc/program.c sys_errno_t sys_program_spawn_loader(uspace_ptr_char uspace_name, size_t name_len)
sys_errno_t       236 kernel/generic/src/proc/program.c 		return (sys_errno_t) rc;
sys_errno_t       328 kernel/generic/src/proc/task.c sys_errno_t sys_task_get_id(uspace_ptr_sysarg64_t uspace_taskid)
sys_errno_t       334 kernel/generic/src/proc/task.c 	return (sys_errno_t) copy_to_uspace(uspace_taskid, &TASK->taskid,
sys_errno_t       368 kernel/generic/src/proc/task.c sys_errno_t sys_task_set_name(const uspace_ptr_char uspace_name, size_t name_len)
sys_errno_t       378 kernel/generic/src/proc/task.c 		return (sys_errno_t) rc;
sys_errno_t       407 kernel/generic/src/proc/task.c sys_errno_t sys_task_kill(uspace_ptr_task_id_t uspace_taskid)
sys_errno_t       412 kernel/generic/src/proc/task.c 		return (sys_errno_t) rc;
sys_errno_t       414 kernel/generic/src/proc/task.c 	return (sys_errno_t) task_kill(taskid);
sys_errno_t       609 kernel/generic/src/proc/task.c sys_errno_t sys_task_exit(sysarg_t notify)
sys_errno_t       952 kernel/generic/src/proc/thread.c sys_errno_t sys_thread_create(sysarg_t pc, sysarg_t sp,
sys_errno_t       961 kernel/generic/src/proc/thread.c 		return (sys_errno_t) rc;
sys_errno_t       971 kernel/generic/src/proc/thread.c 		return (sys_errno_t) ENOMEM;
sys_errno_t       982 kernel/generic/src/proc/thread.c 		return (sys_errno_t) ENOMEM;
sys_errno_t      1000 kernel/generic/src/proc/thread.c 	return (sys_errno_t) EOK;
sys_errno_t      1006 kernel/generic/src/proc/thread.c sys_errno_t sys_thread_exit(int uspace_status)
sys_errno_t      1019 kernel/generic/src/proc/thread.c sys_errno_t sys_thread_get_id(uspace_ptr_thread_id_t uspace_thread_id)
sys_errno_t      1026 kernel/generic/src/proc/thread.c 	return (sys_errno_t) copy_to_uspace(uspace_thread_id, &THREAD->tid,
sys_errno_t      1031 kernel/generic/src/proc/thread.c sys_errno_t sys_thread_usleep(uint32_t usec)
sys_errno_t      1037 kernel/generic/src/proc/thread.c sys_errno_t sys_thread_udelay(uint32_t usec)
sys_errno_t       160 kernel/generic/src/security/perm.c sys_errno_t sys_perm_grant(uspace_ptr_sysarg64_t uspace_taskid, perm_t perms)
sys_errno_t       165 kernel/generic/src/security/perm.c 		return (sys_errno_t) rc;
sys_errno_t       181 kernel/generic/src/security/perm.c sys_errno_t sys_perm_revoke(uspace_ptr_sysarg64_t uspace_taskid, perm_t perms)
sys_errno_t       186 kernel/generic/src/security/perm.c 		return (sys_errno_t) rc;
sys_errno_t       205 kernel/generic/src/security/perm.c sys_errno_t sys_perm_grant(sysarg_t taskid, perm_t perms)
sys_errno_t       221 kernel/generic/src/security/perm.c sys_errno_t sys_perm_revoke(sysarg_t taskid, perm_t perms)
sys_errno_t        45 kernel/generic/src/synch/smc.c sys_errno_t sys_smc_coherence(uintptr_t va, size_t size)
sys_errno_t        90 kernel/generic/src/synch/syswaitq.c sys_errno_t sys_waitq_create(uspace_ptr_cap_waitq_handle_t whandle)
sys_errno_t        94 kernel/generic/src/synch/syswaitq.c 		return (sys_errno_t) ENOMEM;
sys_errno_t       100 kernel/generic/src/synch/syswaitq.c 		return (sys_errno_t) ENOMEM;
sys_errno_t       109 kernel/generic/src/synch/syswaitq.c 		return (sys_errno_t) rc;
sys_errno_t       117 kernel/generic/src/synch/syswaitq.c 		return (sys_errno_t) rc;
sys_errno_t       122 kernel/generic/src/synch/syswaitq.c 	return (sys_errno_t) EOK;
sys_errno_t       131 kernel/generic/src/synch/syswaitq.c sys_errno_t sys_waitq_destroy(cap_waitq_handle_t whandle)
sys_errno_t       135 kernel/generic/src/synch/syswaitq.c 		return (sys_errno_t) ENOENT;
sys_errno_t       150 kernel/generic/src/synch/syswaitq.c sys_errno_t sys_waitq_sleep(cap_waitq_handle_t whandle, uint32_t timeout,
sys_errno_t       155 kernel/generic/src/synch/syswaitq.c 		return (sys_errno_t) ENOENT;
sys_errno_t       170 kernel/generic/src/synch/syswaitq.c 	return (sys_errno_t) rc;
sys_errno_t       179 kernel/generic/src/synch/syswaitq.c sys_errno_t sys_waitq_wakeup(cap_waitq_handle_t whandle)
sys_errno_t       183 kernel/generic/src/synch/syswaitq.c 		return (sys_errno_t) ENOENT;
sys_errno_t       188 kernel/generic/src/synch/syswaitq.c 	return (sys_errno_t) EOK;
sys_errno_t       833 kernel/generic/src/sysinfo/sysinfo.c sys_errno_t sys_sysinfo_get_keys_size(uspace_addr_t path_ptr, size_t path_size,
sys_errno_t       854 kernel/generic/src/sysinfo/sysinfo.c 	return (sys_errno_t) rc;
sys_errno_t       881 kernel/generic/src/sysinfo/sysinfo.c sys_errno_t sys_sysinfo_get_keys(uspace_addr_t path_ptr, size_t path_size,
sys_errno_t       901 kernel/generic/src/sysinfo/sysinfo.c 	return (sys_errno_t) rc;
sys_errno_t       952 kernel/generic/src/sysinfo/sysinfo.c sys_errno_t sys_sysinfo_get_value(uspace_addr_t path_ptr, size_t path_size,
sys_errno_t       971 kernel/generic/src/sysinfo/sysinfo.c 	return (sys_errno_t) rc;
sys_errno_t       988 kernel/generic/src/sysinfo/sysinfo.c sys_errno_t sys_sysinfo_get_data_size(uspace_addr_t path_ptr, size_t path_size,
sys_errno_t      1008 kernel/generic/src/sysinfo/sysinfo.c 	return (sys_errno_t) rc;
sys_errno_t      1038 kernel/generic/src/sysinfo/sysinfo.c sys_errno_t sys_sysinfo_get_data(uspace_addr_t path_ptr, size_t path_size,
sys_errno_t      1061 kernel/generic/src/sysinfo/sysinfo.c 	return (sys_errno_t) rc;
HelenOS homepage, sources at GitHub