Subversion Repositories HelenOS

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
3973 5564 d 11 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()
 
3940 5571 d 5 h decky /trunk/kernel/ make hw_area API more generic
this allows mapping of EGA VRAM on ia32/amd64
 
3908 5575 d 3 h decky /trunk/ overhaul pareas: use one single physical area for the physical address space not belonging to physical memory  
2071 6336 d 2 h jermar /trunk/ (c) versus (C)  
1888 6461 d 5 h jermar /trunk/ C99 compliant header guards (hopefully) everywhere in the kernel.
Formatting and indentation changes.
Small improvements in sparc64.
 
1787 6526 d 4 h decky / move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot  
1780 6533 d 5 h jermar /kernel/trunk/ Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.).  
1702 6554 d 8 h cejka /kernel/trunk/ Kernel doxygen comments updated.  
1396 6577 d 2 h palkovsky /kernel/trunk/ Fixed mips to compile with fb (missing hw_map).
Fixed mips hw virt/phys addresses of fb.
Moved fb_init to post_mm, because it needs malloc().
 
793 6681 d 7 h jermar /kernel/trunk/ Use hash_table_get_instance instead of list_get_instance.
Rename page_operations to page_mapping_operations.
Rename page_pt_operations to pt_mapping_operations.
Rename page_ht_operations to ht_mapping_operations.
 
760 6685 d 10 h jermar /kernel/trunk/ mips32 is not supposed to allocate page table.
This is done by the generic code now.
Remove PTL0 pointer as it is not needed.

Remove GET_PTL0_ADDRESS from kernel.

Update sparc64 comments in barrier.h.
 
689 6710 d 6 h bondari /kernel/trunk/ Frame alloc test #1  
684 6710 d 7 h jermar /kernel/trunk/ Memory management work.
Move generic 4-level page table interface to genarch
and enable architectures to use different virtual memory
mechanisms (e.g. page hash tables).
Start page hash table support.
Switch ia64 and sparc64 to page hash tables.
Other architectures keep on using 4-level page table interface.
 
548 6743 d 3 h jermar /kernel/trunk/ Cleanup and fixes.  
534 6745 d 3 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel again.  
533 6745 d 3 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 6745 d 3 h jermar / Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch.  
501 6757 d 7 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel.  
341 6828 d 9 h jermar /SPARTAN/trunk/ Rename mips port to mips32.  
319 6833 d 12 h jermar /SPARTAN/trunk/arch/mips/ Copyright notices changes.  
195 6841 d 3 h vana /SPARTAN/trunk/ 1) memcopy and _memcopy functions rewriten to ANSI C norm.
2) Repaired ia32,ia64 and mips version of SPARTAN to work with this memcopy functions
3) Warning for non declared funcions added and repaired ia32,ia64 and mips versions to pass build process with this warning and Werror option
 
121 6888 d 0 h jermar /SPARTAN/trunk/ Begin MIPS implementation of 4-level page table interface.

Add email address to each item in doc/AUTHORS.

Correct type names in comments in mm/vm.c.
Introduce ptl0 pointer in vm_t.
 
120 6901 d 23 h jermar /SPARTAN/trunk/ Generic 4-level page tables interface & implementation (review & test).
Implement more architecture dependant macros on IA-32.
Provide fake implementation on IA-64 and MIPS.
Convert map_page_to_frame() to use the new interface.
Move adjusted map_page_to_frame() from IA-32's arch/mm/page.c to the generic mm/page.c.
 
109 6929 d 3 h jermar /SPARTAN/trunk/ Discard 'copy' parameter of map_page_to_frame().
Introduce 'root' parameter of map_page_to_frame().
If 'root' is zero, page directory address is read from CPU.
Otherwise 'root' is used as page directory address.

Add missing word to new doxygen-style comments in scheduler.c.
 
1 7034 d 5 h jermar /SPARTAN/ Initial import