Subversion Repositories HelenOS

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
4282 5687 d 4 h decky /trunk/kernel/arch/sparc64/ repair two glitches in memory management
(no beer today :))
 
4277 5687 d 22 h jermar /trunk/kernel/arch/sparc64/ On sparc64, do fast indentity mapping only for physical memory.
For addresses above physical memory, such as I/O devices,
fall through to the C miss handler and map the memory noncacheably.
Replace deprecated Bicc instructions with proper Bcc instructions.
 
2231 6423 d 22 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 6505 d 18 h jermar /trunk/ (c) versus (C)  
1978 6566 d 18 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 6588 d 17 h jermar /trunk/ Minor changes. Some coding style fixes and also a type (tee vs. tree).
One AS -> as change.
 
1891 6626 d 16 h jermar /trunk/kernel/ sparc64 work:
- Experimental support for TSB (Translation Storage Buffer).
 
1887 6631 d 1 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 6639 d 17 h jermar /trunk/kernel/ Handle more sparc64 traps and improve handling of already handled traps.  
1865 6640 d 19 h jermar /trunk/kernel/ sparc64 kernel fixes  
1864 6641 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 6644 d 1 h jermar /trunk/kernel/arch/sparc64/ Convert sparc64 traps using SIMPLE_HANDLER to using PREEMPTIBLE_HANDLER.  
1860 6644 d 19 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 6645 d 2 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 6649 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 6655 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 6695 d 20 h decky / move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot  
1703 6723 d 6 h jermar /kernel/trunk/arch/ Put sparc64 interrupt stuff under the Interrupt group in Doxygen-generated documentation.  
1702 6724 d 0 h cejka /kernel/trunk/ Kernel doxygen comments updated.  
883 6831 d 2 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