Subversion Repositories HelenOS

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
4692 5391 d 2 h svoboda /branches/tracing/ Merge trunk changes up to r4686.  
4377 5491 d 2 h svoboda /branches/tracing/ Merge latest trunk changes to tracing. (i.e. revs 3684:4374, huge). This time hopefully the real thing.  
3684 5646 d 3 h svoboda /branches/tracing/ Merge latest trunk changes to tracing.  
3610 5661 d 11 h svoboda /branches/tracing/kernel/generic/src/time/ Correct condition for running udebug_before_thread_runs().  
3431 5728 d 1 h svoboda /branches/tracing/kernel/ Add configuration option CONFIG_UDEBUG to compile udebug in the kernel or not.  
3015 5839 d 11 h svoboda /branches/tracing/kernel/generic/ Call udebug_stoppable_begin() after scheduling, rather than before - avoid restricted contex.  
2869 5865 d 0 h svoboda /branches/tracing/kernel/generic/src/time/ Make preempted threads stoppable, so CPU-bound threads can be stopped  
2787 5901 d 5 h decky /branches/tracing/ add dynamic linking, debugging and tracing branch  
2745 5930 d 10 h decky /trunk/ code cleanup (mostly signed/unsigned)
allow extra compiler warnings
 
2275 6243 d 3 h decky /trunk/kernel/generic/ add fancy uptime kconsole command  
2141 6266 d 22 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.
 
2071 6336 d 1 h jermar /trunk/ (c) versus (C)  
2015 6375 d 1 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 6526 d 3 h decky / move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot  
1780 6533 d 4 h jermar /kernel/trunk/ Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.).  
1760 6544 d 6 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 6547 d 9 h jermar /kernel/trunk/ Cleanup of comments.  
1731 6549 d 21 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 6553 d 10 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 6553 d 14 h cejka /kernel/trunk/ Fixed first letter size of subgroup name in Others.  
1702 6554 d 7 h cejka /kernel/trunk/ Kernel doxygen comments updated.  
1457 6568 d 0 h jermar /kernel/trunk/generic/src/time/ Project missed_clock_ticks also on thread timeslice and run queue relink counter.  
1438 6569 d 23 h palkovsky /kernel/trunk/generic/ Correct realtime clock communication.  
1434 6570 d 3 h palkovsky /kernel/trunk/ Added 'realtime' clock interface.
Added some asm macros as memory barriers.
Added drift computing for mips platform.
 
1433 6570 d 7 h jermar /kernel/trunk/generic/src/time/ Fix critical bug in timeout processing introduced several hours ago.  
1431 6570 d 10 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 6597 d 9 h jermar /kernel/trunk/generic/ Improve Doxygen-comments.  
1196 6612 d 8 h cejka /kernel/trunk/ Printf ported back from uspace to kernel.
Printf calls changed to match new conventions.
 
1104 6637 d 4 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 6682 d 4 h jermar /kernel/trunk/ Move list and fifo data types to adt/.  
615 6736 d 10 h palkovsky /kernel/trunk/ Cleanups to make it compile with -Wall. Did not catch everything yet.  
534 6745 d 2 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel again.  
532 6745 d 2 h jermar / Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch.  
501 6757 d 7 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel.  
430 6777 d 23 h jermar /SPARTAN/trunk/ Move src/ and include/ to generic.  
413 6792 d 22 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 6794 d 2 h jermar /SPARTAN/trunk/ Doxygen comments.  
391 6806 d 0 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 6839 d 13 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 6887 d 0 h jermar /SPARTAN/trunk/ Huge indentation fix.