Subversion Repositories HelenOS

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
4348 5663 d 6 h svoboda /branches/dynload/ Merge latest trunk changes to dynload.  
2927 6014 d 5 h decky /branches/dynload/ added dynload branch  
2231 6415 d 23 h jermar /trunk/kernel/arch/sparc64/ Fix a nasty bug in the TLB miss handlers on sparc64.
After we no longer lock the kernel stack in the DTLB,
there is a real danger of nested DTLB misses. The nested
miss can very easily clobber the DTLB Tag Access register.
Therefore, the original miss may not read this register, but
it has to receive its value as an argument. The argument
value is saved in the trap table when it is guaranteed that
the nested TLB miss will not occur.
 
2071 6497 d 18 h jermar /trunk/ (c) versus (C)  
1978 6558 d 19 h jermar /trunk/ sparc64 code to support physical memory that starts on non-zero addresses.
Still needs to be tested on systems with such setup.
 
1954 6580 d 17 h jermar /trunk/ Minor changes. Some coding style fixes and also a type (tee vs. tree).
One AS -> as change.
 
1891 6618 d 17 h jermar /trunk/kernel/ sparc64 work:
- Experimental support for TSB (Translation Storage Buffer).
 
1887 6623 d 2 h jermar /trunk/kernel/arch/sparc64/ When creating TLB mapping for the sparc64 kernel, enable CV (cacheable virtually) bit.
Also install locked mappings only in context 0.
 
1870 6631 d 18 h jermar /trunk/kernel/ Handle more sparc64 traps and improve handling of already handled traps.  
1865 6632 d 20 h jermar /trunk/kernel/ sparc64 kernel fixes  
1864 6633 d 15 h jermar /trunk/ sparc64 update.
- Prototype userspace layer implementation that
at least relates to sparc64 and compiles cleanly.
- Fixes for kernel's preemptible_handler and code
related to running userspace.
- Enable userspace. Several dozen instructions
are now run in userspace! We are pretty near
the userspace milestone for sparc64.
 
1861 6636 d 1 h jermar /trunk/kernel/arch/sparc64/ Convert sparc64 traps using SIMPLE_HANDLER to using PREEMPTIBLE_HANDLER.  
1860 6636 d 20 h jermar /trunk/kernel/ A lot of untested sparc64 stuff:
- Write ASID to hardware when a thread is about to run in userspace.
- Add userspace() and switch_to_userspace() functions.
- Handle special cases when the userspace spill/fill handler causes MMU trap.
- Resolve some TODOs in the existing sparc64 code.
- sparc64 has now C99 compliant header guards.
- Formatting and indentation fixes.
 
1859 6637 d 3 h jermar /trunk/kernel/arch/sparc64/ sparc64 work.
- Convert interrupt_vector trap handler and some mm related trap handlers to
use preemptibe_handler(), which is essential for traps coming from userspace.
- Add fast_data_access_protection() handler.
 
1852 6641 d 20 h jermar /trunk/kernel/ sparc64 work.
Bunch of changes in preparation for sparc64 mm and userspace support.
Fix alignment of hardcoded_* variables in linker script.
 
1851 6647 d 1 h jermar /trunk/kernel/ sparc64 work.
Define the istate structure.
Move the identity-mapping handler to assembly.
Make the preemptible handler more general so that TL=1 MMU exceptions can make use of it.

Little bit of formatting and indentation.
 
1787 6687 d 20 h decky / move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot  
1703 6715 d 7 h jermar /kernel/trunk/arch/ Put sparc64 interrupt stuff under the Interrupt group in Doxygen-generated documentation.  
1702 6716 d 0 h cejka /kernel/trunk/ Kernel doxygen comments updated.  
883 6823 d 3 h jermar /kernel/trunk/arch/sparc64/ sparc64 work.
Switch console to framebuffer (needs proper detection and initialization).
No native keyboard support, so far.
Memory management trap handler fixes.
Do not use OpenFirmware trap table anymore.
 

Show All