Subversion Repositories HelenOS-historic

Rev

Go to most recent revision | Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
623 6909 d 7 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 6917 d 4 h jermar /kernel/trunk/ Add comments describing locking rules for some locks.
Cleanup.
 
552 6917 d 19 h palkovsky /kernel/trunk/ Named spinlocks  
534 6919 d 22 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel again.  
532 6919 d 22 h jermar / Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch.  
501 6932 d 2 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel.  
430 6952 d 19 h jermar /SPARTAN/trunk/ Move src/ and include/ to generic.  
413 6967 d 18 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 6983 d 0 h jermar /SPARTAN/trunk/src/synch/ Doxygen-style comments for rwlock.c.  
153 7038 d 18 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 7126 d 21 h decky /SPARTAN/trunk/ NDEBUG debug symbol, ASSERT debug macro, fancier panic() in debug mode
indentation fixes, ASSERTs
 
15 7158 d 23 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 7209 d 0 h jermar /SPARTAN/ Initial import