| Rev |
Age |
Author |
Path |
Log message |
Diff |
| 4490 |
6039 d 13 h |
decky |
/trunk/kernel/ |
remove redundant index_t and count_t types (which were always quite ambiguous and not actually needed) |
|
| 4227 |
6100 d 8 h |
decky |
/trunk/kernel/ |
use global variable and a macro for silencing tests |
|
| 3838 |
6162 d 20 h |
decky |
/trunk/kernel/ |
make RANDI a generic macro |
|
| 3069 |
6404 d 18 h |
decky |
/trunk/kernel/test/ |
proper printf formatting |
|
| 2216 |
6827 d 13 h |
decky |
/trunk/ |
make thread ID 64 bit (task ID is 64 bit already)
cleanup thread syscalls |
|
| 2071 |
6907 d 12 h |
jermar |
/trunk/ |
(c) versus (C) |
|
| 2053 |
6936 d 15 h |
decky |
/trunk/kernel/test/ |
quiet variants of tests |
|
| 2050 |
6936 d 23 h |
decky |
/trunk/kernel/ |
benchmarking with statistics (initial) |
|
| 2042 |
6941 d 16 h |
decky |
/trunk/kernel/ |
introduce uncounted threads, whose accounting doesn't affect accumulated task accounting
run tests in kconsole thread again |
|
| 2029 |
6943 d 14 h |
decky |
/trunk/kernel/test/ |
remove asserts and panics from tests |
|
| 2028 |
6943 d 16 h |
decky |
/trunk/kernel/test/ |
cleanup tests |
|
| 2024 |
6944 d 13 h |
decky |
/trunk/kernel/test/synch/ |
remove static keyword |
|
| 2022 |
6944 d 13 h |
decky |
/trunk/kernel/ |
integrate rest of the tests |
|
| 1852 |
7051 d 14 h |
jermar |
/trunk/kernel/ |
sparc64 work.
Bunch of changes in preparation for sparc64 mm and userspace support.
Fix alignment of hardcoded_* variables in linker script. |
|
| 1787 |
7097 d 14 h |
decky |
/ |
move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot |
|
| 1780 |
7104 d 16 h |
jermar |
/kernel/trunk/ |
Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.). |
|
| 1658 |
7131 d 0 h |
vana |
/kernel/trunk/test/ |
Detaching threads in tests |
|
| 1221 |
7177 d 10 h |
decky |
/kernel/trunk/ |
printf-related and other code cleanup |
|
| 1196 |
7183 d 20 h |
cejka |
/kernel/trunk/ |
Printf ported back from uspace to kernel.
Printf calls changed to match new conventions. |
|
| 1104 |
7208 d 16 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 |
7214 d 10 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. |
|
| 625 |
7305 d 17 h |
palkovsky |
/kernel/trunk/ |
We are now almost -Wall clean.
- redefined atomic_t
- deleted many, many unused variables
- some minor code cleanups found using compiler warning. |
|
| 623 |
7305 d 22 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 |
7316 d 13 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel again. |
|
| 532 |
7316 d 13 h |
jermar |
/ |
Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch. |
|
| 501 |
7328 d 18 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel. |
|
| 475 |
7340 d 19 h |
jermar |
/SPARTAN/trunk/ |
Define atomic_t type. |
|
| 413 |
7364 d 9 h |
jermar |
/SPARTAN/trunk/ |
Rename cpu_priority_{high|low|restore|read} functions to interrupts_{disable|enable|restore|read}.
Rename pri_t to ipl_t (Interrupt Priority Level).
Rename thread_t::pri to thread_t::priority. |
|
| 225 |
7410 d 21 h |
jermar |
/SPARTAN/trunk/test/synch/rwlock4/ |
Revert the change in rwlock #4 test that added cpu_priority_high() and cpu_priority_restore() to random().
It is no longer necessary because spinlock disables preemption at least. |
|
| 205 |
7411 d 23 h |
jermar |
/SPARTAN/trunk/ |
Get rid of memcopy().
All we now have is memcpy() and _memcpy().
memcpy() is defined to be builtin.
Where not applicable, architectures must implement memcpy() code or call slowish _memcopy(). |
|
| 171 |
7418 d 21 h |
jermar |
/SPARTAN/trunk/ |
Make rwlock test #3 compile again.
Make rwlock test #4 preemption-safe.
Prepare for preemption controlling functions. |
|
| 111 |
7497 d 13 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. |
|
| 81 |
7517 d 12 h |
jermar |
/SPARTAN/trunk/ |
Add SP_DELTA macro for each architecture.
On IA-32, this macro represents two doublewords that must be on the stack when switching to a new stack.
On MIPS, there is no need to fix sp when switching to a new stack.
On IA-64, this macro is used to allocate the 16-byte scratch area.
IA-64 work.
Changes in start.S. More changes to come.
Define memcopy().
Janitorial fixes.
Add missing #include <panic.h> to rwlock4/test.c.
Remove wrong use of inline keyword from both declaration and definition of l_apic_id(). |
|
| 19 |
7554 d 13 h |
jermar |
/SPARTAN/trunk/ |
Re-enable tests and fix include paths' in them. |
|
| 15 |
7555 d 15 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 |
7605 d 15 h |
jermar |
/SPARTAN/ |
Initial import |
|