Subversion Repositories HelenOS

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
4647 5537 d 18 h jermar /branches/arm/ Branch out a new arm branch.  
4490 5579 d 17 h decky /trunk/kernel/ remove redundant index_t and count_t types (which were always quite ambiguous and not actually needed)  
3908 5686 d 18 h decky /trunk/ overhaul pareas: use one single physical area for the physical address space not belonging to physical memory  
3790 5726 d 0 h svoboda /trunk/kernel/ Make newlines in panic messages consistent. Add periods at end of messages so that it is obvious whether they are printed entirely.  
3680 5757 d 23 h svoboda /trunk/kernel/generic/src/time/ Fix panic caused by NULL pointer dereference.  
3613 5773 d 1 h svoboda /trunk/kernel/generic/ Merge feature from tracing: correct stopping of CPU-intensive tasks in udebug.  
2916 5966 d 17 h jermar /trunk/kernel/generic/src/ More formatting changes.  
2745 6042 d 1 h decky /trunk/ code cleanup (mostly signed/unsigned)
allow extra compiler warnings
 
2275 6354 d 18 h decky /trunk/kernel/generic/ add fancy uptime kconsole command  
2183 6369 d 20 h jermar /trunk/kernel/generic/ Continue to de-oversynchronize the kernel.
- replace as->refcount with an atomic counter; accesses to this
reference counter are not to be done when the as->lock mutex is held;
this gets us rid of mutex_lock_active();

Remove the possibility of a deadlock between TLB shootdown and asidlock.
- get rid of mutex_lock_active() on as->lock
- when locking the asidlock spinlock, always do it conditionally and with
preemption disabled; in the unsuccessful case, enable interrupts and try again
- there should be no deadlock between TLB shootdown and the as->lock mutexes
- PLEASE REVIEW !!!

Add DEADLOCK_PROBE's to places where we have spinlock_trylock() loops.
 
2141 6378 d 13 h jermar /trunk/ The Ultimate Solution To Illegal Virtual Aliases.
It is better to avoid them completely than to fight them.
Switch the sparc64 port to 16K pages. The TLBs and TSBs
continue to operate with 8K pages only. Page tables and
other generic parts operate with 16K pages.

Because the MMU doesn't support 16K directly, each 16K
page is emulated by a pair of 8K pages. With 16K pages,
illegal aliases cannot be created in 16K D-cache.
 
2089 6436 d 23 h decky /trunk/ huge type system cleanup
remove cyclical type dependencies across multiple header files
many minor coding style fixes
 
2071 6447 d 16 h jermar /trunk/ (c) versus (C)  
2015 6486 d 16 h jermar /trunk/ Rework support for virtually indexed cache.
Instead of repeatedly flushing the data cache, which was a huge overkill, refuse to create an illegal address alias
in the kernel (again) and allocate appropriate page color in userspace instead. Extend the detection also to
SYS_PHYSMEM_MAP syscall.

Add support for tracking physical memory areas mappable by SYS_PHYSMEM_MAP.

Lots of coding style changes.
 
1787 6637 d 18 h decky / move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot  
1780 6644 d 19 h jermar /kernel/trunk/ Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.).  
1760 6655 d 20 h palkovsky /kernel/trunk/ Changed interface of frame_alloc/free to use address of frame instead of the pfn.
This makes it impossible to use >4GB of memory on 32-bit machines, but who cares...
 
1757 6659 d 0 h jermar /kernel/trunk/ Cleanup of comments.  
1731 6661 d 12 h jermar /kernel/trunk/ Updates in Doxygen-style comments.
Make architecture specific modules appear conditionally in the documentation.
Add time management module.
Improve names of other modules and sort module order
to be more like in the design documentation.
 
1705 6665 d 1 h cejka /kernel/trunk/ Added file with modules definitions and descriptions.
We are able to change modules order and their description in one place.
 
1704 6665 d 4 h cejka /kernel/trunk/ Fixed first letter size of subgroup name in Others.  
1702 6665 d 22 h cejka /kernel/trunk/ Kernel doxygen comments updated.  
1457 6679 d 14 h jermar /kernel/trunk/generic/src/time/ Project missed_clock_ticks also on thread timeslice and run queue relink counter.  
1438 6681 d 14 h palkovsky /kernel/trunk/generic/ Correct realtime clock communication.  
1434 6681 d 18 h palkovsky /kernel/trunk/ Added 'realtime' clock interface.
Added some asm macros as memory barriers.
Added drift computing for mips platform.
 
1433 6681 d 21 h jermar /kernel/trunk/generic/src/time/ Fix critical bug in timeout processing introduced several hours ago.  
1431 6682 d 1 h jermar /kernel/trunk/generic/ Add missed_clock_ticks to CPU structure so that clock() can detect missed timer interrupts.
Architectures are required to support this in order to make time keeping accurate.
 
1264 6709 d 0 h jermar /kernel/trunk/generic/ Improve Doxygen-comments.  
1196 6723 d 23 h cejka /kernel/trunk/ Printf ported back from uspace to kernel.
Printf calls changed to match new conventions.
 
1104 6748 d 19 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.
 
788 6793 d 18 h jermar /kernel/trunk/ Move list and fifo data types to adt/.  
659 6839 d 1 h jermar /kernel/trunk/ Make the kernel compile with -Wall.  
615 6848 d 1 h palkovsky /kernel/trunk/ Cleanups to make it compile with -Wall. Did not catch everything yet.  
552 6854 d 14 h palkovsky /kernel/trunk/ Named spinlocks  
534 6856 d 17 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel again.  
532 6856 d 17 h jermar / Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch.  
501 6868 d 21 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel.  
430 6889 d 14 h jermar /SPARTAN/trunk/ Move src/ and include/ to generic.  
413 6904 d 13 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.
 
411 6905 d 17 h jermar /SPARTAN/trunk/ Doxygen comments.