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
815 6665 d 4 h jermar /kernel/trunk/ Fix sparc64 and ia64 to work with the changed frame allocator.

Fix ppc32 to at least compile.
 
814 6665 d 5 h palkovsky /kernel/trunk/ Cleanup o frame allocator.
Removed early_malloc & initial heap.
Will break ia64, ppc & sparc.
Added e820 table print.
 
813 6665 d 17 h jermar /kernel/trunk/ Change ia64 kernel image to link and load at 0x100000 where
it (or its heap or stack) won't mess up with the ROM region.

Blacklist ia64 frame 0 from frame allocator so that 0 won't be
returned to malloc and friends. This can be reenabled again
once the kernel is not identity mapped.
 
788 6667 d 23 h jermar /kernel/trunk/ Move list and fifo data types to adt/.  
735 6682 d 0 h bondari /kernel/trunk/ Fixes, comments, tests to frame allocator  
701 6693 d 19 h jermar /kernel/trunk/generic/src/mm/ Fix zone_print_one() and zone_print_list().
- add missing spinlock_unlock()
- add missing interrupts_disable() and interrupts_restore()
Coding style fixes and cleanup.
 
686 6696 d 2 h bondari /kernel/trunk/generic/ Minor changes to 'zone' command  
683 6696 d 3 h bondari /kernel/trunk/generic/ Console command 'zone' now takes zone address as parameter.
Added buddy system statistics into the 'zone' command.
 
534 6730 d 22 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel again.  
533 6730 d 22 h bondari /SPARTAN/trunk/ Buddy allocator for physical memory complete implementation.
Tested on IA32, AMD64, MIPS32. RWLock Test #5 is not passed.
NOTE: Other architectures could be broken (but should not be)
 
532 6730 d 22 h jermar / Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch.  
501 6743 d 2 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel.  
490 6750 d 1 h jermar /SPARTAN/trunk/generic/src/mm/ Fix typo and clean up comments.  
489 6750 d 1 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.
 
430 6763 d 19 h jermar /SPARTAN/trunk/ Move src/ and include/ to generic.  
381 6796 d 18 h jermar /SPARTAN/trunk/ Make cross-compiler the default compiler on IA-32.
For native compilations, use ./build.ia32 native.

Small changes elsewhere.
 
379 6798 d 4 h jermar /SPARTAN/trunk/src/mm/ Optimize buddy_system_free().
Remove special-case code from the main codepath.
 
378 6798 d 4 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.
 
377 6800 d 21 h jermar /SPARTAN/trunk/ Generic buddy allocator.
Please review the code before it is deployed.