Subversion Repositories HelenOS-historic

Rev

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

Filtering Options

Rev Age Author Path Log message Diff Changes
490 6781 d 13 h jermar /SPARTAN/trunk/generic/src/mm/ Fix typo and clean up comments.  
/SPARTAN/trunk/generic/src/mm/buddy.c
489 6781 d 13 h jermar /SPARTAN/trunk/generic/ Make the buddy system more general.
Store implementation defined pointer in buddy_system_t.
Pass buddy system pointer to implementation defined buddy system operations.
 
/SPARTAN/trunk/generic/include/mm/buddy.h
/SPARTAN/trunk/generic/include/mm/frame.h
/SPARTAN/trunk/generic/src/mm/buddy.c
/SPARTAN/trunk/generic/src/mm/frame.c
488 6781 d 18 h bondari /SPARTAN/trunk/generic/src/mm/ Small fix :)  
/SPARTAN/trunk/generic/src/mm/frame.c
487 6781 d 18 h bondari /SPARTAN/trunk/generic/src/mm/ Frame isect/coalesce functions optimization  
/SPARTAN/trunk/generic/src/mm/frame.c
486 6782 d 6 h jermar /SPARTAN/trunk/ Revert to -O3 for all architectures as the mips32 bug got fixed.  
/SPARTAN/trunk/Makefile
/SPARTAN/trunk/arch/amd64/Makefile.inc
/SPARTAN/trunk/arch/ia32/Makefile.inc
/SPARTAN/trunk/arch/ia64/Makefile.inc
/SPARTAN/trunk/arch/mips32/Makefile.inc
/SPARTAN/trunk/arch/ppc32/Makefile.inc
/SPARTAN/trunk/arch/sparc64/Makefile.inc
485 6782 d 6 h decky /SPARTAN/trunk/ fix small clean bug  
/SPARTAN/trunk/Makefile
484 6782 d 7 h palkovsky /SPARTAN/trunk/arch/mips32/src/ Fixed typo in context save.  
/SPARTAN/trunk/arch/mips32/src/context.S
483 6782 d 9 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.
 
/SPARTAN/trunk/Makefile
/SPARTAN/trunk/Makefile.config
/SPARTAN/trunk/arch/amd64/Makefile.inc
/SPARTAN/trunk/arch/ia32/Makefile.inc
/SPARTAN/trunk/arch/ia64/Makefile.inc
/SPARTAN/trunk/arch/mips32/Makefile.inc
/SPARTAN/trunk/arch/mips32/include/atomic.h
/SPARTAN/trunk/arch/mips32/include/cpu.h
/SPARTAN/trunk/arch/mips32/src/interrupt.c
/SPARTAN/trunk/arch/ppc32/Makefile.inc
/SPARTAN/trunk/arch/sparc64/Makefile.inc
/SPARTAN/trunk/generic/include/arch.h
/SPARTAN/trunk/generic/include/config.h
/SPARTAN/trunk/generic/include/cpu.h
/SPARTAN/trunk/generic/include/proc/scheduler.h
/SPARTAN/trunk/generic/include/synch/rwlock.h
/SPARTAN/trunk/generic/include/typedefs.h
/SPARTAN/trunk/generic/src/proc/scheduler.c
/SPARTAN/trunk/test/fpu/fpu1/test.c
/SPARTAN/trunk/test/fpu/mips1/test.c
/SPARTAN/trunk/test/fpu/sse1/test.c
/SPARTAN/trunk/test/synch/rwlock5/test.c
482 6783 d 9 h jermar /SPARTAN/trunk/generic/include/ Fix typo in buddy.h.
Make default memsize 8M.
 
/SPARTAN/trunk/generic/include/config.h
/SPARTAN/trunk/generic/include/mm/buddy.h
481 6784 d 6 h vana /SPARTAN/trunk/arch/ia32/include/ Revert of =m in ia32 atomic operations. In according to gcc docs +m should be right but as Jakub said it is not working
with amd64 but =m is... and I'm not able to build tools for that platform to test it now :-( . (Maybe bug in gcc ???)
 
/SPARTAN/trunk/arch/ia32/include/atomic.h
480 6784 d 8 h bondari /SPARTAN/trunk/generic/ Buddy system allocator implementation. Not checked. For review only.  
/SPARTAN/trunk/generic/include/mm/buddy.h
/SPARTAN/trunk/generic/include/mm/frame.h
/SPARTAN/trunk/generic/src/mm/frame.c
479 6785 d 10 h bondari /SPARTAN/trunk/generic/ Buddy system implementation. Not functional yet - only framework prepeared.
Also added 2 macros FRAME2ADDR and ADDR2FRAME.
 
/SPARTAN/trunk/generic/include/mm/frame.h
/SPARTAN/trunk/generic/src/mm/frame.c
478 6785 d 12 h jermar /SPARTAN/trunk/ Re-aply mistakenly reverted changes.  
/SPARTAN/trunk/Makefile.config
/SPARTAN/trunk/arch/ia64/include/atomic.h
/SPARTAN/trunk/arch/ia64/src/ivt.S
477 6785 d 15 h vana /SPARTAN/trunk/ Atomic inc & dec functions synchronized on all ia32,ia64 and mips platforms. Now there are 3 versions which returns no value, new value and old value och changed variable.  
/SPARTAN/trunk/Makefile.config
/SPARTAN/trunk/arch/ia32/include/atomic.h
/SPARTAN/trunk/arch/ia64/include/atomic.h
/SPARTAN/trunk/arch/ia64/src/ivt.S
/SPARTAN/trunk/arch/mips32/include/atomic.h
476 6785 d 16 h jermar /SPARTAN/trunk/arch/ia64/ ia64 CPU identification.  
/SPARTAN/trunk/arch/ia64/include/cpu.h
/SPARTAN/trunk/arch/ia64/include/register.h
/SPARTAN/trunk/arch/ia64/src/cpu/cpu.c
/SPARTAN/trunk/arch/ia64/src/dummy.s
475 6786 d 15 h jermar /SPARTAN/trunk/ Define atomic_t type.  
/SPARTAN/trunk/arch/ia32/include/atomic.h
/SPARTAN/trunk/arch/ia64/include/atomic.h
/SPARTAN/trunk/arch/mips32/include/atomic.h
/SPARTAN/trunk/arch/ppc32/include/atomic.h
/SPARTAN/trunk/arch/sparc64/include/atomic.h
/SPARTAN/trunk/generic/include/proc/scheduler.h
/SPARTAN/trunk/generic/src/proc/scheduler.c
/SPARTAN/trunk/generic/src/proc/thread.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
474 6786 d 15 h decky /SPARTAN/trunk/ clean test directory  
/SPARTAN/trunk/Makefile
473 6787 d 6 h jermar /SPARTAN/trunk/arch/ia64/src/ ia64 work.
Comment some offending steps of heavyweight interrupt handler regarding RSE switching.
With this change, ia64 will do well on tests rwlock #4 and thread #1.
Cleanup.
 
/SPARTAN/trunk/arch/ia64/src/cpu/cpu.c
/SPARTAN/trunk/arch/ia64/src/ivt.S
/SPARTAN/trunk/arch/ia64/src/start.S
472 6787 d 14 h jermar /SPARTAN/trunk/ Changes in build system.
For .S targets, always do -D__ASM__.
Remove unnecessary #define __ASM__ from various *.S files.
At the end of build, generate disassembler dump for kernel.raw.

ia64 work.
Better General Exception handler.
 
/SPARTAN/trunk/Makefile
/SPARTAN/trunk/arch/amd64/src/asm_utils.S
/SPARTAN/trunk/arch/amd64/src/boot/boot.S
/SPARTAN/trunk/arch/amd64/src/smp/ap.S
/SPARTAN/trunk/arch/ia32/src/boot/boot.S
/SPARTAN/trunk/arch/ia64/include/asm.h
/SPARTAN/trunk/arch/ia64/include/interrupt.h
/SPARTAN/trunk/arch/ia64/include/register.h
/SPARTAN/trunk/arch/ia64/src/interrupt.c
/SPARTAN/trunk/arch/ia64/src/ivt.S
/SPARTAN/trunk/arch/mips32/src/context.S
/SPARTAN/trunk/arch/mips32/src/start.S
/SPARTAN/trunk/arch/sparc64/src/context.S
471 6787 d 14 h decky /SPARTAN/trunk/ remove NDEBUG, replace it by ~CONFIG_DEBUG
set CONFIG_DEBUG = y
 
/SPARTAN/trunk/Makefile
/SPARTAN/trunk/Makefile.config
/SPARTAN/trunk/generic/include/debug.h
/SPARTAN/trunk/generic/include/panic.h

Show All