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
788 6858 d 16 h jermar /kernel/trunk/ Move list and fifo data types to adt/.  
625 6910 d 17 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 6910 d 23 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 6918 d 20 h jermar /kernel/trunk/ Add comments describing locking rules for some locks.
Cleanup.
 
552 6919 d 12 h palkovsky /kernel/trunk/ Named spinlocks  
534 6921 d 14 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel again.  
532 6921 d 14 h jermar / Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch.  
501 6933 d 19 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel.  
430 6954 d 11 h jermar /SPARTAN/trunk/ Move src/ and include/ to generic.  
413 6969 d 10 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 6984 d 16 h jermar /SPARTAN/trunk/src/synch/ Doxygen-style comments for rwlock.c.  
153 7040 d 10 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 7128 d 14 h decky /SPARTAN/trunk/ NDEBUG debug symbol, ASSERT debug macro, fancier panic() in debug mode
indentation fixes, ASSERTs
 
15 7160 d 15 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 7210 d 16 h jermar /SPARTAN/ Initial import