Subversion Repositories HelenOS-historic

Rev

Go to most recent revision | Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
401 6839 d 14 h jermar /SPARTAN/trunk/test/mm/mapping1/ Finalize mm mapping test #1 once again.  
400 6839 d 14 h jermar /SPARTAN/trunk/ Finalize mapping1 test.
Record omitted excMod bug in msim.
 
399 6840 d 0 h jermar /SPARTAN/trunk/ mips32 memory management work.
TLB exceptions seem to be working on at least simics.
msim handles TLB Refill and TLB Invalid exceptions well,
but seems to skip writes to the mapped addressies in mm
mapping test #1 (the data is not written and exception
is not triggered).
 
397 6840 d 14 h jermar /SPARTAN/trunk/ Small changes to mips32 mm.
Small changes in mm mapping test #1.
 
396 6841 d 11 h jermar /SPARTAN/trunk/ Add mm/mapping1 test.
(Will not make it past TLB Invalid exception on mips32.)
Fixes in asid.c.
Make TLB register types union with __u32 value.
Implement tlb_invalidate() for mips32.
(TLB invalidation and shootdown path will have to be revised.)
 
329 6867 d 6 h palkovsky /SPARTAN/trunk/ Basic changes to boot it on SGI Indy.  
326 6867 d 23 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.
 
296 6872 d 12 h palkovsky /SPARTAN/trunk/ More logical fpu_context_engaged setting.
The sse1 test now correctly tests for thread migration settings.
 
295 6872 d 13 h palkovsky /SPARTAN/trunk/ Test that really tests SSE context switching.  
283 6873 d 14 h palkovsky /SPARTAN/trunk/ IA32 printf-double support migrated to amd64  
266 6874 d 9 h cejka /SPARTAN/trunk/ Support for NaN and infinity in printf.  
264 6874 d 11 h cejka /SPARTAN/trunk/ E option in printf added.  
263 6874 d 11 h palkovsky /SPARTAN/trunk/test/synch/rwlock2/ Bad prototype  
228 6876 d 8 h cejka /SPARTAN/trunk/ Created fmath as basic tool for IEEE 754 floating point numbers.
Added option $F for printf for printing "double" type.
 
225 6876 d 12 h jermar /SPARTAN/trunk/test/synch/rwlock4/ Revert the change in rwlock #4 test that added cpu_priority_high() and cpu_priority_restore() to random().
It is no longer necessary because spinlock disables preemption at least.
 
205 6877 d 13 h jermar /SPARTAN/trunk/ Get rid of memcopy().
All we now have is memcpy() and _memcpy().
memcpy() is defined to be builtin.
Where not applicable, architectures must implement memcpy() code or call slowish _memcopy().
 
195 6878 d 4 h vana /SPARTAN/trunk/ 1) memcopy and _memcopy functions rewriten to ANSI C norm.
2) Repaired ia32,ia64 and mips version of SPARTAN to work with this memcopy functions
3) Warning for non declared funcions added and repaired ia32,ia64 and mips versions to pass build process with this warning and Werror option
 
187 6878 d 10 h cejka /SPARTAN/trunk/ Licence to print1/test.c added.
New function for printing memory map at ia32.
 
183 6878 d 14 h cejka /SPARTAN/trunk/ Small improvements in print1 test and its source code format.  
182 6878 d 14 h cejka /SPARTAN/trunk/ Test for printf added.  
171 6884 d 11 h jermar /SPARTAN/trunk/ Make rwlock test #3 compile again.

Make rwlock test #4 preemption-safe.

Prepare for preemption controlling functions.
 
125 6924 d 2 h jermar /SPARTAN/trunk/ Huge indentation fix.  
119 6940 d 3 h jermar /SPARTAN/trunk/ Start with generic 4-level page table interface.

Usual cleanup.
 
111 6963 d 3 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.
 
94 6980 d 2 h jermar /SPARTAN/trunk/ IA-64 work.
Add application registers ar.lc, ar.ec, ar.ccv, ar.csd, ar.ssd to context_t.
Add store/load operations for ar.lc, ar.ec, ar.ccv, ar.csd, ar.ssd to context_save()/restore().
Add application registers ar.rcs, ar.bsp and ar.rnat to context_t.
Proper store/load operations for ar.rcs, ar.bsp and ar.rnat is in the works.

FPU cleanup.
Remove call set_TS_flag() from cpu_identify().
Remove unneeded includes from FPU test #1.
 
92 6980 d 6 h jermar /SPARTAN/trunk/ FPU work.
FPU code cleanup, add/fix copyright notices where needed.
Fix PI calculation to use double n instead of int n.
Make FPU test #1 even more stressing.

Re-enable O3 again.
Revert Makefile.config not to compile in any tests.
 
91 6981 d 0 h jermar /SPARTAN/trunk/ Rename test/fpu/fpu0 to test/fpu/fpu1.
Enhance and beautify FPU test #1.
Add pi calculation to FPU test #1.
 
90 6981 d 3 h vana /SPARTAN/trunk/ Set TS flag on system startup.
Some bugs in FPU context switching seem to persist.
Optimalization on IA-32 disabled.
 
89 6981 d 10 h jermar /SPARTAN/trunk/test/fpu/fpu0/ Add check for infinite loops in e().  
88 6981 d 10 h jermar /SPARTAN/trunk/ Rename test/fpu/fp0 to test/fpu/fpu0.
(Couldn't do it in one go.)
 
87 6981 d 10 h jermar /SPARTAN/trunk/ Rename test/fp to test/fpu.  
86 6981 d 10 h jermar /SPARTAN/trunk/test/fp/fp0/ Add BSD license and copyright line.
Coding style and small improvements.
 
84 6981 d 12 h vana /SPARTAN/trunk/ IA-32 FPU lazy context switching.
Doesn't work on Bochs and sometimes produces wrong results on P4.
Seems to work on VMware and PII.

Build script for IA-32 changed to build floppy images (image.bin) 1440K long.
 
81 6983 d 3 h jermar /SPARTAN/trunk/ Add SP_DELTA macro for each architecture.
On IA-32, this macro represents two doublewords that must be on the stack when switching to a new stack.
On MIPS, there is no need to fix sp when switching to a new stack.
On IA-64, this macro is used to allocate the 16-byte scratch area.

IA-64 work.
Changes in start.S. More changes to come.
Define memcopy().

Janitorial fixes.
Add missing #include <panic.h> to rwlock4/test.c.
Remove wrong use of inline keyword from both declaration and definition of l_apic_id().
 
19 7020 d 3 h jermar /SPARTAN/trunk/ Re-enable tests and fix include paths' in them.  
15 7021 d 5 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.
 
1 7071 d 6 h jermar /SPARTAN/ Initial import