Subversion Repositories HelenOS-historic

Rev

Go to most recent revision | Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
187 6830 d 15 h cejka /SPARTAN/trunk/ Licence to print1/test.c added.
New function for printing memory map at ia32.
 
183 6830 d 19 h cejka /SPARTAN/trunk/ Small improvements in print1 test and its source code format.  
182 6830 d 19 h cejka /SPARTAN/trunk/ Test for printf added.  
171 6836 d 16 h jermar /SPARTAN/trunk/ Make rwlock test #3 compile again.

Make rwlock test #4 preemption-safe.

Prepare for preemption controlling functions.
 
125 6876 d 7 h jermar /SPARTAN/trunk/ Huge indentation fix.  
119 6892 d 8 h jermar /SPARTAN/trunk/ Start with generic 4-level page table interface.

Usual cleanup.
 
111 6915 d 8 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 6932 d 7 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 6932 d 11 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 6933 d 5 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 6933 d 8 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 6933 d 15 h jermar /SPARTAN/trunk/test/fpu/fpu0/ Add check for infinite loops in e().  
88 6933 d 15 h jermar /SPARTAN/trunk/ Rename test/fpu/fp0 to test/fpu/fpu0.
(Couldn't do it in one go.)
 
87 6933 d 15 h jermar /SPARTAN/trunk/ Rename test/fp to test/fpu.  
86 6933 d 15 h jermar /SPARTAN/trunk/test/fp/fp0/ Add BSD license and copyright line.
Coding style and small improvements.
 
84 6933 d 17 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 6935 d 8 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 6972 d 8 h jermar /SPARTAN/trunk/ Re-enable tests and fix include paths' in them.  
15 6973 d 10 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 7023 d 11 h jermar /SPARTAN/ Initial import