Subversion Repositories HelenOS

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
3343 5917 d 19 h decky /branches/sparc/ add sparc branch  
3167 5980 d 2 h svoboda /trunk/kernel/arch/mips32/include/ Fix mips32 atomic_add() which would break build unless a constant was propagated into the second argument. (Specifically at -O0)  
3162 5981 d 14 h jermar /trunk/ The first argument to atomic_add() is read-write. (mips32)  
3038 5996 d 2 h svoboda /trunk/kernel/arch/mips32/include/ Fix missing earlyclobber-register constraints in mips32 atomic_add(), causing panic when gcc put %0 and %1 to the same register.  
2082 6492 d 23 h decky /trunk/ __asm__ __volatile__ -> asm volatile  
2071 6497 d 15 h jermar /trunk/ (c) versus (C)  
1888 6622 d 19 h jermar /trunk/ C99 compliant header guards (hopefully) everywhere in the kernel.
Formatting and indentation changes.
Small improvements in sparc64.
 
1787 6687 d 17 h decky / move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot  
1769 6697 d 14 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 6715 d 21 h cejka /kernel/trunk/ Kernel doxygen comments updated.  
1107 6798 d 13 h jermar /kernel/trunk/ Small atomic #include and typedef changes.  
1104 6798 d 18 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 6805 d 17 h jermar /kernel/trunk/ Redefine semantics of unary atomic operations.
Add test to verify that an architecture understands the semantics correctly.
 
627 6895 d 19 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 6895 d 20 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 6906 d 16 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel again.  
532 6906 d 16 h jermar / Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch.  
501 6918 d 21 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel.  
483 6926 d 16 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 6929 d 22 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.  

Show All