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
3973 5644 d 9 h decky /trunk/kernel/ kernel memory management revisited (phase 2): map physical memory according to zones
- ia32: register reserved and ACPI zones
- pareas are now used only for mapping of present physical memory (hw_area() is gone)
- firmware zones and physical addresses outside any zones are allowed to be mapped generally
- fix nasty antient bug in zones_insert_zone()
 
3967 5646 d 3 h decky /trunk/kernel/arch/mips32/src/mm/ remove typo  
3966 5646 d 3 h decky /trunk/kernel/arch/mips32/src/mm/ replace old ifdefs  
3910 5654 d 19 h decky /trunk/kernel/arch/mips32/ eliminate non-standard -D$(MACHINE)  
3908 5655 d 1 h decky /trunk/ overhaul pareas: use one single physical area for the physical address space not belonging to physical memory  
3880 5659 d 0 h decky /trunk/kernel/arch/ simplify configuration
introduce arch_construct_function and inb/outb (sometimes empty) on all platforms
various code cleanup
 
3236 5859 d 0 h decky /trunk/kernel/arch/mips32/src/mm/ limit physical memory to 512 MB (more cannot be used right now, see ticket #29)
fix physical memory detection in gxemul (which doesn't honor uncached flag in TLB)
 
3232 5859 d 7 h decky /trunk/kernel/arch/mips32/src/mm/ fixes  
3231 5859 d 7 h decky /trunk/kernel/arch/mips32/src/mm/ finer granularity (256 KiB)  
3230 5859 d 7 h decky /trunk/kernel/arch/mips32/ fix off-by-one bug
cleanup
 
3228 5859 d 16 h decky /trunk/ physical memory detection in MSIM (discontinous regions supported)
remove Sgi Indy (ARC) support -- it was unmaintaned, untested for years and without uspace support
 
2725 6031 d 6 h decky /trunk/kernel/ remove config.memory_size, get_memory_size() and memory_init.{c|d}
the amount of available memory can be calculated from the sizes of the zones
add FRAMES2SIZE, SIZE2KB and SIZE2MB functions/macros (code readability)
 
2722 6032 d 6 h decky /trunk/kernel/arch/mips32/ convert ARC specific commands to generic ones  
2071 6416 d 0 h jermar /trunk/ (c) versus (C)  
1787 6606 d 2 h decky / move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot  
1776 6613 d 5 h jermar /kernel/trunk/arch/mips32/ Typos and indentation fixes for mips32 and some generic files as well.  
1702 6634 d 6 h cejka /kernel/trunk/ Kernel doxygen comments updated.  
836 6753 d 21 h palkovsky /kernel/trunk/ Added support for 24-bit framebuffer.  
815 6759 d 7 h jermar /kernel/trunk/ Fix sparc64 and ia64 to work with the changed frame allocator.

Fix ppc32 to at least compile.
 
814 6759 d 8 h palkovsky /kernel/trunk/ Cleanup o frame allocator.
Removed early_malloc & initial heap.
Will break ia64, ppc & sparc.
Added e820 table print.
 
724 6780 d 23 h palkovsky /kernel/trunk/ Commit of the falloc_bad branch to trunk (719:723).  
573 6820 d 2 h palkovsky /kernel/trunk/ Added MIPS ARC memory initializaiton.  
536 6824 d 23 h bondari /kernel/trunk/ Minor bugfix caused by invalid frame_region_not_free() usage  
534 6825 d 1 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel again.  
533 6825 d 1 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 6825 d 1 h jermar / Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch.  
501 6837 d 5 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel.  
368 6899 d 7 h jermar /SPARTAN/trunk/ Physical memory management work.
New frame allocator.
Some architectures need to have bigger heap.
 
341 6908 d 7 h jermar /SPARTAN/trunk/ Rename mips port to mips32.  
329 6910 d 3 h palkovsky /SPARTAN/trunk/ Basic changes to boot it on SGI Indy.  
326 6910 d 19 h palkovsky /SPARTAN/trunk/ Cleanup of makefiles to have common options in one main makefile.

Add simple build process for different simulators for MIPS.
Added FPU context & lazy FPU context switching to MIPS.
Cleanup of MIPS linker script.
Moved MIPS kernel above 1MB. Not tested on real machine yet, but it might help.

There is something broken with gcc inlined memcpy (either simulator or gcc), it is disabled on BigEndian mips now.
 
113 7005 d 20 h jermar /SPARTAN/trunk/ SMP recovery patch #2 (SMP is no longer broken !!!).
Fix missing KA2PA() operation in ap.S which was causing page faults during AP early initialization.
Fix bug in map_page_to_frame(): 'root' was interpretted as kernel address while read_dba() returns physical address.
Make references to page directory and page tables use kernel addresses instead of physical addresses.

Massive frame allocation code cleanup.
Basically revert to what we had had before implementation of userspace.

Usual cosmetics.
 
1 7114 d 3 h jermar /SPARTAN/ Initial import