|
|
@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
|
|
|
@c46bfbc
|
7 years |
jakub |
Allow caps_task_alloc() to fail
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@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
|
|
|
@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
|
|
|
@fa32c9f
|
7 years |
jakub |
Fix getting of the kobject address
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@63d8f43
|
7 years |
jakub |
Allocate the kobjects referenced by capabilities dynamically
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e68765e
|
7 years |
jakub |
Store capability's handle inside of it
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@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
|
|
|
@e7ac23d0
|
7 years |
jakub |
Hide kobject implementation details
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@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
|
|
|
@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
|
|
|
@05ffb41
|
7 years |
jakub |
Turn IPC phones into kobjects
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@63e27ef
|
7 years |
jiri |
ASSERT → assert
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@feeac0d
|
11 years |
jiri |
Simplify use of list_foreach.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@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
|
|
|
@69146b93
|
12 years |
adam.hraska+hos |
Merged mainline,1723.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@6c34f587
|
12 years |
jakub |
Remove synchronous IPC primitives.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@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
|
|
|
@5d0500c
|
13 years |
jakub |
Introduce per-task kernel event notifications.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@7e752b2
|
14 years |
martin |
* correct printf() formatting strings and corresponding arguments
* …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@be06914
|
14 years |
martin |
nicer top printouts
fix typos (recieved → received)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@48dcc69
|
14 years |
martin |
better printouts for threads
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@d3808d3
|
15 years |
jakub |
Do not clear TASK in task_destroy().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6193351
|
15 years |
jakub |
Deploy as_hold() and as_release().
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
|
|
|
@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
|
|
|
@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
|
|
|
@88dea9d
|
15 years |
martin |
merge from measuring branch
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5ba201d
|
15 years |
martin |
cstyle changes (no change in functionality)
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
|
|
|
@07640dfd
|
15 years |
stanislav.kozina |
Small changes on kernel & user accounting.
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
|
|
|
@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
|
|
|
@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
|
|
|
@41df2827
|
15 years |
jakub |
Fix missing includes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@59ee56f
|
15 years |
jakub |
Introduce a task constructor.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@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
|
|
|
@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
|
|
|
@40240b1
|
15 years |
martin |
revert recent unnecessary commit
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@029d94a
|
15 years |
martin |
check for NULL
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5ab1648
|
15 years |
martin |
remove obsolete TASK_WAIT notification
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@f4b1535
|
16 years |
jirik.svoboda |
str_ncpy() vs str_cpy(). The same in userspace.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b60c582
|
16 years |
martin |
update for string changes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@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
|
|
|
@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
|
|
|
@2e079b70
|
16 years |
jirik.svoboda |
Fix misaligned columns (whoops).
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0f94c3d
|
16 years |
jirik.svoboda |
Read command line for multiboot modules on ia32 and copy it to task …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bc18d63
|
16 years |
jirik.svoboda |
task_set_name() syscall so that we can have names (for …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ae318d3
|
16 years |
martin |
overhaul pareas: use one single physical area for the physical address …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@31696b4f
|
16 years |
jirik.svoboda |
Move stuff related to kbox to a separate struct.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@24345a5
|
16 years |
jirik.svoboda |
Set meaningful names for loaded programs. Now 'tasks' kconsole command …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9a1b20c
|
16 years |
jirik.svoboda |
Merge syscall tracer (trace) and relevant part of udebug interface …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@814c4f5
|
16 years |
jakub |
Improve comments in task.c
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c98e6ee
|
16 years |
jirik.svoboda |
Merge program-loader related stuff from dynload branch to trunk. (huge)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@08a19ba
|
16 years |
jakub |
Support for active mutexes. Active mutexes implement busy waiting, …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8605b24
|
16 years |
jakub |
Maintain cache coherence after sys_task_spawn() copies ELF image from …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@52755f1
|
17 years |
martin |
support for SYS_SPAWN syscall
proper printf formatting
change the way …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@12ab886
|
17 years |
jakub |
Fix initialization of answerbox→task in ipc_answerbox_init. …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6c441cf8
|
17 years |
martin |
code cleanup (mostly signed/unsigned)
allow extra compiler warnings
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@43b1e86
|
17 years |
martin |
prettyprint output
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d4e38c7
|
17 years |
martin |
try to kill the tasks fewer times by introducing a delay in iterations
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b76a2217
|
17 years |
jakub |
Give the AVL tree walkers the possibility to take an argument.
Each …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ea7890e7
|
18 years |
jakub |
More efficient and simpler task termination.
Based on the assumption, …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f6d2c81
|
18 years |
jakub |
Fix two memory leaks.
In kernel, kernel_uarg structure needs to be …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f74bbaf
|
18 years |
martin |
start shutdown infrastructure
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@201abde
|
18 years |
martin |
make thread ID 64 bit (task ID is 64 bit already)
cleanup thread syscalls
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@31d8e10
|
18 years |
jakub |
Continue to de-oversynchronize the kernel.
- replace as→refcount with …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4184e76
|
18 years |
martin |
explicit typecast, fix signed/unsigned comparison
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5573942
|
18 years |
jakub |
Revert thread_interrupt_sleep() to waitq_interrupt_sleep().
I'd prefer …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b3f8fb7
|
18 years |
martin |
huge type system cleanup
remove cyclical type dependencies across …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6f4495f5
|
18 years |
jakub |
Indentaion and formatting changes even Martin will like
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@df4ed85
|
18 years |
jakub |
© versus ©
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@95155b0c
|
18 years |
martin |
benchmarking with statistics (initial)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|