Subversion Repositories HelenOS

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
2461 6769 d 10 h mencl /branches/rcu/kernel/ Added Fast avl tree structure which should be used as timeout data structure instead of simple avl tree. This
structure has much faster search min and delete min operations (constant time).
 
2450 6772 d 12 h mencl /branches/rcu/kernel/ Repaired avl and extavl tree timeout unregister and delete_min. These
faults caused problems with initializing cpus and they appeared only in
multi processor systems.
 
2421 6781 d 8 h mencl /branches/rcu/kernel/ Repaired and debuged data structures and added timeout test  
2416 6782 d 8 h mencl /branches/rcu/ All timeout structures and tests added
Use timeout structures in timeout mechanism - not tested yet
 
2336 6793 d 10 h mencl /branches/rcu/  
2307 6800 d 9 h hudecek /branches/rcu/ Updated branch to latest trunk revision  
2292 6808 d 21 h hudecek /branches/rcu/ updated to latest trunk revision, minor tweaks in tasklet.c  
2131 6843 d 13 h decky /branches/ add development branches  
2071 6909 d 10 h jermar /trunk/ (c) versus (C)  
2015 6948 d 10 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 7099 d 12 h decky / move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot  
1780 7106 d 13 h jermar /kernel/trunk/ Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.).  
1760 7117 d 14 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 7120 d 18 h jermar /kernel/trunk/ Cleanup of comments.  
1731 7123 d 6 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 7126 d 19 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 7126 d 22 h cejka /kernel/trunk/ Fixed first letter size of subgroup name in Others.  
1702 7127 d 16 h cejka /kernel/trunk/ Kernel doxygen comments updated.  
1457 7141 d 8 h jermar /kernel/trunk/generic/src/time/ Project missed_clock_ticks also on thread timeslice and run queue relink counter.  
1438 7143 d 8 h palkovsky /kernel/trunk/generic/ Correct realtime clock communication.  
1434 7143 d 12 h palkovsky /kernel/trunk/ Added 'realtime' clock interface.
Added some asm macros as memory barriers.
Added drift computing for mips platform.
 
1433 7143 d 15 h jermar /kernel/trunk/generic/src/time/ Fix critical bug in timeout processing introduced several hours ago.  
1431 7143 d 19 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 7170 d 18 h jermar /kernel/trunk/generic/ Improve Doxygen-comments.  
1196 7185 d 17 h cejka /kernel/trunk/ Printf ported back from uspace to kernel.
Printf calls changed to match new conventions.
 
1104 7210 d 13 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 7255 d 12 h jermar /kernel/trunk/ Move list and fifo data types to adt/.  
615 7309 d 19 h palkovsky /kernel/trunk/ Cleanups to make it compile with -Wall. Did not catch everything yet.  
534 7318 d 11 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel again.  
532 7318 d 11 h jermar / Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch.  
501 7330 d 15 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel.  
430 7351 d 8 h jermar /SPARTAN/trunk/ Move src/ and include/ to generic.  
413 7366 d 7 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 7367 d 10 h jermar /SPARTAN/trunk/ Doxygen comments.  
391 7379 d 8 h jermar /SPARTAN/trunk/ mips32 memory management work.
TLB Refill Exception implemented (passed basic testing).
Remove bit g from struct entry_hi.
Add generic find_mapping().
Add asid to vm_t type, define asid_t to hide architecture specific differences.
Implement ASID allocation for mips32, dummy for other architectures.
Add THE->vm (a.k.a. VM).
Add vm_install_arch().
Move pte_t definition to arch/types.h on each architecture.
Fix PTL manipulating functions on mips32 to shift pfn by 12 instead of by 14.
Fix tlb_init_arch() to initialize all entries.

Other.
Remove unnecessary header files from arch.h
Add missing headers here and there.
Remove two unnecessary ld flags from mips32 makefile.
 
221 7412 d 21 h jermar /SPARTAN/trunk/ Preemption work.
Define PREEMPTION_DISABLED macro.
This macro determines the level of preemptivity (0 = preemption enabled, THE->preemption_disabled = no preemption inside spinlock, 1 = preemption disabled).
Reformulate preemption code in clock.c to consider PREEMPTION_DISABLED.
 
125 7460 d 8 h jermar /SPARTAN/trunk/ Huge indentation fix.  
111 7499 d 10 h palkovsky /SPARTAN/trunk/ Code cleanup in scheduler.c thread.c - removed unnecessary spinlock.
atomic_inc, atomic_dec moved to arch/atomic.h instead of arch/smp/atomic.h,
advisable to use even in non-smp mode.
Fixed atomic_inc, atomic_dec in mips architecture.
 
107 7502 d 15 h decky /SPARTAN/trunk/src/ doxygen-style comments
cleanups
 
15 7557 d 12 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.