source: mainline/kernel/generic/src/proc/task.c

Revision Log Mode:


Legend:

Added
Modified
Copied or renamed
Diff Rev Age Author Log Message
(edit) @0b5203b   6 years jakub Remove futex support from kernel lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @abf6c01   6 years zarevucky.jiri Add FRAME_ATOMIC to some allocations lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @88e43bc   6 years zarevucky.jiri Mark unreachable consistently in kernel At least in places that were … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @947ab77e   6 years jakub Stop using CHT in futexes lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @b294126   6 years noreply Merge pull request #52 from jermar/asrefcnt Fix as_t reference counting lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @ac9e79d   6 years jakub Fix as_t reference counting Commit … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @88cc71c0   6 years jiri Replace as_area_btree with ordered dictionary. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @6f7071b   6 years jiri Use ordered dictionary for kernel pareas instead of B+ tree. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @aab5e46   6 years jiri Thread and task iterator functions. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @ef1eab7   6 years jiri Replace AVL trees in kernel with ordered dictionary. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @bab75df6   6 years jiri Let kernel code get printf via the standard stdio header. Clean up … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @174156fd   6 years jakub Disambiguate doxygroup generic* lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @e3306d04   6 years jiri.zarevucky Convert atomic_t to atomic_size_t (4): Use atomic_store instead of … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @036e97c   6 years jiri.zarevucky Convert atomic_t to atomic_size_t (3): Use atomic_load instead of … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @077842c   6 years jiri.zarevucky Convert atomic_t to atomic_size_t (1): remove PRIua macro lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @05882233   6 years jiri.zarevucky Unify various barrier includes into <barrier.h> lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @ae7d03c   7 years jiri Selected ccheck-proposed comment fixes. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @3bacee1   7 years jiri Make ccheck-fix again and commit more good files. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @eadaeae8   7 years jakub Make capability handles type-safe Define distinct pointer types for … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @334c103   7 years jakub Allow phone_alloc to not publish the capability This makes it … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @cdc4334   7 years jakub Rename ipc_phone_0 to ipc_box_0 for consistency lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @a35b458   7 years zarevucky.jiri style: Remove trailing whitespace on _all_ lines, including empty … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @b2e121a   7 years martin rename func.{c|h} to halt.{c|h} lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @a53ed3a   7 years zarevucky.jiri Change (rc != 0) to (rc != EOK), where appropriate. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @b7fd2a0   7 years zarevucky.jiri Use errno_t in all uspace and kernel code. Change type of every … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @7f11dc6   7 years zarevucky.jiri Numerous minor error code tweaks in kernel. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @09d01f2   7 years zarevucky.jiri Return phones/capabilities separately from error codes. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @6a32cc5f   7 years zarevucky.jiri Handle allocation failure in task_create(). lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @82d515e9   7 years jakub Fix terminology Objects of slab_cache_t type are caches, not slabs. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @c46bfbc   7 years jakub Allow caps_task_alloc() to fail lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @48bcf49   7 years jakub Introduce reference-counted kobjects Capabilities are thus reduced to … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @9e87562   7 years jakub Make all accesses to capabilites exclusive This commit makes sure … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @fa32c9f   7 years jakub Fix getting of the kobject address lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @63d8f43   7 years jakub Allocate the kobjects referenced by capabilities dynamically lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @e68765e   7 years jakub Store capability's handle inside of it lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @3f74275   7 years jakub Fix terminology around capabilities, capability handles and kernel objects lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @e7ac23d0   7 years jakub Hide kobject implementation details lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @49115ac   7 years jakub Add tsk_destructor() to free task's kobject Freeing up kobject in … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @e9d15d9   7 years jakub Turn IRQ structures into kernel objects ipc_irq_subscribe() now … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @05ffb41   7 years jakub Turn IPC phones into kobjects lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @63e27ef   7 years jiri ASSERT → assert lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @44a7ee5   8 years jiri memxxx functions should be provided in the kernel via the same header … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @719a208   8 years jakub Rename SYS_CAP_GRANT/REVOKE to SYS_PERM_GRANT/REVOKE lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @b1c57a8   10 years jakub Merge from lp:~adam-hraska+lp/helenos/rcu/. Only merge from the … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @feeac0d   11 years jiri Simplify use of list_foreach. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @2f2beb4   12 years jakub Release the first task in task_done() so that the machine can be rebooted. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @69146b93   12 years adam.hraska+hos Merged mainline,1723. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @3ac5086   12 years adam.hraska+hos Fixed kernel futex cleanup: now walks list via correct links and frees … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @908bb96   12 years jakub Postpone printing the message about killing a task due to a failed … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @669f3d32   12 years adam.hraska+hos Adapted the kernel futex subsystem to use CHT. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @7ad17de   12 years jakub Instead of printing the standard kill message, only inform the user … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @03a8a8e   12 years jakub Link each phone to its containing task. This makes it possible to set … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @c33f39f   12 years jakub Do not establish callback connections after the answerbox enters cleanup. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @86939b1   12 years jakub Maintain task's active calls in the active call list. - The call is … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @6c34f587   12 years jakub Remove synchronous IPC primitives. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @f97f1e51   12 years martin unify slab cache naming scheme (according to the type name) lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @5d0500c   13 years jakub Introduce per-task kernel event notifications. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @55b77d9   13 years jiri Separate list_t typedef from link_t (kernel part). * list_t … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @473d5d2   14 years martin add magic value to THE structure for better stack/memory corruption … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @f9061b4   14 years martin add kernel event notification masking (currently used only for … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @5bcf1f9   14 years martin add syscall for properly terminating the currently running task … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @577f042a   14 years martin * improve synchronization in sys_task_set_name() * improve printouts … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @df58e44   14 years martin * add support for printing uspace stack traces from kernel console … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @1e9f8ab   14 years jiri Add kill command to forcefully terminate a task. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @dd8d5a7   14 years martin 32/64 ABI split for SYS_TASK_GET_ID lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @96b02eb9   14 years martin more unification of basic types - use sysarg_t and native_t (unsigned … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @97d17fe   14 years jakub Associate the limit of active calls with a phone rather than the task. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @7e752b2   14 years martin * correct printf() formatting strings and corresponding arguments * … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @be06914   14 years martin nicer top printouts fix typos (recieved → received) lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @48dcc69   14 years martin better printouts for threads lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @c0f13d2   14 years martin introduce more compact and more readable command output to kconsole … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @1d432f9   15 years jakub Reflect assumptions about lock and interrupt state in functions themselves. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @da1bafb   15 years martin major code revision - replace spinlocks taken with interrupts … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @d3808d3   15 years jakub Do not clear TASK in task_destroy(). lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @6193351   15 years jakub Deploy as_hold() and as_release(). lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @278b4a30   15 years jakub Add task_hold() and task_release(). lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @e535eeb   15 years martin rename order() to order_suffix(), make it a generic libc string … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @e1b6742   15 years martin export threads to user space the "tasks" command can now print all … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @88dea9d   15 years martin merge from measuring branch lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @5ba201d   15 years martin cstyle changes (no change in functionality) lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @a307beb   15 years stanislav.kozina IPC statistics measured. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @1ba37fa   15 years stanislav.kozina Removed useless cycles sum, using ucycles + kcycles instead. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @07640dfd   15 years stanislav.kozina Small changes on kernel & user accounting. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @a2a00e8   15 years stanislav.kozina Accounting separated to kernel and user time. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @19f857a   15 years jiri Rename string.h to str.h to avoid header conflict with standard C string.h. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @a000878c   15 years martin make sure that all statically allocated strings are declared as "const … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @41df2827   15 years jakub Fix missing includes. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @59ee56f   15 years jakub Introduce a task constructor. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @103de761   15 years jakub Introduce a slab cache for task_t and allocate/free tasks from/to it. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @33adc6ce   15 years jakub Introduce the per-task list of active synchronous answerboxes and make … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @40240b1   15 years martin revert recent unnecessary commit lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @029d94a   15 years martin check for NULL lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @5ab1648   15 years martin remove obsolete TASK_WAIT notification lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @121966e   15 years jakub task_done() should not kill tasks one by one and wait until each dies. … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @8658f89   16 years martin send notification also during task creation (the intention is to be … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @95ad426   16 years martin add very simple implementation of task destruction notification (which … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @f4b1535   16 years jirik.svoboda str_ncpy() vs str_cpy(). TODO The same in userspace. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @b60c582   16 years martin update for string changes lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @561db3f   16 years jirik.svoboda Didn't need strrcpy() afterall. Also remove strcpy() since strncpy() … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @16da5f8e   16 years jirik.svoboda String functions should be declared in string.h (and implemented in … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Note: See TracRevisionLog for help on using the revision log.