|
|
@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
|
|
|
@e16e2ba4
|
14 years |
jiri |
Eliminate userspace copy of elf.h (ELF format definitions).
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
|
|
|
@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
|
|
|
@3375bd4
|
14 years |
vojtechhorky |
Merge mainline changes
Conflicts: …
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
|
|
|
@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
|
|
|
@b4dc35a
|
14 years |
jakub |
It's AS, not VM.
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
|
|
|
@bfe43d5a
|
14 years |
martin |
do not leak the address space structure on failure
report the reason …
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
|
|
|
@ae0300b5
|
14 years |
martin |
fix wrong formatting arguments
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
|
|
|
@5b7a107
|
14 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
|
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
|
|
|
@4e7d3dd
|
14 years |
martin |
cstyle (no change in functionality)
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
|
|
|
@7e752b2
|
15 years |
martin |
* correct printf() formatting strings and corresponding arguments
* …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7a0359b
|
15 years |
martin |
improve kernel function tracing
- add support for more generic kernel …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e3ee9b9
|
15 years |
martin |
remove forward static function declarations and reorder functions
(if …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fa3b8e4
|
15 years |
martin |
LOG() adds newline already
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
|
|
|
@d0c82c5
|
15 years |
martin |
perfect CPU cycles accounting, cherry-picked and adopted from …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@be06914
|
15 years |
martin |
nicer top printouts
fix typos (recieved → received)
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
|
|
|
@2d3ddad
|
15 years |
jakub |
Add more *_locked() assertions.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0ac99db
|
15 years |
jiri |
Make uspace threads stoppable before they exit. This fixes ticket #244.
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
|
|
|
@481d4751
|
15 years |
jakub |
Fix a race condition between the scheduler and as_destroy().
It was …
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
|
|
|
@7ed8530
|
15 years |
jakub |
Deploy task_hold() and task_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
|
|
|
@37c9fc8
|
15 years |
jakub |
Cherry pick revision 404 from lp:~ersin/helenos/measure2.
This fixes …
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
|
|
|
@62550dce
|
15 years |
stanislav.kozina |
ps -c echoes info about CPU's
cpu count is accessible through …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e257ae3
|
15 years |
stanislav.kozina |
Counting CPU busy and idle clock ticks.
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
|
|
|
@91001e2
|
15 years |
martin |
refactorize program handling, report all failures by the means of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@137691a
|
15 years |
martin |
remove unused variables and operations (as suggested by Clang static …
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
|
|
|
@228666c
|
15 years |
martin |
introduce atomic_count_t as the explicit type of the internal value in …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@22e6802
|
16 years |
martin |
fix kernel thread_sleep() not to overflow thread_usleep()
introduce …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@41df2827
|
16 years |
jakub |
Fix missing includes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d9ece1cb
|
16 years |
jakub |
Introduce SYS_THREAD_USLEEP and use it to implement usleep() in uspace.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@59ee56f
|
16 years |
jakub |
Introduce a task constructor.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@103de761
|
16 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
|
16 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
|
16 years |
martin |
revert recent unnecessary commit
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@029d94a
|
16 years |
martin |
check for NULL
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5ab1648
|
16 years |
martin |
remove obsolete TASK_WAIT notification
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@121966e
|
16 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
|
|
|
@98000fb
|
16 years |
martin |
remove redundant index_t and count_t types (which were always quite …
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
|
|
|
@f4876df
|
16 years |
jirik.svoboda |
Only announce loader registration in verbose mode.
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
|
|
|
@bfd1546
|
16 years |
jirik.svoboda |
More elegant way of invoking the loader - as a 'cloneable' service. …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0f81ceb7
|
16 years |
martin |
remove platform dependent constructs from generic code
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f651e80
|
17 years |
jirik.svoboda |
Make newlines in panic messages consistent. Add periods at end of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7217199
|
17 years |
martin |
coding style
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@31696b4f
|
17 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
|
|
|
@13964ef
|
17 years |
jirik.svoboda |
Fix race that allowed Udebug to report THREAD_B events for threads …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@aa8d0f7
|
17 years |
jakub |
Some cstyle.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@59e4864
|
17 years |
jakub.vana |
Alfa of SMP support on IA64
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@24345a5
|
17 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
|
|
|
@7faabb7
|
17 years |
jirik.svoboda |
Fix sys_thread_create(): could fail when passed name was at end of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9a1b20c
|
17 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
|
17 years |
jakub |
Improve comments in task.c
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c98e6ee
|
17 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
|
17 years |
jakub |
Support for active mutexes. Active mutexes implement busy waiting, …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1e9d0e3
|
17 years |
jakub |
cstyle for kinit.c and scheduler.c
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8605b24
|
17 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
|
|
|
@e32e092
|
17 years |
jirik.svoboda |
Declare arguments for memstr.h operations as pointers instead of uintptr_t.
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
|
|
|
@5b86d10
|
17 years |
martin |
proper printf formatting
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5d12283
|
17 years |
jakub |
Improve comment for thread_create().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|