Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
326 |
6913 d 21 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. |
|
/SPARTAN/trunk/arch/mips/_link.ld.in /SPARTAN/trunk/test/fpu/mips1 /SPARTAN/trunk/test/fpu/mips1/test.c
/SPARTAN/trunk/arch/mips/_link.ld
/SPARTAN/trunk/arch/amd64/Makefile.inc /SPARTAN/trunk/arch/amd64/src/fpu_context.c /SPARTAN/trunk/arch/ia32/Makefile.inc /SPARTAN/trunk/arch/ia64/Makefile.inc /SPARTAN/trunk/arch/mips/Makefile.inc /SPARTAN/trunk/arch/mips/boot/boot.S /SPARTAN/trunk/arch/mips/include/asm.h /SPARTAN/trunk/arch/mips/include/asm/boot.h /SPARTAN/trunk/arch/mips/include/byteorder.h /SPARTAN/trunk/arch/mips/include/cp0.h /SPARTAN/trunk/arch/mips/include/exception.h /SPARTAN/trunk/arch/mips/include/fpu_context.h /SPARTAN/trunk/arch/mips/include/thread.h /SPARTAN/trunk/arch/mips/src/asm.S /SPARTAN/trunk/arch/mips/src/console.c /SPARTAN/trunk/arch/mips/src/dummy.S /SPARTAN/trunk/arch/mips/src/exception.c /SPARTAN/trunk/arch/mips/src/fpu_context.c /SPARTAN/trunk/arch/mips/src/mips.c /SPARTAN/trunk/arch/mips/src/mm/frame.c /SPARTAN/trunk/arch/mips/src/panic.S /SPARTAN/trunk/arch/mips/src/start.S /SPARTAN/trunk/arch/ppc/Makefile.inc /SPARTAN/trunk/contrib/conf/msim.conf /SPARTAN/trunk/src/Makefile /SPARTAN/trunk/src/build.mips /SPARTAN/trunk/src/clean.mips
|
296 |
6918 d 10 h |
palkovsky |
/SPARTAN/trunk/ |
More logical fpu_context_engaged setting.
The sse1 test now correctly tests for thread migration settings. |
|
/SPARTAN/trunk/arch/amd64/src/fpu_context.c /SPARTAN/trunk/arch/amd64/src/interrupt.c /SPARTAN/trunk/test/fpu/sse1/test.c
|
295 |
6918 d 11 h |
palkovsky |
/SPARTAN/trunk/ |
Test that really tests SSE context switching. |
|
/SPARTAN/trunk/test/fpu/sse1 /SPARTAN/trunk/test/fpu/sse1/test.c
/SPARTAN/trunk/src/Makefile.config
|
283 |
6919 d 13 h |
palkovsky |
/SPARTAN/trunk/ |
IA32 printf-double support migrated to amd64 |
|
/SPARTAN/trunk/arch/amd64/src/fmath.c
/SPARTAN/trunk/src/Makefile.config /SPARTAN/trunk/src/build.amd64 /SPARTAN/trunk/test/fpu/fpu1/test.c
|
125 |
6970 d 0 h |
jermar |
/SPARTAN/trunk/ |
Huge indentation fix. |
|
/SPARTAN/trunk/arch/ia32/boot/boot.S /SPARTAN/trunk/arch/ia32/boot/boot.ld /SPARTAN/trunk/arch/ia32/include/cpu.h /SPARTAN/trunk/arch/ia32/src/acpi/acpi.c /SPARTAN/trunk/arch/ia32/src/asm.s /SPARTAN/trunk/arch/ia32/src/boot/boot.S /SPARTAN/trunk/arch/ia32/src/context.s /SPARTAN/trunk/arch/ia32/src/cpu/cpu.c /SPARTAN/trunk/arch/ia32/src/cpuid.s /SPARTAN/trunk/arch/ia32/src/drivers/ega.c /SPARTAN/trunk/arch/ia32/src/drivers/i8254.c /SPARTAN/trunk/arch/ia32/src/drivers/i8259.c /SPARTAN/trunk/arch/ia32/src/fpu_context.c /SPARTAN/trunk/arch/ia32/src/ia32.c /SPARTAN/trunk/arch/ia32/src/interrupt.c /SPARTAN/trunk/arch/ia32/src/mm/frame.c /SPARTAN/trunk/arch/ia32/src/mm/page.c /SPARTAN/trunk/arch/ia32/src/pm.c /SPARTAN/trunk/arch/ia32/src/proc/scheduler.c /SPARTAN/trunk/arch/ia32/src/smp/apic.c /SPARTAN/trunk/arch/ia32/src/smp/mps.c /SPARTAN/trunk/arch/ia32/src/userspace.c /SPARTAN/trunk/arch/ia64/_link.ld /SPARTAN/trunk/arch/ia64/boot/_link.ld /SPARTAN/trunk/arch/ia64/include/mm/page.h /SPARTAN/trunk/arch/mips/_link.ld /SPARTAN/trunk/arch/mips/boot/boot.s /SPARTAN/trunk/arch/mips/include/context.h /SPARTAN/trunk/arch/mips/include/cpu.h /SPARTAN/trunk/arch/mips/include/mm/page.h /SPARTAN/trunk/arch/mips/src/cpu/cpu.c /SPARTAN/trunk/arch/mips/src/interrupt.c /SPARTAN/trunk/arch/mips/src/mips.c /SPARTAN/trunk/arch/mips/src/start.S /SPARTAN/trunk/arch/powerpc/_link.ld /SPARTAN/trunk/include/mm/page.h /SPARTAN/trunk/include/proc/thread.h /SPARTAN/trunk/include/stackarg.h /SPARTAN/trunk/include/synch/semaphore.h /SPARTAN/trunk/include/synch/waitq.h /SPARTAN/trunk/include/time/timeout.h /SPARTAN/trunk/src/cpu/cpu.c /SPARTAN/trunk/src/main/kinit.c /SPARTAN/trunk/src/mm/frame.c /SPARTAN/trunk/src/mm/page.c /SPARTAN/trunk/src/proc/scheduler.c /SPARTAN/trunk/src/proc/thread.c /SPARTAN/trunk/src/time/clock.c /SPARTAN/trunk/src/time/timeout.c /SPARTAN/trunk/test/fpu/fpu1/test.c
|
119 |
6986 d 1 h |
jermar |
/SPARTAN/trunk/ |
Start with generic 4-level page table interface.
Usual cleanup. |
|
/SPARTAN/trunk/doc/mm
/SPARTAN/trunk/arch/ia32/include/mm/page.h /SPARTAN/trunk/include/mm/page.h /SPARTAN/trunk/src/Makefile.config /SPARTAN/trunk/test/fpu/fpu1/test.c /SPARTAN/trunk/test/synch/rwlock5/test.c /SPARTAN/trunk/test/synch/semaphore1/test.c
|
111 |
7009 d 2 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. |
|
/SPARTAN/trunk/arch/ia32/include/atomic.h /SPARTAN/trunk/arch/ia32/src/atomic.S /SPARTAN/trunk/arch/mips/include/atomic.h
/SPARTAN/trunk/arch/ia32/include/smp/atomic.h /SPARTAN/trunk/arch/ia32/src/smp/atomic.S /SPARTAN/trunk/arch/mips/include/smp/atomic.h
/SPARTAN/trunk/arch/ia32/Makefile.inc /SPARTAN/trunk/arch/mips/_link.ld /SPARTAN/trunk/include/proc/scheduler.h /SPARTAN/trunk/src/Makefile /SPARTAN/trunk/src/mm/tlb.c /SPARTAN/trunk/src/proc/scheduler.c /SPARTAN/trunk/src/proc/thread.c /SPARTAN/trunk/src/synch/spinlock.c /SPARTAN/trunk/src/time/clock.c /SPARTAN/trunk/test/fpu/fpu1/test.c /SPARTAN/trunk/test/synch/rwlock1/test.c /SPARTAN/trunk/test/synch/rwlock2/test.c /SPARTAN/trunk/test/synch/rwlock3/test.c /SPARTAN/trunk/test/synch/rwlock4/test.c /SPARTAN/trunk/test/synch/rwlock5/test.c /SPARTAN/trunk/test/synch/semaphore1/test.c /SPARTAN/trunk/test/synch/semaphore2/test.c
|
94 |
7026 d 0 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. |
|
/SPARTAN/trunk/arch/ia32/src/cpu/cpu.c /SPARTAN/trunk/arch/ia32/src/fpu_context.c /SPARTAN/trunk/arch/ia64/include/context.h /SPARTAN/trunk/arch/ia64/src/context.S /SPARTAN/trunk/test/fpu/fpu1/test.c
|
92 |
7026 d 5 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. |
|
/SPARTAN/trunk/arch/ia32/Makefile.inc /SPARTAN/trunk/arch/ia32/include/fpu_context.h /SPARTAN/trunk/arch/ia32/src/fpu_context.c /SPARTAN/trunk/arch/ia32/src/interrupt.c /SPARTAN/trunk/arch/ia64/include/fpu_context.h /SPARTAN/trunk/arch/ia64/src/fpu_context.c /SPARTAN/trunk/arch/mips/include/fpu_context.h /SPARTAN/trunk/arch/mips/src/fpu_context.c /SPARTAN/trunk/include/fpu_context.h /SPARTAN/trunk/src/Makefile.config /SPARTAN/trunk/test/fpu/fpu1/test.c
|
91 |
7026 d 23 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. |
|
/SPARTAN/trunk/test/fpu/fpu1
/SPARTAN/trunk/test/fpu/fpu0
/SPARTAN/trunk/src/Makefile.config /SPARTAN/trunk/test/fpu/fpu1/test.c
|
90 |
7027 d 1 h |
vana |
/SPARTAN/trunk/ |
Set TS flag on system startup.
Some bugs in FPU context switching seem to persist.
Optimalization on IA-32 disabled. |
|
/SPARTAN/trunk/arch/ia32/Makefile.inc /SPARTAN/trunk/arch/ia32/src/cpu/cpu.c /SPARTAN/trunk/arch/ia32/src/fpu_context.c /SPARTAN/trunk/arch/ia32/src/interrupt.c /SPARTAN/trunk/test/fpu/fpu0/test.c
|
89 |
7027 d 8 h |
jermar |
/SPARTAN/trunk/test/fpu/fpu0/ |
Add check for infinite loops in e(). |
|
/SPARTAN/trunk/test/fpu/fpu0/test.c
|
88 |
7027 d 8 h |
jermar |
/SPARTAN/trunk/ |
Rename test/fpu/fp0 to test/fpu/fpu0.
(Couldn't do it in one go.) |
|
/SPARTAN/trunk/test/fpu/fpu0
/SPARTAN/trunk/test/fpu/fp0
/SPARTAN/trunk/src/Makefile.config
|
87 |
7027 d 8 h |
jermar |
/SPARTAN/trunk/ |
Rename test/fp to test/fpu. |
|
/SPARTAN/trunk/test/fpu
/SPARTAN/trunk/test/fp
/SPARTAN/trunk/src/Makefile.config
|
84 |
7027 d 10 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. |
|
/SPARTAN/trunk/test/fp /SPARTAN/trunk/test/fp/fp0 /SPARTAN/trunk/test/fp/fp0/test.c
/SPARTAN/trunk/arch/ia32/boot/Makefile /SPARTAN/trunk/arch/ia32/include/interrupt.h /SPARTAN/trunk/arch/ia32/src/fpu_context.c /SPARTAN/trunk/arch/ia32/src/interrupt.c /SPARTAN/trunk/arch/ia32/src/pm.c /SPARTAN/trunk/src/Makefile.config
|