Subversion Repositories HelenOS-historic

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
1769 6753 d 23 h jermar /kernel/trunk/arch/ Change cache_error exception to take istate * as a parameter.
Make cache_error() print epc in the panic message.
Do not rely on the compiler to generate 'nop' after 'beq' in atomic_add()
and put it there explicitly.
Indentation fixes and cosmetic changes.
 
1702 6772 d 6 h cejka /kernel/trunk/ Kernel doxygen comments updated.  
1107 6854 d 22 h jermar /kernel/trunk/ Small atomic #include and typedef changes.  
1104 6855 d 4 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.
 
1024 6862 d 2 h jermar /kernel/trunk/ Redefine semantics of unary atomic operations.
Add test to verify that an architecture understands the semantics correctly.
 
627 6952 d 4 h jermar /kernel/trunk/ Fix ia64 and sparc64 to compile with new atomic_t.
Fix rwlock test #5 and semaphore test #1 to compile with new atomic_t.

sparc64 work.
TBA must be set before a function call when MMU is switched off.
 
625 6952 d 5 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.
 
534 6963 d 1 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel again.  
532 6963 d 1 h jermar / Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch.  
501 6975 d 6 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel.  
483 6983 d 1 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.
 
477 6986 d 7 h vana /SPARTAN/trunk/ Atomic inc & dec functions synchronized on all ia32,ia64 and mips platforms. Now there are 3 versions which returns no value, new value and old value och changed variable.  
475 6987 d 7 h jermar /SPARTAN/trunk/ Define atomic_t type.  
341 7046 d 7 h jermar /SPARTAN/trunk/ Rename mips port to mips32.  
240 7057 d 2 h palkovsky /SPARTAN/trunk/arch/mips/ Fixed bad register assignment in atomic.h.
Added -msoft-float so that it does not call coprocessor and it works withou doubles.
Removed undefined symbol from tlb.c. Unfortunately
mips linker does not report missing symbols.
 
112 7144 d 0 h jermar /SPARTAN/trunk/ Define two placeholder functions for atomic_inc and atomic_dec on IA-64.

Add Ondrej Palkovsky to doc/AUTHORS.

Tweaks in IA-32 low level code to bring SMP back to life. (SMP still broken)
 
111 7144 d 1 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.
 
11 7244 d 21 h jermar /SPARTAN/trunk/ Clean up (ia32 vs. i386).
Header files reorganization.
 
1 7252 d 3 h jermar /SPARTAN/ Initial import