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
386 6837 d 8 h jermar /SPARTAN/trunk/src/synch/ Doxygen-style comments for mutex.c.  
/SPARTAN/trunk/src/synch/mutex.c
385 6837 d 9 h jermar /SPARTAN/trunk/src/synch/ Doxygen-style comments for rwlock.c.  
/SPARTAN/trunk/src/synch/rwlock.c
384 6837 d 10 h jermar /SPARTAN/trunk/src/synch/ Doxygen-style comments for semaphore.c.  
/SPARTAN/trunk/src/synch/semaphore.c
383 6837 d 11 h jermar /SPARTAN/trunk/src/synch/ Doxygen-style comments for spinlock.c.  
/SPARTAN/trunk/src/synch/spinlock.c
382 6838 d 3 h jermar /SPARTAN/trunk/src/synch/ Doxygen-style comments for waitq.c.  
/SPARTAN/trunk/src/synch/waitq.c
381 6840 d 3 h jermar /SPARTAN/trunk/ Make cross-compiler the default compiler on IA-32.
For native compilations, use ./build.ia32 native.

Small changes elsewhere.
 
/SPARTAN/trunk/Makefile.config
/SPARTAN/trunk/arch/ia32/Makefile.inc
/SPARTAN/trunk/arch/ia32/_link.ld.in
/SPARTAN/trunk/arch/ia32/src/asm.S
/SPARTAN/trunk/build.ia32
/SPARTAN/trunk/include/fpu_context.h
/SPARTAN/trunk/include/mm/buddy.h
/SPARTAN/trunk/include/mm/heap.h
/SPARTAN/trunk/include/typedefs.h
/SPARTAN/trunk/src/mm/buddy.c
380 6840 d 5 h jermar /SPARTAN/trunk/include/ Implement splitting and concatenation for headless doubly-linked circular lists.
This is going to be needed during implementation of buddy system operations for zones.
Add doxygen-style comments to all functions in list.h.
 
/SPARTAN/trunk/include/list.h
379 6841 d 12 h jermar /SPARTAN/trunk/src/mm/ Optimize buddy_system_free().
Remove special-case code from the main codepath.
 
/SPARTAN/trunk/src/mm/buddy.c
378 6841 d 13 h jermar /SPARTAN/trunk/ Redeclare eraly_malloc() with __attribute__ ((malloc)) to improve optimizations.

Reorganize #include's in scheduler.c.

Buddy system improvements.
Make buddy_system_free() explicitly invalidate order of blocks before they are coalesced.
Add some assertions.
 
/SPARTAN/trunk/include/mm/buddy.h
/SPARTAN/trunk/include/mm/heap.h
/SPARTAN/trunk/src/mm/buddy.c
/SPARTAN/trunk/src/proc/scheduler.c
377 6844 d 5 h jermar /SPARTAN/trunk/ Generic buddy allocator.
Please review the code before it is deployed.
 
/SPARTAN/trunk/include/mm/buddy.h
/SPARTAN/trunk/src/mm/buddy.c
/SPARTAN/trunk/Makefile
/SPARTAN/trunk/include/typedefs.h
376 6844 d 9 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
375 6844 d 9 h jermar /SPARTAN/trunk/src/mm/ Replace free() call with early_free() call in zone_create().  
/SPARTAN/trunk/src/mm/frame.c
374 6846 d 3 h jermar /SPARTAN/trunk/ Revert previous change in frame_t as it broke IA-64.
(Most likely some alignment problem.)

Rename heap_init(), malloc() and free(), respectively, to early_heap_init(), early_malloc() and early_free(), respectively.
Define new macros malloc() and free(). They are to be replaced by real functions some day.
 
/SPARTAN/trunk/include/mm/frame.h
/SPARTAN/trunk/include/mm/heap.h
/SPARTAN/trunk/src/main/main.c
/SPARTAN/trunk/src/mm/frame.c
/SPARTAN/trunk/src/mm/heap.c
373 6846 d 5 h jermar /SPARTAN/trunk/ Physical memory management work.
Add "__attribute__ ((packed))" to frame_t so that it takes up less space.
Note that this is essential as there is lot of these structures.
Remove busy list from zone_t as it is redundant.
 
/SPARTAN/trunk/include/mm/frame.h
/SPARTAN/trunk/src/main/main.c
/SPARTAN/trunk/src/mm/frame.c
372 6847 d 11 h cejka /SPARTAN/trunk/arch/ia32/src/mm/ Memmap print fixed.  
/SPARTAN/trunk/arch/ia32/src/mm/memory_init.c
371 6848 d 3 h jermar /SPARTAN/trunk/arch/ia32/src/ Complete map_kernel() in boot.S to map the entire 4G space.

Change IA-32 frame_arch_init() to add zone with lower base addresses first.
 
/SPARTAN/trunk/arch/ia32/src/boot/boot.S
/SPARTAN/trunk/arch/ia32/src/mm/frame.c
370 6848 d 5 h jermar /SPARTAN/trunk/arch/ia32/src/acpi/ During MADT parse, count only enabled CPUs.  
/SPARTAN/trunk/arch/ia32/src/acpi/madt.c
369 6848 d 6 h jermar /SPARTAN/trunk/src/main/ The more physical frames, the more memory allocated for heap.  
/SPARTAN/trunk/src/main/main.c
368 6848 d 12 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
367 6849 d 3 h jermar /SPARTAN/trunk/ Physical memory management work.
Implement zone_*() and some frame_*() functions.
 
/SPARTAN/trunk/include/mm/frame.h
/SPARTAN/trunk/src/mm/frame.c

Show All