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
824 6715 d 9 h palkovsky /kernel/trunk/ Use less frames for zone configuration data after merge.  
822 6715 d 20 h palkovsky /kernel/trunk/ Changed malloc to include second parameter and documented
recommended usage.
Added zone merging, made ia32 & amd64 to merge found zones.
 
816 6716 d 5 h jermar /kernel/trunk/ Fix mapping1 test.

Cleanup.
 
814 6716 d 6 h palkovsky /kernel/trunk/ Cleanup o frame allocator.
Removed early_malloc & initial heap.
Will break ia64, ppc & sparc.
Added e820 table print.
 
786 6719 d 3 h bondari /kernel/trunk/ frame_alloc() functions variations in order to avoid problems with frame_alloc_generic() changes.
IMPORTANT: Parameter order for frame_alloc() was changed
 
780 6719 d 21 h palkovsky /kernel/trunk/ Small fix in slab allocator for large-sized slabs.  
773 6720 d 17 h palkovsky /kernel/trunk/ Added slab stress test.
Fixed race condition in slab allocator.
Moved initialization of slab to the point where we know correct config.cpu_count
Correctly passes tests on amd64, ia32 in both bochs & qemu.
 
772 6720 d 18 h palkovsky /kernel/trunk/ Fixed non-initialized cpu-cache.  
768 6721 d 19 h palkovsky /kernel/trunk/ Debugged slab allocator. It currently supports per-CPU cache on 1 cpu.  
767 6721 d 20 h palkovsky /kernel/trunk/ Partially working SLAB CPU cache.  
766 6721 d 21 h palkovsky /kernel/trunk/ Basic SLAB (without CPU-cache) passes test.  
764 6722 d 3 h palkovsky /kernel/trunk/ Tested basic non-cached slab allocation.  
762 6722 d 5 h palkovsky /kernel/trunk/ Currently not-working SLAB allocator.
- slightly changed interface to frame_alloc, allow zone preference
 
759 6722 d 17 h palkovsky /kernel/trunk/ Skeleton of SLAB allocator.  
756 6723 d 19 h jermar /kernel/trunk/ Memory management work.
Remove the last (i.e. 'root') argument from page_mapping_insert() and page_mapping_find().
Page table address is now extracted from the first (i.e. 'as') argument.
Add a lot of infrastructure to make the above possible.
sparc64 is now broken, most likely because of insufficient identity mapping of physical memory.
 
755 6724 d 18 h jermar /kernel/trunk/ Change page_mapping_find/insert interfaces to take as_t * as first argument
and not asid_t as second argument. This change was necessitated by the
removal of mapping array from as_area_t and the fact that an address
space doesn't have an ASID when it is created.
 
745 6729 d 22 h jermar /kernel/trunk/test/mm/ Fix and cleanup frame allocator tests.
falloc1:
- fix so that it compiles on ia64
- check that frames is not NULL
falloc2:
- threads cannot be passed argument in the way this test did
(otherwise some threads will use the same value for val)
- check that frames is not NULL
- free frames at the end of the test
 
735 6733 d 2 h bondari /kernel/trunk/ Fixes, comments, tests to frame allocator  
733 6733 d 4 h bondari /kernel/trunk/test/mm/falloc2/ frame allocator test #2  
724 6737 d 22 h palkovsky /kernel/trunk/ Commit of the falloc_bad branch to trunk (719:723).  
692 6747 d 1 h bondari /kernel/trunk/ Frame allocation test #2  
689 6747 d 2 h bondari /kernel/trunk/ Frame alloc test #1  
687 6747 d 2 h jermar /kernel/trunk/ Memory management work.
Pass address space identifier to functions in page_operations to support single global page hash table.
 
674 6751 d 7 h cejka /kernel/trunk/ Support for printing float numbers in kernel removed.  
627 6771 d 2 h jermar /kernel/trunk/ Fix ia64 and sparc64 to compile with new atomic_t.
Fix rwlock test #5 and semaphore test #1 to compile with new atomic_t.

sparc64 work.
TBA must be set before a function call when MMU is switched off.
 
625 6771 d 3 h palkovsky /kernel/trunk/ We are now almost -Wall clean.
- redefined atomic_t
- deleted many, many unused variables
- some minor code cleanups found using compiler warning.
 
623 6771 d 8 h jermar /kernel/trunk/ Add SPINLOCK_DECLARE and SPINLOCK_INITIALIZE macros.
SPINLOCK_DECLARE is to be used instead of direct spinlock_t declarations
in dynamically allocated structures on which spinlock_initialize() is called after
their creation.
SPINLOCK_INITIALIZE is to be used instead of direct spinlock_t declarations
of global spinlocks. It declares and initializes the spinlock.
Moreover, both macros are empty on UP so that -Wall warnings about unused structures
get supressed.
 
609 6774 d 2 h palkovsky /kernel/trunk/ added support for breakpoints to mips32  
548 6779 d 23 h jermar /kernel/trunk/ Cleanup and fixes.  
534 6781 d 23 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel again.  
532 6781 d 23 h jermar / Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch.  
501 6794 d 4 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel.  
492 6794 d 21 h jermar /SPARTAN/trunk/ Rename map_page_to_frame() to page_mapping_insert() and find_mapping() to page_mapping_find().
New names should make it more apparent that these two belong together.
 
483 6801 d 23 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.
 
475 6806 d 5 h jermar /SPARTAN/trunk/ Define atomic_t type.  
413 6829 d 19 h jermar /SPARTAN/trunk/ Rename cpu_priority_{high|low|restore|read} functions to interrupts_{disable|enable|restore|read}.
Rename pri_t to ipl_t (Interrupt Priority Level).
Rename thread_t::pri to thread_t::priority.
 
401 6839 d 9 h jermar /SPARTAN/trunk/test/mm/mapping1/ Finalize mm mapping test #1 once again.  
400 6839 d 9 h jermar /SPARTAN/trunk/ Finalize mapping1 test.
Record omitted excMod bug in msim.
 
399 6839 d 20 h jermar /SPARTAN/trunk/ mips32 memory management work.
TLB exceptions seem to be working on at least simics.
msim handles TLB Refill and TLB Invalid exceptions well,
but seems to skip writes to the mapped addressies in mm
mapping test #1 (the data is not written and exception
is not triggered).
 
397 6840 d 9 h jermar /SPARTAN/trunk/ Small changes to mips32 mm.
Small changes in mm mapping test #1.