Subversion Repositories HelenOS

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
3343 5827 d 4 h decky /branches/sparc/ add sparc branch  
3186 5884 d 2 h jermar /trunk/kernel/ Support for active mutexes. Active mutexes implement busy waiting, pretty much
in the same way as spinlocks, but can be passed to condition variables, which is
the motivation for this enhancement.
 
3059 5904 d 6 h decky /trunk/kernel/generic/src/ proper printf formatting  
2089 6396 d 7 h decky /trunk/ huge type system cleanup
remove cyclical type dependencies across multiple header files
many minor coding style fixes
 
2087 6397 d 3 h jermar /trunk/kernel/ Indentaion and formatting changes even Martin will like :-)  
2071 6407 d 0 h jermar /trunk/ (c) versus (C)  
1888 6532 d 4 h jermar /trunk/ C99 compliant header guards (hopefully) everywhere in the kernel.
Formatting and indentation changes.
Small improvements in sparc64.
 
1787 6597 d 2 h decky / move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot  
1780 6604 d 3 h jermar /kernel/trunk/ Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.).  
1757 6618 d 8 h jermar /kernel/trunk/ Cleanup of comments.  
1702 6625 d 6 h cejka /kernel/trunk/ Kernel doxygen comments updated.  
1502 6636 d 8 h jermar /kernel/trunk/ Replace nonblocking argument of waitq_sleep_timeout with flags that specify mode of operation.
Now a flag can be used to specify interruptible sleep.
Modify waitq_interrupt_sleep() to only interrupt threads that used this flag.
O
 
1248 6672 d 3 h jermar /kernel/trunk/ Add some @file doxygen comments and improve already existing comments.  
1229 6675 d 8 h jermar /kernel/trunk/ Remove the outdated TODO file.
Improve doxygen comments here and there.
 
788 6753 d 3 h jermar /kernel/trunk/ Move list and fifo data types to adt/.  
625 6805 d 4 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 6805 d 10 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.
 
557 6813 d 7 h jermar /kernel/trunk/ Add comments describing locking rules for some locks.
Cleanup.
 
552 6813 d 23 h palkovsky /kernel/trunk/ Named spinlocks  
534 6816 d 1 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel again.  
532 6816 d 1 h jermar / Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch.  
501 6828 d 6 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel.  
430 6848 d 22 h jermar /SPARTAN/trunk/ Move src/ and include/ to generic.  
413 6863 d 21 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.
 
385 6879 d 3 h jermar /SPARTAN/trunk/src/synch/ Doxygen-style comments for rwlock.c.  
153 6934 d 21 h jermar /SPARTAN/trunk/ Add memory barriers into spinlock_*().
Implement CS_{ENTER|LEAVE}_BARRIER() for IA-32 (no-op).
Provide incomplete CS_{ENTER|LEAVE}_BARRIER() macros for IA-64 and MIPS as well.

Small changes here and there.
 
68 7023 d 1 h decky /SPARTAN/trunk/ NDEBUG debug symbol, ASSERT debug macro, fancier panic() in debug mode
indentation fixes, ASSERTs
 
15 7055 d 2 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 7105 d 3 h jermar /SPARTAN/ Initial import