Subversion Repositories HelenOS-historic

Rev

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

Filtering Options

Rev Age Author Path Log message Diff Changes
391 6891 d 22 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.
 
/SPARTAN/trunk/arch/amd64/include/mm/asid.h
/SPARTAN/trunk/arch/ia32/include/mm/asid.h
/SPARTAN/trunk/arch/ia64/include/mm/asid.h
/SPARTAN/trunk/arch/mips32/src/mm/vm.c
/SPARTAN/trunk/arch/ppc32/include/mm/asid.h
/SPARTAN/trunk/arch/amd64/include/mm/page.h
/SPARTAN/trunk/arch/amd64/include/mm/vm.h
/SPARTAN/trunk/arch/amd64/include/types.h
/SPARTAN/trunk/arch/amd64/src/cpu/cpu.c
/SPARTAN/trunk/arch/amd64/src/interrupt.c
/SPARTAN/trunk/arch/ia32/include/mm/page.h
/SPARTAN/trunk/arch/ia32/include/mm/vm.h
/SPARTAN/trunk/arch/ia32/include/types.h
/SPARTAN/trunk/arch/ia32/src/cpu/cpu.c
/SPARTAN/trunk/arch/ia32/src/interrupt.c
/SPARTAN/trunk/arch/ia64/include/mm/page.h
/SPARTAN/trunk/arch/ia64/include/mm/vm.h
/SPARTAN/trunk/arch/ia64/include/types.h
/SPARTAN/trunk/arch/mips32/Makefile.inc
/SPARTAN/trunk/arch/mips32/include/cp0.h
/SPARTAN/trunk/arch/mips32/include/mm/asid.h
/SPARTAN/trunk/arch/mips32/include/mm/page.h
/SPARTAN/trunk/arch/mips32/include/mm/tlb.h
/SPARTAN/trunk/arch/mips32/include/mm/vm.h
/SPARTAN/trunk/arch/mips32/include/types.h
/SPARTAN/trunk/arch/mips32/src/exception.c
/SPARTAN/trunk/arch/mips32/src/mips32.c
/SPARTAN/trunk/arch/mips32/src/mm/asid.c
/SPARTAN/trunk/arch/mips32/src/mm/tlb.c
/SPARTAN/trunk/arch/ppc32/include/mm/page.h
/SPARTAN/trunk/arch/ppc32/include/mm/vm.h
/SPARTAN/trunk/arch/ppc32/include/types.h
/SPARTAN/trunk/include/arch.h
/SPARTAN/trunk/include/mm/page.h
/SPARTAN/trunk/include/mm/vm.h
/SPARTAN/trunk/src/main/kinit.c
/SPARTAN/trunk/src/mm/page.c
/SPARTAN/trunk/src/mm/vm.c
/SPARTAN/trunk/src/proc/the.c
/SPARTAN/trunk/src/time/clock.c
389 6892 d 9 h jermar /SPARTAN/trunk/ MIPS work.
Fix some name inconsistencies between cp0 functions' declarations and definitions.
Add and implement tlb_init_arch().
Add tlb_modified() exception handler.

Other architectures: add dummy tlb_init_arch().
 
/SPARTAN/trunk/arch/amd64/include/mm/tlb.h
/SPARTAN/trunk/arch/ia32/include/mm/tlb.h
/SPARTAN/trunk/arch/ia64/include/mm/tlb.h
/SPARTAN/trunk/arch/ppc32/include/mm/tlb.h
/SPARTAN/trunk/arch/mips32/include/cp0.h
/SPARTAN/trunk/arch/mips32/include/mm/tlb.h
/SPARTAN/trunk/arch/mips32/src/asm.S
/SPARTAN/trunk/arch/mips32/src/exception.c
/SPARTAN/trunk/arch/mips32/src/mm/tlb.c
/SPARTAN/trunk/include/mm/tlb.h
/SPARTAN/trunk/src/main/main.c
/SPARTAN/trunk/src/mm/tlb.c
376 6901 d 4 h jermar /SPARTAN/trunk/ Move kernel build files one level up the directory tree.
Fix paths in your testing environment!
 
/SPARTAN/trunk/Makefile
/SPARTAN/trunk/Makefile.config
/SPARTAN/trunk/build.amd64
/SPARTAN/trunk/build.ia32
/SPARTAN/trunk/build.ia64
/SPARTAN/trunk/build.mips32
/SPARTAN/trunk/build.ppc32
/SPARTAN/trunk/clean.amd64
/SPARTAN/trunk/clean.ia32
/SPARTAN/trunk/clean.ia64
/SPARTAN/trunk/clean.mips32
/SPARTAN/trunk/clean.ppc32
/SPARTAN/trunk/src/Makefile
/SPARTAN/trunk/src/Makefile.config
/SPARTAN/trunk/src/build.amd64
/SPARTAN/trunk/src/build.ia32
/SPARTAN/trunk/src/build.ia64
/SPARTAN/trunk/src/build.mips32
/SPARTAN/trunk/src/build.ppc32
/SPARTAN/trunk/src/clean.amd64
/SPARTAN/trunk/src/clean.ia32
/SPARTAN/trunk/src/clean.ia64
/SPARTAN/trunk/src/clean.mips32
/SPARTAN/trunk/src/clean.ppc32
/SPARTAN/trunk/arch/amd64/Makefile.inc
/SPARTAN/trunk/arch/amd64/boot/Makefile
/SPARTAN/trunk/arch/ia32/Makefile.inc
/SPARTAN/trunk/arch/ia32/boot/Makefile
/SPARTAN/trunk/arch/ia64/Makefile.inc
/SPARTAN/trunk/arch/ia64/boot/Makefile
/SPARTAN/trunk/arch/mips32/Makefile.inc
/SPARTAN/trunk/arch/mips32/boot/Makefile
/SPARTAN/trunk/arch/ppc32/Makefile.inc
/SPARTAN/trunk/arch/ppc32/boot/Makefile
/SPARTAN/trunk/contrib/conf/SPMIPS.simics
/SPARTAN/trunk/contrib/conf/dot.bochsrc
/SPARTAN/trunk/contrib/conf/ski.conf
368 6905 d 7 h jermar /SPARTAN/trunk/ Physical memory management work.
New frame allocator.
Some architectures need to have bigger heap.
 
/SPARTAN/trunk/arch/ia64/src/mm
/SPARTAN/trunk/arch/ia64/src/mm/frame.c
/SPARTAN/trunk/arch/amd64/src/mm/page.c
/SPARTAN/trunk/arch/ia32/src/mm/frame.c
/SPARTAN/trunk/arch/ia32/src/mm/page.c
/SPARTAN/trunk/arch/ia32/src/smp/mps.c
/SPARTAN/trunk/arch/ia64/Makefile.inc
/SPARTAN/trunk/arch/ia64/src/dummy.s
/SPARTAN/trunk/arch/mips32/src/mm/frame.c
/SPARTAN/trunk/arch/ppc32/src/mm/frame.c
/SPARTAN/trunk/include/mm/frame.h
/SPARTAN/trunk/src/mm/frame.c
363 6906 d 23 h jermar /SPARTAN/trunk/arch/ Fix copyright notices.  
/SPARTAN/trunk/arch/amd64/include/memstr.h
/SPARTAN/trunk/arch/ia32/include/asm.h
/SPARTAN/trunk/arch/ia32/include/memstr.h
/SPARTAN/trunk/arch/ia64/include/memstr.h
/SPARTAN/trunk/arch/mips32/include/memstr.h
/SPARTAN/trunk/arch/ppc32/include/memstr.h
361 6907 d 0 h bondari /SPARTAN/trunk/ Memory routines per-arch declations for future implementation  
/SPARTAN/trunk/arch/amd64/include/memstr.h
/SPARTAN/trunk/arch/ia32/include/memstr.h
/SPARTAN/trunk/arch/ia64/include/memstr.h
/SPARTAN/trunk/arch/mips32/include/memstr.h
/SPARTAN/trunk/arch/ppc32/include/memstr.h
/SPARTAN/trunk/arch/ia32/include/asm.h
/SPARTAN/trunk/include/memstr.h
343 6914 d 6 h jermar /SPARTAN/trunk/ Finish renaming of mips and ppc ports.  
/SPARTAN/trunk/arch/ppc32/src/ppc32.c
/SPARTAN/trunk/contrib/toolchain/toolchain.mipseb32.sh
/SPARTAN/trunk/contrib/toolchain/toolchain.mipsel32.sh
/SPARTAN/trunk/contrib/toolchain/toolchain.ppc32.sh
/SPARTAN/trunk/arch/ppc32/src/ppc.c
/SPARTAN/trunk/contrib/toolchain/toolchain.mipseb.sh
/SPARTAN/trunk/contrib/toolchain/toolchain.mipsel.sh
/SPARTAN/trunk/contrib/toolchain/toolchain.ppc.sh
/SPARTAN/trunk/arch/ppc32/Makefile.inc
342 6914 d 7 h jermar /SPARTAN/trunk/arch/ Rename ppc port to ppc32.  
/SPARTAN/trunk/arch/mips32/src/mips32.c
/SPARTAN/trunk/arch/ppc32
/SPARTAN/trunk/arch/mips32/src/mips.c
/SPARTAN/trunk/arch/ppc
/SPARTAN/trunk/arch/mips32/Makefile.inc
/SPARTAN/trunk/arch/ppc32/include/arch.h
/SPARTAN/trunk/arch/ppc32/include/arg.h
/SPARTAN/trunk/arch/ppc32/include/asm.h
/SPARTAN/trunk/arch/ppc32/include/asm/macro.h
/SPARTAN/trunk/arch/ppc32/include/atomic.h
/SPARTAN/trunk/arch/ppc32/include/barrier.h
/SPARTAN/trunk/arch/ppc32/include/byteorder.h
/SPARTAN/trunk/arch/ppc32/include/context.h
/SPARTAN/trunk/arch/ppc32/include/cpu.h
/SPARTAN/trunk/arch/ppc32/include/drivers/ofw.h
/SPARTAN/trunk/arch/ppc32/include/faddr.h
/SPARTAN/trunk/arch/ppc32/include/fmath.h
/SPARTAN/trunk/arch/ppc32/include/fpu_context.h
/SPARTAN/trunk/arch/ppc32/include/interrupt.h
/SPARTAN/trunk/arch/ppc32/include/mm/frame.h
/SPARTAN/trunk/arch/ppc32/include/mm/memory_init.h
/SPARTAN/trunk/arch/ppc32/include/mm/page.h
/SPARTAN/trunk/arch/ppc32/include/mm/vm.h
/SPARTAN/trunk/arch/ppc32/include/thread.h
/SPARTAN/trunk/arch/ppc32/include/types.h
338 6915 d 5 h jermar /SPARTAN/trunk/ Avoid code duplication by creating generic byteorder.h.
Some naming changes in swap functions.
 
/SPARTAN/trunk/include/byteorder.h
/SPARTAN/trunk/arch/amd64/include/byteorder.h
/SPARTAN/trunk/arch/ia32/include/byteorder.h
/SPARTAN/trunk/arch/ia64/include/byteorder.h
/SPARTAN/trunk/arch/mips/include/byteorder.h
/SPARTAN/trunk/arch/ppc/include/byteorder.h
/SPARTAN/trunk/src/debug/symtab.c
332 6915 d 8 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.
 
/SPARTAN/trunk/arch/mips/include/drivers
/SPARTAN/trunk/arch/mips/include/drivers/arc.h
/SPARTAN/trunk/arch/mips/src/drivers
/SPARTAN/trunk/arch/mips/src/drivers/arc.c
/SPARTAN/trunk/contrib/toolchain/toolchain.mipseb.sh
/SPARTAN/trunk/contrib/toolchain/toolchain.mipsel.sh
/SPARTAN/trunk/contrib/toolchain/toolchain.mips.sh
/SPARTAN/trunk/arch/amd64/_link.ld.in
/SPARTAN/trunk/arch/amd64/include/byteorder.h
/SPARTAN/trunk/arch/amd64/src/asm_utils.S
/SPARTAN/trunk/arch/amd64/src/fpu_context.c
/SPARTAN/trunk/arch/amd64/src/pm.c
/SPARTAN/trunk/arch/ia32/include/byteorder.h
/SPARTAN/trunk/arch/ia64/include/byteorder.h
/SPARTAN/trunk/arch/mips/Makefile.inc
/SPARTAN/trunk/arch/mips/_link.ld.in
/SPARTAN/trunk/arch/mips/include/byteorder.h
/SPARTAN/trunk/arch/mips/include/console.h
/SPARTAN/trunk/arch/mips/include/interrupt.h
/SPARTAN/trunk/arch/mips/include/types.h
/SPARTAN/trunk/arch/mips/src/asm.S
/SPARTAN/trunk/arch/mips/src/console.c
/SPARTAN/trunk/arch/mips/src/exception.c
/SPARTAN/trunk/arch/mips/src/interrupt.c
/SPARTAN/trunk/arch/mips/src/mips.c
/SPARTAN/trunk/arch/mips/src/mm/tlb.c
/SPARTAN/trunk/arch/ppc/include/byteorder.h
/SPARTAN/trunk/src/debug/symtab.c
/SPARTAN/trunk/tools/genmap.py
326 6916 d 20 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
309 6920 d 11 h palkovsky /SPARTAN/trunk/ Added architecture independent hooks for fpu lazy context switching.
It is enabled by defining FPU_LAZY
 
/SPARTAN/trunk/arch/amd64/Makefile.inc
/SPARTAN/trunk/arch/amd64/include/cpu.h
/SPARTAN/trunk/arch/amd64/src/cpu/cpu.c
/SPARTAN/trunk/arch/amd64/src/fpu_context.c
/SPARTAN/trunk/arch/amd64/src/interrupt.c
/SPARTAN/trunk/arch/ia32/Makefile.inc
/SPARTAN/trunk/arch/ia32/Makefile.inc.cross
/SPARTAN/trunk/arch/ia32/include/cpu.h
/SPARTAN/trunk/arch/ia32/include/fpu_context.h
/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/arch/ia64/src/dummy.s
/SPARTAN/trunk/arch/ia64/src/fpu_context.c
/SPARTAN/trunk/arch/mips/src/dummy.s
/SPARTAN/trunk/arch/mips/src/fpu_context.c
/SPARTAN/trunk/arch/ppc/src/dummy.s
/SPARTAN/trunk/arch/ppc/src/fpu_context.c
/SPARTAN/trunk/include/fpu_context.h
/SPARTAN/trunk/include/proc/scheduler.h
/SPARTAN/trunk/src/proc/scheduler.c
294 6921 d 11 h jermar /SPARTAN/trunk/arch/ Add timeout to kmp() so that we don't deadlock while waiting for AP's to come up.

Improve comment in byteorder.h.
 
/SPARTAN/trunk/arch/ia32/src/smp/smp.c
/SPARTAN/trunk/arch/ppc/include/byteorder.h
293 6921 d 21 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.
 
/SPARTAN/trunk/arch/amd64/Makefile.inc
/SPARTAN/trunk/arch/amd64/src/boot/boot.S
/SPARTAN/trunk/arch/ia32/Makefile.inc
/SPARTAN/trunk/arch/ia64/Makefile.inc
/SPARTAN/trunk/arch/mips/Makefile.inc
/SPARTAN/trunk/arch/ppc/Makefile.inc
/SPARTAN/trunk/src/Makefile
/SPARTAN/trunk/tools/genmap.py
292 6921 d 21 h jermar /SPARTAN/trunk/ Add byteorder.h to support conversions between different endianesses.
Add native_le2host().

Use native_le2host() in get_symtab_entry().
 
/SPARTAN/trunk/arch/amd64/include/byteorder.h
/SPARTAN/trunk/arch/ia32/include/byteorder.h
/SPARTAN/trunk/arch/ia64/include/byteorder.h
/SPARTAN/trunk/arch/mips/include/byteorder.h
/SPARTAN/trunk/arch/ppc/include/byteorder.h
/SPARTAN/trunk/doc/requirements
/SPARTAN/trunk/include/symtab.h
/SPARTAN/trunk/src/debug/symtab.c
289 6922 d 1 h palkovsky /SPARTAN/trunk/ Added preprocessed linker script to AMD architecture, so that
the constants are all only in the header files.
 
/SPARTAN/trunk/arch/amd64/_link.ld.in
/SPARTAN/trunk/arch/amd64/_link.ld
/SPARTAN/trunk/arch/amd64/Makefile.inc
/SPARTAN/trunk/arch/amd64/include/mm/page.h
/SPARTAN/trunk/arch/ia32/Makefile.inc
/SPARTAN/trunk/arch/ia64/Makefile.inc
/SPARTAN/trunk/arch/mips/Makefile.inc
/SPARTAN/trunk/arch/ppc/Makefile.inc
/SPARTAN/trunk/src/Makefile
/SPARTAN/trunk/src/clean.amd64
287 6922 d 5 h jermar /SPARTAN/trunk/arch/ppc/ Symtab support for PPC.  
/SPARTAN/trunk/arch/ppc/Makefile.inc
/SPARTAN/trunk/arch/ppc/_link.ld
266 6923 d 6 h cejka /SPARTAN/trunk/ Support for NaN and infinity in printf.  
/SPARTAN/trunk/arch/amd64/include/fmath.h
/SPARTAN/trunk/arch/amd64/src/fmath.c
/SPARTAN/trunk/arch/ia32/include/fmath.h
/SPARTAN/trunk/arch/ia32/src/fmath.c
/SPARTAN/trunk/arch/ia64/include/fmath.h
/SPARTAN/trunk/arch/ia64/src/fmath.c
/SPARTAN/trunk/arch/mips/include/fmath.h
/SPARTAN/trunk/arch/mips/src/fmath.c
/SPARTAN/trunk/arch/ppc/include/fmath.h
/SPARTAN/trunk/arch/ppc/src/fmath.c
/SPARTAN/trunk/src/debug/print.c
/SPARTAN/trunk/test/print/print1/test.c
254 6923 d 11 h decky /SPARTAN/trunk/arch/ppc/ fix stupid assembler bugs in cpu_priority_* (PPC)  
/SPARTAN/trunk/arch/ppc/include/asm.h
/SPARTAN/trunk/arch/ppc/src/drivers/ofw.c
253 6923 d 12 h jermar /SPARTAN/trunk/arch/ Implement PPC's get_stack_base().

Comment AMD64's get_stack_base().
 
/SPARTAN/trunk/arch/amd64/include/asm.h
/SPARTAN/trunk/arch/ppc/include/asm.h
250 6924 d 1 h jermar /SPARTAN/trunk/arch/ppc/src/ Add missing semicolon.  
/SPARTAN/trunk/arch/ppc/src/fmath.c
230 6925 d 5 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.
 
/SPARTAN/trunk/arch/amd64/include/fmath.h
/SPARTAN/trunk/arch/amd64/src/fmath.c
/SPARTAN/trunk/arch/ia32/include/fmath.h
/SPARTAN/trunk/arch/ia32/src/fmath.c
/SPARTAN/trunk/arch/ia64/include/fmath.h
/SPARTAN/trunk/arch/ia64/src/fmath.c
/SPARTAN/trunk/arch/mips/include/fmath.h
/SPARTAN/trunk/arch/mips/src/fmath.c
/SPARTAN/trunk/arch/ppc/include/fmath.h
/SPARTAN/trunk/arch/ppc/src/fmath.c
/SPARTAN/trunk/arch/amd64/Makefile.inc
/SPARTAN/trunk/arch/ia64/Makefile.inc
/SPARTAN/trunk/arch/mips/Makefile.inc
/SPARTAN/trunk/arch/ppc/Makefile.inc
218 6925 d 19 h decky /SPARTAN/trunk/arch/ppc/ update PPC for new hardcoded_* method  
/SPARTAN/trunk/arch/ppc/_link.ld
/SPARTAN/trunk/arch/ppc/src/start.S
210 6925 d 23 h decky /SPARTAN/trunk/ many PPC stuff, platform dependent arch.h header files  
/SPARTAN/trunk/arch/amd64/include/arch.h
/SPARTAN/trunk/arch/ia32/include/arch.h
/SPARTAN/trunk/arch/ia64/include/arch.h
/SPARTAN/trunk/arch/mips/include/arch.h
/SPARTAN/trunk/arch/ppc/boot/_link.ld
/SPARTAN/trunk/arch/ppc/boot/boot.S
/SPARTAN/trunk/arch/ppc/boot/main.c
/SPARTAN/trunk/arch/ppc/boot/main.h
/SPARTAN/trunk/arch/ppc/include/arch.h
/SPARTAN/trunk/arch/ppc/src/asm.S
/SPARTAN/trunk/arch/ppc/src/cpu/cpu.c
/SPARTAN/trunk/arch/ppc/src/ppc.c
/SPARTAN/trunk/arch/ppc/boot/boot.s
/SPARTAN/trunk/arch/ppc/src/asm.s
/SPARTAN/trunk/arch/ppc/Makefile.inc
/SPARTAN/trunk/arch/ppc/_link.ld
/SPARTAN/trunk/arch/ppc/boot/Makefile
/SPARTAN/trunk/arch/ppc/include/asm.h
/SPARTAN/trunk/arch/ppc/include/context.h
/SPARTAN/trunk/arch/ppc/src/debug/panic.s
/SPARTAN/trunk/arch/ppc/src/drivers/ofw.c
/SPARTAN/trunk/arch/ppc/src/dummy.s
/SPARTAN/trunk/include/arch.h
/SPARTAN/trunk/include/context.h
/SPARTAN/trunk/src/main/main.c
/SPARTAN/trunk/src/proc/thread.c
207 6926 d 9 h decky /SPARTAN/trunk/ separated stack mapping  
/SPARTAN/trunk/arch/ppc/include/ppc.h
/SPARTAN/trunk/arch/ppc/src/ppc.c
/SPARTAN/trunk/arch/ppc/Makefile.inc
/SPARTAN/trunk/arch/ppc/include/context.h
/SPARTAN/trunk/arch/ppc/include/drivers/ofw.h
/SPARTAN/trunk/arch/ppc/src/drivers/ofw.c
/SPARTAN/trunk/arch/ppc/src/start.S
/SPARTAN/trunk/include/context.h
/SPARTAN/trunk/src/main/main.c
205 6926 d 10 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().
 
/SPARTAN/trunk/arch/amd64/src/dummy.s
/SPARTAN/trunk/arch/amd64/src/supplib.c
/SPARTAN/trunk/arch/ia32/src/asm.S
/SPARTAN/trunk/arch/ia32/src/drivers/ega.c
/SPARTAN/trunk/arch/ia32/src/mm/page.c
/SPARTAN/trunk/arch/ia32/src/smp/mps.c
/SPARTAN/trunk/arch/ia32/src/smp/smp.c
/SPARTAN/trunk/arch/ia64/src/asm.S
/SPARTAN/trunk/arch/mips/src/asm.s
/SPARTAN/trunk/arch/ppc/src/dummy.s
/SPARTAN/trunk/include/memstr.h
/SPARTAN/trunk/src/lib/memstr.c
/SPARTAN/trunk/src/main/kinit.c
/SPARTAN/trunk/src/mm/vm.c
/SPARTAN/trunk/test/synch/rwlock4/test.c
204 6926 d 11 h decky /SPARTAN/trunk/arch/ppc/include/ PPC interrupt high/low/restore  
/SPARTAN/trunk/arch/ppc/include/asm.h
201 6926 d 22 h decky /SPARTAN/trunk/arch/ppc/ header fixes  
/SPARTAN/trunk/arch/ppc/include/asm.h
/SPARTAN/trunk/arch/ppc/src/drivers/ofw.c
/SPARTAN/trunk/arch/ppc/src/dummy.s
199 6926 d 23 h decky /SPARTAN/trunk/arch/ppc/ PPC context save/restore  
/SPARTAN/trunk/arch/ppc/src/context.S
/SPARTAN/trunk/arch/ppc/Makefile.inc
/SPARTAN/trunk/arch/ppc/_link.ld
/SPARTAN/trunk/arch/ppc/include/asm/macro.h
/SPARTAN/trunk/arch/ppc/include/context.h
/SPARTAN/trunk/arch/ppc/src/dummy.s
/SPARTAN/trunk/arch/ppc/src/start.S
195 6927 d 1 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
 
/SPARTAN/trunk/test/thread
/SPARTAN/trunk/test/thread/thread1
/SPARTAN/trunk/test/thread/thread1/test.c
/SPARTAN/trunk/arch/amd64/Makefile.inc
/SPARTAN/trunk/arch/ia32/Makefile.inc
/SPARTAN/trunk/arch/ia32/include/asm.h
/SPARTAN/trunk/arch/ia32/src/acpi/acpi.c
/SPARTAN/trunk/arch/ia32/src/acpi/madt.c
/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/ia32.c
/SPARTAN/trunk/arch/ia32/src/mm/memory_init.c
/SPARTAN/trunk/arch/ia32/src/mm/page.c
/SPARTAN/trunk/arch/ia32/src/pm.c
/SPARTAN/trunk/arch/ia32/src/smp/mps.c
/SPARTAN/trunk/arch/ia32/src/smp/smp.c
/SPARTAN/trunk/arch/ia64/Makefile.inc
/SPARTAN/trunk/arch/ia64/include/asm.h
/SPARTAN/trunk/arch/mips/Makefile.inc
/SPARTAN/trunk/arch/mips/include/asm.h
/SPARTAN/trunk/arch/mips/src/cpu/cpu.c
/SPARTAN/trunk/arch/mips/src/exception.c
/SPARTAN/trunk/arch/mips/src/mm/page.c
/SPARTAN/trunk/arch/mips/src/mm/tlb.c
/SPARTAN/trunk/arch/ppc/Makefile.inc
/SPARTAN/trunk/include/cpu.h
/SPARTAN/trunk/include/memstr.h
/SPARTAN/trunk/src/Makefile.config
/SPARTAN/trunk/src/debug/print.c
/SPARTAN/trunk/src/lib/memstr.c
/SPARTAN/trunk/src/main/kinit.c
/SPARTAN/trunk/src/main/uinit.c
/SPARTAN/trunk/src/mm/frame.c
/SPARTAN/trunk/src/mm/heap.c
/SPARTAN/trunk/src/mm/page.c
/SPARTAN/trunk/src/mm/vm.c
/SPARTAN/trunk/src/proc/scheduler.c
/SPARTAN/trunk/src/proc/thread.c
/SPARTAN/trunk/src/synch/semaphore.c
/SPARTAN/trunk/src/synch/spinlock.c
193 6927 d 3 h decky /SPARTAN/trunk/arch/ppc/include/drivers/ remove obsolete structures  
/SPARTAN/trunk/arch/ppc/include/drivers/ofw.h
192 6927 d 3 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.
 
/SPARTAN/trunk/arch/amd64/include/cpu.h
/SPARTAN/trunk/arch/ia32/include/asm.h
/SPARTAN/trunk/arch/ia32/include/cpu.h
/SPARTAN/trunk/arch/ia32/src/ia32.c
/SPARTAN/trunk/arch/ia64/include/cpu.h
/SPARTAN/trunk/arch/mips/include/cpu.h
/SPARTAN/trunk/arch/ppc/include/cpu.h
/SPARTAN/trunk/include/arch.h
/SPARTAN/trunk/include/cpu.h
/SPARTAN/trunk/src/Makefile.config
/SPARTAN/trunk/src/cpu/cpu.c
/SPARTAN/trunk/src/main/main.c
/SPARTAN/trunk/src/proc/scheduler.c
191 6927 d 3 h decky /SPARTAN/trunk/arch/ppc/ PPC memory size detection  
/SPARTAN/trunk/arch/ppc/src/mm/memory_init.c
/SPARTAN/trunk/arch/ppc/Makefile.inc
/SPARTAN/trunk/arch/ppc/include/asm.h
/SPARTAN/trunk/arch/ppc/include/asm/macro.h
/SPARTAN/trunk/arch/ppc/include/drivers/ofw.h
/SPARTAN/trunk/arch/ppc/src/asm.s
/SPARTAN/trunk/arch/ppc/src/drivers/ofw.c
/SPARTAN/trunk/arch/ppc/src/dummy.s
/SPARTAN/trunk/arch/ppc/src/start.S
190 6927 d 4 h decky /SPARTAN/trunk/arch/ppc/src/debug/ PPC panic()  
/SPARTAN/trunk/arch/ppc/src/debug
/SPARTAN/trunk/arch/ppc/src/debug/panic.s
189 6927 d 5 h decky /SPARTAN/trunk/arch/ppc/include/asm/ PPC assembler register names  
/SPARTAN/trunk/arch/ppc/include/asm
/SPARTAN/trunk/arch/ppc/include/asm/macro.h
186 6927 d 8 h decky /SPARTAN/trunk/arch/ppc/ add missing OpenFirmware related files  
/SPARTAN/trunk/arch/ppc/include/drivers
/SPARTAN/trunk/arch/ppc/include/drivers/ofw.h
/SPARTAN/trunk/arch/ppc/src/drivers/ofw.c
185 6927 d 8 h decky /SPARTAN/trunk/arch/ OpenFirmware support  
/SPARTAN/trunk/arch/ppc/include/ppc.h
/SPARTAN/trunk/arch/ppc/include/vga.h
/SPARTAN/trunk/arch/ppc/src/drivers/vga.c
/SPARTAN/trunk/arch/ia32/src/asm.S
/SPARTAN/trunk/arch/ppc/Makefile.inc
/SPARTAN/trunk/arch/ppc/src/asm.s
/SPARTAN/trunk/arch/ppc/src/dummy.s
/SPARTAN/trunk/arch/ppc/src/ppc.c
/SPARTAN/trunk/arch/ppc/src/start.S
177 6928 d 8 h jermar /SPARTAN/trunk/ Add some comments to IA-32 src/boot/boot.S and src/smp.S.

Make the boot stack start on page boundary.
This is required by get_stack_base().

Define 'THE' macro.

Implement preemption_disable() and preemption_enable().

Add memory barrier macros.
IA-32 macros need support for older processors.
Non IA-32 macros are dummy.

Reduction of many #include paths.
 
/SPARTAN/trunk/arch/amd64/include/barrier.h
/SPARTAN/trunk/arch/ia32/include/asm.h
/SPARTAN/trunk/arch/ia32/include/barrier.h
/SPARTAN/trunk/arch/ia32/src/boot/boot.S
/SPARTAN/trunk/arch/ia32/src/mm/frame.c
/SPARTAN/trunk/arch/ia32/src/smp/ap.S
/SPARTAN/trunk/arch/ia64/include/barrier.h
/SPARTAN/trunk/arch/mips/include/barrier.h
/SPARTAN/trunk/arch/mips/include/cpu.h
/SPARTAN/trunk/arch/mips/include/mm/page.h
/SPARTAN/trunk/arch/ppc/include/barrier.h
/SPARTAN/trunk/include/arch.h
/SPARTAN/trunk/include/cpu.h
/SPARTAN/trunk/include/proc/task.h
/SPARTAN/trunk/include/proc/thread.h
/SPARTAN/trunk/src/main/main.c
/SPARTAN/trunk/src/preempt/preemption.c
173 6931 d 23 h jermar /SPARTAN/trunk/ Preparations for weaker preemption model.
Make all kernel stacks (i.e. startup, scheduler and thread) be STACK_SIZE bytes long.
Reincarnate "the" structure. This time, it is planned to be located at the base of each and every kernel stack.
On IA-32 and MIPS, implement get_stack_base() functions. On the rest of supported platforms, define it to be dummy.
 
/SPARTAN/trunk/arch/amd64/include/asm.h
/SPARTAN/trunk/arch/ia32/include/asm.h
/SPARTAN/trunk/arch/ia64/include/asm.h
/SPARTAN/trunk/arch/ia64/include/context.h
/SPARTAN/trunk/arch/mips/include/asm.h
/SPARTAN/trunk/arch/ppc/include/asm.h
/SPARTAN/trunk/include/arch.h
/SPARTAN/trunk/include/config.h
/SPARTAN/trunk/include/cpu.h
/SPARTAN/trunk/include/proc/thread.h
/SPARTAN/trunk/include/typedefs.h
169 6936 d 22 h jermar /SPARTAN/trunk/arch/ For each architecture, add an extra type cast of x to __address to both KA2PA() and PA2KA().  
/SPARTAN/trunk/arch/amd64/include/mm/page.h
/SPARTAN/trunk/arch/ia32/include/mm/page.h
/SPARTAN/trunk/arch/ia64/include/mm/page.h
/SPARTAN/trunk/arch/mips/include/mm/page.h
/SPARTAN/trunk/arch/ppc/include/mm/page.h