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
306 6836 d 1 h palkovsky /SPARTAN/trunk/ Fixed mips boot process.
On interrupt saving registers, save $lo, $hi.
Add interrupt naming to asm files (mips).
Save only necessary registers on context switch (see mips ABI).
Fixed copyright info.
 
295 6836 d 23 h palkovsky /SPARTAN/trunk/ Test that really tests SSE context switching.  
284 6838 d 1 h palkovsky /SPARTAN/trunk/src/  
283 6838 d 1 h palkovsky /SPARTAN/trunk/ IA32 printf-double support migrated to amd64  
274 6838 d 15 h palkovsky /SPARTAN/trunk/src/  
273 6838 d 15 h palkovsky /SPARTAN/trunk/ Changes to make ia32 smp code not architecture dependent.
Changes to accomodate new gdtr loading scheme.
 
214 6841 d 12 h vana /SPARTAN/trunk/src/  
212 6841 d 12 h vana /SPARTAN/trunk/ Basic exception support added for ia64 arch ......  
198 6842 d 12 h jermar /SPARTAN/trunk/ Switch order of 'src' and 'dst' arguments in some left-over uses of memcopy.

Cleanup.
 
195 6842 d 14 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
 
192 6842 d 16 h jermar /SPARTAN/trunk/ Dump implementation of THREAD, TASK and CPU.
Implement preemption-safe versions of THREAD, TASK and CPU using THE.
Get rid of CPU_ID_ARCH on all architectures.
Get rid of write_dr0() and read_dr0() on IA-32.
Get rid of cpu_private_data and cpu_private_data_t.
 
183 6843 d 0 h cejka /SPARTAN/trunk/ Small improvements in print1 test and its source code format.  
182 6843 d 1 h cejka /SPARTAN/trunk/ Test for printf added.  
160 6861 d 11 h jermar /SPARTAN/trunk/ PPC work.
Define dummy implementations of many functions in fake.s.
Define kernel_image_start in start.S.
 
136 6883 d 19 h vana /SPARTAN/trunk/ Error word support debuging and testing passed with #NM & #GP exceptions.  
135 6883 d 20 h jermar /SPARTAN/trunk/ Fix setters of page table attributes for both IA-32 and MIPS.  
119 6904 d 13 h jermar /SPARTAN/trunk/ Start with generic 4-level page table interface.

Usual cleanup.
 
117 6919 d 18 h jermar /SPARTAN/trunk/ Do panic() on page_fault().
Good for long testing in SMP mode as silent "extinctions" of a CPU are no longer supported.

Tiny changes here and there.
 
112 6927 d 13 h jermar /SPARTAN/trunk/ Define two placeholder functions for atomic_inc and atomic_dec on IA-64.

Add Ondrej Palkovsky to doc/AUTHORS.

Tweaks in IA-32 low level code to bring SMP back to life. (SMP still broken)
 
110 6928 d 19 h jermar /SPARTAN/trunk/ SMP recovery patch #1. (SMP still broken)
Move ap_boot() to K_TEXT_START_2 section.
Change ap_boot() to cope with mapping of kernel address space.
Change some addresses in mps.c from kernel to physical.

MIPS.
Move msim dprinter device to 0xB0000000.
This address is from kseg1 (unmapped, uncached) segment.
 
108 6930 d 19 h decky /SPARTAN/trunk/ doxygen-style comments
NDEBUG in Makefile.config
 
92 6944 d 17 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 6945 d 11 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.
 
88 6945 d 21 h jermar /SPARTAN/trunk/ Rename test/fpu/fp0 to test/fpu/fpu0.
(Couldn't do it in one go.)
 
87 6945 d 21 h jermar /SPARTAN/trunk/ Rename test/fp to test/fpu.  
84 6945 d 22 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.
 
80 6947 d 15 h vana /SPARTAN/trunk/ Fix page fault caused by dereferencing NULL pointer.  
75 6952 d 16 h vana /SPARTAN/trunk/ Move fpu_owner pointer from cpu_arch_t to cpu_t.  
46 6956 d 20 h vana /SPARTAN/trunk/ Remove fpu_context pointer from context_t.
Add fpu_context statically to thread_t.
Two functions for saving and restoring FPU context on lazy switch.
 
44 6957 d 0 h vana /SPARTAN/trunk/src/ JV's first commit :-)  
37 6961 d 23 h jermar /SPARTAN/trunk/ More IA-64 work.
IA-64 putchar() for Ski simulator.
Linker script changes.
 
35 6963 d 23 h jermar /SPARTAN/trunk/ Early support for IA-64 architecture.  
34 6964 d 17 h jermar /SPARTAN/trunk/ More ACPI work.
Initial MADT table parsing.

SMP renaming and reorganization to reflect there are more ways to bring SMP up.
 
31 6968 d 18 h jermar /SPARTAN/trunk/ Replace the deadlock-prone TLB shootdown algorithm with a deadlock-free implementation.
The implementation is a variant of the CMU TLB consistency algorithm.
Very inefficient implementation of a very inefficient (but correct) algorithm.
 
27 6970 d 12 h jermar /SPARTAN/trunk/ APIC changes and fixes.
Be more robust during MP configuration.

Do not use APIC ID as CPU_ID_ARCH anymore.
Changing APIC ID's is not a good idea.
Use dr0 register instead.
 
26 6972 d 20 h jermar /SPARTAN/trunk/ Code cleanup after arch_init() splitting.
Restore %ds and %es registers before iret.
 
25 6972 d 23 h jermar /SPARTAN/trunk/src/ Fix waitq_sleep_timeout() to call before_thread_runs() when handling timeout.  
22 6977 d 16 h jermar /SPARTAN/trunk/ Added before_thread_runs() to cope with TSS of user space tasks.  
19 6984 d 14 h jermar /SPARTAN/trunk/ Re-enable tests and fix include paths' in them.  
16 6984 d 17 h jermar /SPARTAN/trunk/ Switch from mm-based 'the' mechanism to macro-based 'cpu_private_data[CPU_ID_ARCH]' mechanism.
Added l_apic_id() and some other minor APIC changes.
Move gdtr to K_DATA_START section.
Move K_DATA_START section immediately behind K_TEXT_START section so that real-mode addresses work even with growing size of kernel code.