Rev |
Age |
Author |
Path |
Log message |
Diff |
1780 |
6712 d 6 h |
jermar |
/kernel/trunk/ |
Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.). |
|
1658 |
6738 d 15 h |
vana |
/kernel/trunk/test/ |
Detaching threads in tests |
|
1104 |
6816 d 6 h |
jermar |
/kernel/trunk/ |
Define atomic_t only once in atomic.h
Change the encapsulated counter type to long so that it supports negative values as well. |
|
1062 |
6822 d 1 h |
jermar |
/kernel/trunk/ |
It is now possible to associate symbolic names with both threads and tasks.
More verbose kconsole threads, tasks and scheduler commands. |
|
850 |
6849 d 2 h |
palkovsky |
/kernel/trunk/ |
Small bugs fixed after running all tests on mips. |
|
623 |
6913 d 13 h |
jermar |
/kernel/trunk/ |
Add SPINLOCK_DECLARE and SPINLOCK_INITIALIZE macros.
SPINLOCK_DECLARE is to be used instead of direct spinlock_t declarations
in dynamically allocated structures on which spinlock_initialize() is called after
their creation.
SPINLOCK_INITIALIZE is to be used instead of direct spinlock_t declarations
of global spinlocks. It declares and initializes the spinlock.
Moreover, both macros are empty on UP so that -Wall warnings about unused structures
get supressed. |
|
534 |
6924 d 4 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel again. |
|
532 |
6924 d 4 h |
jermar |
/ |
Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch. |
|
501 |
6936 d 8 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel. |
|
475 |
6948 d 9 h |
jermar |
/SPARTAN/trunk/ |
Define atomic_t type. |
|
111 |
7105 d 3 h |
palkovsky |
/SPARTAN/trunk/ |
Code cleanup in scheduler.c thread.c - removed unnecessary spinlock.
atomic_inc, atomic_dec moved to arch/atomic.h instead of arch/smp/atomic.h,
advisable to use even in non-smp mode.
Fixed atomic_inc, atomic_dec in mips architecture. |
|
19 |
7162 d 3 h |
jermar |
/SPARTAN/trunk/ |
Re-enable tests and fix include paths' in them. |
|
15 |
7163 d 5 h |
jermar |
/SPARTAN/trunk/ |
Introduce macros CPU, THREAD, TASK and use them to replace the->cpu, the->thread, the->task.
Later on, this will make it possible to reference *current* cpu, thread and/or task without the aid from virtual memory. |
|
1 |
7213 d 6 h |
jermar |
/SPARTAN/ |
Initial import |
|