Subversion Repositories HelenOS

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
778 6848 d 5 h palkovsky /kernel/trunk/ Fixed boot process not to call malloc when slab not initialized.
Added simics workaround.
 
703 6870 d 11 h jermar /kernel/trunk/ Memory management work.
- vm.* -> as.* (as like address space is, imho, more fitting)
- Don't do TLB shootdown on vm_install(). Some architectures only need to call tlb_invalidate_asid().
- Don't allocate all frames for as_area in as_area_create(), but let them be allocated on-demand by as_page_fault().
- Add high-level page fault handler as_page_fault().
- Add as_area_load_mapping().
 
693 6875 d 6 h decky /kernel/trunk/arch/ia32/ simplify and cleanup ia32 boot process, remove obsolete stuff  
625 6899 d 8 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.
 
564 6907 d 1 h jermar /kernel/trunk/ Send in some improvements.  
540 6909 d 1 h jermar /kernel/trunk/arch/ Map all available frames of memory on ia32 and amd64 (ticket #10).  
537 6909 d 7 h jermar /kernel/trunk/ Buddy system cleanup and fixes.
- missing use of KA2PA in frame_init
- truncating black list addresses to frame boundaries
- removal of left-over obsolete structures
- fixing some comments
 
534 6910 d 5 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel again.  
533 6910 d 5 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 6910 d 5 h jermar / Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch.  
501 6922 d 9 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel.  
371 6984 d 2 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.
 
368 6984 d 11 h jermar /SPARTAN/trunk/ Physical memory management work.
New frame allocator.
Some architectures need to have bigger heap.
 
267 7002 d 9 h decky /SPARTAN/trunk/arch/ia32/ proper way of initializing GDT during boot on IA-32, fixes the nasty hack
SMP might be still broken
 
247 7003 d 7 h jermar /SPARTAN/trunk/arch/ia32/src/mm/ Fix nasty bug in arch/mm/frame.c.
frame_region_not_free() takes address as its second argument, not size.
 
246 7003 d 7 h decky /SPARTAN/trunk/arch/ia32/src/mm/ make IA-32 UP work again (nasty hack)  
235 7004 d 8 h decky /SPARTAN/trunk/ load the kernel above 1 MB on IA-32  
187 7006 d 11 h cejka /SPARTAN/trunk/ Licence to print1/test.c added.
New function for printing memory map at ia32.
 
182 7006 d 15 h cejka /SPARTAN/trunk/ Test for printf added.  
177 7007 d 12 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.
 

Show All