Subversion Repositories HelenOS-historic

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
483 6774 d 19 h jermar /SPARTAN/trunk/ For now, each architecture must use its own -O switch (-O2 doesn't work for ia64, -O3 doesn't work for mips32).

New mips32 atomic_add() function.

Cleanup.
 
458 6781 d 2 h decky /SPARTAN/trunk/ make configuration variables usage consistent  
457 6781 d 2 h decky /SPARTAN/trunk/ new build system almost finished  
455 6781 d 14 h decky /SPARTAN/trunk/ new build system upgrade
finished work for IA-32, IA-64, PPC-32, SPARC-64
 
431 6786 d 2 h jermar /SPARTAN/trunk/arch/ IA-64 work.
Exclude external interrupt from universal_handler() scope.
 
430 6787 d 16 h jermar /SPARTAN/trunk/ Move src/ and include/ to generic.  
429 6787 d 21 h jermar /SPARTAN/trunk/arch/mips32/ For now, compile with -mhard-float.
Libraries required by -msoft-float are not part of gcc.
Moreover, ld doesn't warn about undefined symbols.
 
391 6815 d 16 h jermar /SPARTAN/trunk/ mips32 memory management work.
TLB Refill Exception implemented (passed basic testing).
Remove bit g from struct entry_hi.
Add generic find_mapping().
Add asid to vm_t type, define asid_t to hide architecture specific differences.
Implement ASID allocation for mips32, dummy for other architectures.
Add THE->vm (a.k.a. VM).
Add vm_install_arch().
Move pte_t definition to arch/types.h on each architecture.
Fix PTL manipulating functions on mips32 to shift pfn by 12 instead of by 14.
Fix tlb_init_arch() to initialize all entries.

Other.
Remove unnecessary header files from arch.h
Add missing headers here and there.
Remove two unnecessary ld flags from mips32 makefile.
 
376 6824 d 21 h jermar /SPARTAN/trunk/ Move kernel build files one level up the directory tree.
Fix paths in your testing environment!
 
364 6830 d 4 h palkovsky /SPARTAN/trunk/ Added support for msim with 4kc instructions.
Fixed support for upstream msim.

Small boot fix on Indy.
 
342 6838 d 0 h jermar /SPARTAN/trunk/arch/ Rename ppc port to ppc32.  
341 6838 d 1 h jermar /SPARTAN/trunk/ Rename mips port to mips32.  
339 6838 d 22 h palkovsky /SPARTAN/trunk/arch/mips/ Make the objcopy files compatibile with gnu-sgi-irix linker.  
332 6839 d 2 h palkovsky /SPARTAN/trunk/ Updated symtab so that it works correctly with BE architectures.
Changed compiler for BE MIPS to be mips-sgi-irix5, because
mipsel -EB does not behave correctly.
Doc updates to amd64.
Added ARC BIOS support to MIPS architecture. Putchar works correctly,
kernel passed FPU & some rwlock tests.
 
330 6839 d 20 h palkovsky /SPARTAN/trunk/arch/mips/ Fixed bad address loading in simulators.
FPU cooprocessor unusable now checks, if it is FPU that is unusable.
 
329 6839 d 21 h palkovsky /SPARTAN/trunk/ Basic changes to boot it on SGI Indy.  
326 6840 d 13 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.
 
324 6841 d 0 h palkovsky /SPARTAN/trunk/ MIPS architecture now works without any problems in
- msim: compile as OUTPUT_FORMAT(binary)
- gxemul: compile as OUTPUT_FORMAT(ecoff-littlemips), or create
configuration file for binary format (will be done later)
- simics: compile as OUTPUT_FORMAT(elf32-little), might work with binary
format, didn't try yet.
 
313 6843 d 15 h palkovsky /SPARTAN/trunk/arch/ MIPS bug fixes.
Added usermode to MIPS, unfortunately impossible to test until
MM is ready.
 
293 6845 d 15 h palkovsky /SPARTAN/trunk/ Symbol table now contains static functions too.
NOTE: gcc heavily inlines, be aware of optimizations.

Removed excesive item from boot page tables.
 
289 6845 d 19 h palkovsky /SPARTAN/trunk/ Added preprocessed linker script to AMD architecture, so that
the constants are all only in the header files.
 
268 6846 d 22 h palkovsky /SPARTAN/trunk/ Added symbol table lookup in exceptions.
This breaks ia64 & ppc architecture compiles.
 
240 6848 d 20 h palkovsky /SPARTAN/trunk/arch/mips/ Fixed bad register assignment in atomic.h.
Added -msoft-float so that it does not call coprocessor and it works withou doubles.
Removed undefined symbol from tlb.c. Unfortunately
mips linker does not report missing symbols.
 
230 6848 d 23 h cejka /SPARTAN/trunk/arch/ Created fmath as basic tool for IEEE 754 floating point numbers.
Added option $F for printf for printing "double" type.
 
195 6850 d 19 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
 
161 6866 d 3 h jermar /SPARTAN/trunk/arch/ For all relevant architectures, rename fake.s to dummy.s to better reflect the purpose of the file.
Also define global symbol called dummy.
 
148 6890 d 22 h jermar /SPARTAN/trunk/arch/mips/ Add -mno-abicalls to prevent generating of PIC code.
Remove -mxgot option.
The MIPS port is functional again.
 
130 6892 d 3 h decky /SPARTAN/trunk/arch/mips/ Make MIPS target compile and link properly with the new 4.0.1 MIPS toolchain  
59 6962 d 14 h jermar /SPARTAN/trunk/ Move architecture independent memcopy() and memsetb() out of MIPS subtree and place them in src/lib/ as _memcopy() and _memsetb().
Add MIPS native memsetb().
Add IA-64 native memcpy().

More complete and *almost* functional versions of IA-64 context_save() and context_restore().
 
52 6964 d 16 h vana /SPARTAN/trunk/ Move fpu_context switching functions from context.s to fpu_context.c on all platforms.
Add fpu_context.h.

Make before_thread_runs() arch-independent and create arch dependent version before_thread_runs_arch().
 
1 7043 d 21 h jermar /SPARTAN/ Initial import