|
|
@f35749e
|
5 months |
jiri |
System restart via shutdown -r
|
|
|
@3fcea34
|
10 months |
zarevucky.jiri |
Simplify the SYS_THREAD_CREATE syscall interface
Removed the beefy …
|
|
|
@07d4271
|
18 months |
zarevucky.jiri |
Fix some unsound task reference manipulation and locking
In some …
|
|
|
@d23712e
|
19 months |
zarevucky.jiri |
Use thread state variable instead of a cpu local variable to pass state
|
|
|
@dfa4be62
|
19 months |
zarevucky.jiri |
Thread lock is no longer necessary
|
|
|
@515f1b1
|
19 months |
zarevucky.jiri |
Organize thread_t fields by access constraints
|
|
|
@11909ce3
|
19 months |
zarevucky.jiri |
Make thread cycle statistics atomic
|
|
|
@33e15a0
|
19 months |
zarevucky.jiri |
Make thread→btrace weakly atomic, to avoid need for thread lock
|
|
|
@41bfc64
|
19 months |
zarevucky.jiri |
Make thread→state weakly atomic so we don't need to hold thread lock
|
|
|
@3d84734
|
19 months |
zarevucky.jiri |
Make thread→priority weakly atomic to avoid need for locking
|
|
|
@efed95a3
|
19 months |
zarevucky.jiri |
Make thread→cpu weakly atomic, to avoid need for thread lock
|
|
|
@286da52
|
19 months |
zarevucky.jiri |
Streamline requeuing threads
Split thread_ready() into different …
|
|
|
@6a0e568
|
19 months |
zarevucky.jiri |
Allow fast-switch to another runnable thread
When a thread is …
|
|
|
@0f4f1b2
|
19 months |
zarevucky.jiri |
Add (and use) functions thread_start() and thread_detach()
Mostly …
|
|
|
@151c050
|
19 months |
zarevucky.jiri |
Rethink scheduler entry points
Changes the way scheduler is entered, …
|
|
|
@5663872
|
19 months |
zarevucky.jiri |
Move stuff around for thread sleep
Only mark the thread as ready for …
|
|
|
@40eab9f
|
21 months |
zarevucky.jiri |
Print symbol names and line numbers in stacktraces for init tasks
…
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@06f81c4
|
2 years |
zarevucky.jiri |
Check cpu_t::fpu_owner directly instead of …
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dd218ea
|
2 years |
zarevucky.jiri |
Remove unnecessary thread_t::wired
There's already …
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@111b9b9
|
2 years |
zarevucky.jiri |
Reimplement waitq using thread_wait/wakeup
This adds a few functions …
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@11d2c983
|
2 years |
zarevucky.jiri |
Reorganize locking in thread_destroy()
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1871118
|
2 years |
zarevucky.jiri |
Make thread_t reference counted
This simplifies interaction between …
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@83789ea2
|
2 years |
zarevucky.jiri |
Simplify timeout handling
Since timeout_unregister() now waits for …
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@78acbc72
|
2 years |
zarevucky.jiri |
Remove unused thread_interrupted(), make thread_interrupt() useful
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0366d09d
|
2 years |
zarevucky.jiri |
Avoid separate allocation for FPU context
With _Alignas, we can …
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5110d0a
|
2 years |
zarevucky.jiri |
Turn a bunch of macros into regular functions
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c030818
|
2 years |
zarevucky.jiri |
Move saved interrupt level from context_t to thread_t
Unlike the rest …
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@aae2869
|
2 years |
zarevucky.jiri |
Replace THREAD→ticks with CPU→preempt_deadline
This removes a bit …
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@31e15be
|
4 years |
5887334+jxsvoboda |
kernel: deprecate atomic_t
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5a5269d
|
6 years |
noreply |
Change type of uspace pointers in kernel from pointer type to numeric …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bdca26a
|
6 years |
jakub |
Removing printf when failing from lib/rtld
If rtld failed a message …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0b5203b
|
7 years |
jakub |
Remove futex support from kernel
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@deacd722
|
7 years |
zarevucky.jiri |
Allow thread_create_arch() to fail
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@aae365bc
|
7 years |
jakub |
Remove RCU and CHT support
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@947ab77e
|
7 years |
jakub |
Stop using CHT in futexes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6f7071b
|
7 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
|
|
|
@aab5e46
|
7 years |
jiri |
Thread and task iterator functions.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ef1eab7
|
7 years |
jiri |
Replace AVL trees in kernel with ordered dictionary.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a6e55886
|
7 years |
noreply |
Rename THE/the_t to CURRENT/current_t (#50)
Because the word "THE" …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@174156fd
|
7 years |
jakub |
Disambiguate doxygroup generic*
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@09ab0a9a
|
7 years |
jiri |
Fix vertical spacing with new Ccheck revision.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b59318e
|
7 years |
jiri.zarevucky |
Make futex able to time out.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@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
|
|
|
@1b20da0
|
7 years |
zarevucky.jiri |
style: Remove trailing whitespace on non-empty lines, in certain file …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b7fd2a0
|
8 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
|
|
|
@9ba415e
|
8 years |
martin |
include abi/proc/thread.h explicitly
Do not rely on transitive …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fb1a4be
|
8 years |
martin |
include abi/proc/task.h explicitly
Do not rely on transitive …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@82d515e9
|
8 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
|
|
|
@9e87562
|
8 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
|
|
|
@3f74275
|
8 years |
jakub |
Fix terminology around capabilities, capability handles and kernel objects
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e9d15d9
|
8 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
|
|
|
@05ffb41
|
8 years |
jakub |
Turn IPC phones into kobjects
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7e3826d9
|
8 years |
jakub |
Provide basic interfaces to work with kobjects
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c8cec85
|
8 years |
jakub |
Introduce kernel objects
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@83dab11
|
8 years |
jiri |
Replace usage of typedefs.h with includes of more specific, standard …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@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
|
|
|
@faec9fc
|
11 years |
jakub |
Declare a spinlock in a UP-friendly way.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@207e8880
|
13 years |
adam.hraska+hos |
futex: Switched from using mutexes to spinlocks in futex subsystem.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3ac5086
|
13 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
|
|
|
@669f3d32
|
13 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
|
|
|
@33c2952
|
13 years |
adam.hraska+hos |
Merged with mainline.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7cfe5c0
|
13 years |
adam.hraska+hos |
Merged with mainline 0.5.0 changes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@86939b1
|
13 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
|
|
|
@6c34f587
|
13 years |
jakub |
Remove synchronous IPC primitives.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8e3ed06
|
13 years |
adam.hraska+hos |
rcu: Allowed inlining of the RCU read side.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1066041
|
13 years |
adam.hraska+hos |
preemption_disable: Turned functions into macros. Moved THREAD, AS, …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b23c88e
|
13 years |
adam.hraska+hos |
preemption_disable: Replaced memory barriers with compiler barriers. …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@181a746
|
13 years |
adam.hraska+hos |
rcu: Added preemptible RCU's core API implementation.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8a64e81e
|
13 years |
adam.hraska+hos |
workq: Add work queues: allow blocking work items, queuing items from …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@518dd43
|
13 years |
adam.hraska+hos |
thread: thread_ready() new prefers cpus where thread last ran. Added …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6eef3c4
|
13 years |
martin |
cleanup thread_create() and thread_t structure
- remove 'flag' …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@db675dd
|
13 years |
martin |
print more informative messages about init tasks, the loader and the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5d0500c
|
14 years |
jakub |
Introduce per-task kernel event notifications.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c0699467
|
14 years |
martin |
do not provide general access to kernel headers from uspace, only …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@55b77d9
|
14 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
|
|
|
@43ac0cc
|
14 years |
jakub |
More lightweight implementation of delay() in kernel.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8d6c1f1
|
14 years |
jakub |
Merge USB support.
Changes from …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@26aafe8
|
14 years |
martin |
cleanup the huge mess related to stacks, their sizes and locations
use …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7e7b791
|
14 years |
jano.vesely |
Implement SYS_THREAD_UDELAY syscall for short delays
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@97186929
|
14 years |
martin |
remove obsolete tasklets
(many years ago tasklets were part of a …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5bcf1f9
|
15 years |
martin |
add syscall for properly terminating the currently running task …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5b7a107
|
15 years |
martin |
as the 'btrace' command depends on udebug, make it optional on …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@df58e44
|
15 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
|
|
|
@f418e51
|
15 years |
jiri |
Adding typedefs.h was not necessary.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1e9f8ab
|
15 years |
jiri |
Add kill command to forcefully terminate a task.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dd8d5a7
|
15 years |
martin |
32/64 ABI split for SYS_TASK_GET_ID
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@96b02eb9
|
15 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
|
|
|
@97d17fe
|
15 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
|
|
|
@ee42e43
|
15 years |
jakub |
Retire kernel rwlocks.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@48dcc69
|
15 years |
martin |
better printouts for threads
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c0f13d2
|
15 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
|
|
|
@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
|
|
|
@278b4a30
|
15 years |
jakub |
Add task_hold() and task_release().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0c42638
|
15 years |
jakub |
Remove names of formal arguments from task.h.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@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
|
|
|
@9dae191e
|
15 years |
martin |
sysinfo API cleanup
- better support for generated subtrees
- …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a307beb
|
15 years |
stanislav.kozina |
IPC statistics measured.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@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
|
|
|
@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
|
|
|
@f773206d
|
15 years |
stanislav.kozina |
TASK_NAME_BUFLEN moved to ps/taksinfo.h
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|