Subversion Repositories HelenOS

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
4377 5598 d 0 h svoboda /branches/tracing/ Merge latest trunk changes to tracing. (i.e. revs 3684:4374, huge). This time hopefully the real thing.  
2787 6008 d 4 h decky /branches/tracing/ add dynamic linking, debugging and tracing branch  
2089 6432 d 7 h decky /trunk/ huge type system cleanup
remove cyclical type dependencies across multiple header files
many minor coding style fixes
 
2071 6443 d 0 h jermar /trunk/ (c) versus (C)  
1948 6530 d 10 h jermar /trunk/kernel/ Remove broken, outdated and unused gencontext.c utilities.  
1888 6568 d 3 h jermar /trunk/ C99 compliant header guards (hopefully) everywhere in the kernel.
Formatting and indentation changes.
Small improvements in sparc64.
 
1787 6633 d 2 h decky / move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot  
1780 6640 d 3 h jermar /kernel/trunk/ Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.).  
1769 6642 d 23 h jermar /kernel/trunk/arch/ Change cache_error exception to take istate * as a parameter.
Make cache_error() print epc in the panic message.
Do not rely on the compiler to generate 'nop' after 'beq' in atomic_add()
and put it there explicitly.
Indentation fixes and cosmetic changes.
 
1702 6661 d 6 h cejka /kernel/trunk/ Kernel doxygen comments updated.  
1595 6668 d 13 h palkovsky /kernel/trunk/ Added kernel circular buffer klog.
Added automatic killing of tasks raising inappropriate exceptions.
TODO: Fix vsnprintf return value(and behaviour according to specs) and remove workaround in klog.
 
1293 6700 d 5 h palkovsky /kernel/trunk/ Implemented mips memcpy (copy from gcc builtin memcpy).  
1288 6700 d 8 h jermar /kernel/trunk/ Complete implementation of copy_from_uspace() and copy_to_uspace()
for amd64 and ia32. Other architectures still compile and run,
but need to implement their own assembly-only memcpy(), memcpy_from_uspace(),
memcpy_to_uspace() and their failover parts. For these architectures
only dummy implementations are provided.
 
1102 6744 d 21 h palkovsky /kernel/trunk/arch/ Keep $K1 register for use as a thread local storage pointer on MIPS.  
1100 6746 d 0 h palkovsky /kernel/trunk/ Cleanup of spinlocks, now compiles both ia32 and amd64 with
and without DEBUG_SPINLOCKS. Made spinlocks inline.
Moved syscall_handler to generic (it was identical for ia32,amd64 & mips32).
Made slightly faster syscall for ia32.
Made better interrupt routines for ia32.
Allow not saving non-scratch registers during interrupt on ia32,amd64,mips32.
Aligned interrupt handlers on ia32,amd64, this should prevent problems
with different instruction lengths.
 
1096 6746 d 7 h palkovsky /kernel/trunk/ Cleanup of mips
- inline register reads
- better fpu disable/enable - global settings is automatically propagated to task
- fast syscall
 
1054 6750 d 3 h cejka /kernel/trunk/ Updated stackarg macros for mips32.
Mips32 stack aligned on 8 bytes boundary.
 
958 6753 d 0 h jermar /kernel/trunk/ Nicer ia32 interrupt handlers and structures holding interrupted context data.
Unify the name holding interrupted context data on all architectures to be istate.
 
590 6846 d 2 h palkovsky /kernel/trunk/ Move all MIPS exceptions to generic dispatcher.
Align size in malloc() to __native size, some architectures
don't like it unaligned.
 
534 6852 d 1 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel again.  
532 6852 d 1 h jermar / Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch.  
501 6864 d 5 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel.  
341 6935 d 6 h jermar /SPARTAN/trunk/ Rename mips port to mips32.  
326 6937 d 19 h palkovsky /SPARTAN/trunk/ Cleanup of makefiles to have common options in one main makefile.

Add simple build process for different simulators for MIPS.
Added FPU context & lazy FPU context switching to MIPS.
Cleanup of MIPS linker script.
Moved MIPS kernel above 1MB. Not tested on real machine yet, but it might help.

There is something broken with gcc inlined memcpy (either simulator or gcc), it is disabled on BigEndian mips now.
 
319 6940 d 10 h jermar /SPARTAN/trunk/arch/mips/ Copyright notices changes.  
317 6940 d 10 h palkovsky /SPARTAN/trunk/ MIPS exception now saves all necesssary information only on stack.  
124 6994 d 0 h decky /SPARTAN/trunk/arch/mips/ fix EXC_Mod define

enhance interrupt handling
 
123 6994 d 0 h decky /SPARTAN/trunk/arch/mips/ handle more MIPS exceptions  
1 7141 d 3 h jermar /SPARTAN/ Initial import