Rev |
Age |
Author |
Path |
Log message |
Diff |
534 |
6881 d 10 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel again. |
|
532 |
6881 d 10 h |
jermar |
/ |
Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch. |
|
501 |
6893 d 14 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel. |
|
483 |
6901 d 10 h |
jermar |
/SPARTAN/trunk/ |
For now, each architecture must use its own -O switch (-O2 doesn't work for ia64, -O3 doesn't work for mips32).
New mips32 atomic_add() function.
Cleanup. |
|
475 |
6905 d 16 h |
jermar |
/SPARTAN/trunk/ |
Define atomic_t type. |
|
413 |
6929 d 6 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. |
|
263 |
6973 d 17 h |
palkovsky |
/SPARTAN/trunk/test/synch/rwlock2/ |
Bad prototype |
|
225 |
6975 d 18 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 |
6976 d 20 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 |
6983 d 17 h |
jermar |
/SPARTAN/trunk/ |
Make rwlock test #3 compile again.
Make rwlock test #4 preemption-safe.
Prepare for preemption controlling functions. |
|
119 |
7039 d 9 h |
jermar |
/SPARTAN/trunk/ |
Start with generic 4-level page table interface.
Usual cleanup. |
|
111 |
7062 d 10 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 |
7082 d 9 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 |
7119 d 9 h |
jermar |
/SPARTAN/trunk/ |
Re-enable tests and fix include paths' in them. |
|
15 |
7120 d 11 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 |
7170 d 12 h |
jermar |
/SPARTAN/ |
Initial import |
|