Subversion Repositories HelenOS

Rev

Go to most recent revision | Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
2725 5978 d 15 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)
 
2723 5979 d 13 h decky /trunk/kernel/arch/ remove memory_print_map(), as it duplicates functionality of physmem_print()  
2721 5979 d 15 h decky /trunk/kernel/ convert e820list to a generic physmem command  
2467 6216 d 11 h jermar /trunk/ Improve comments for arch-specific implementations of hierarchical
4-level page tables. Improve formatting.
 
2465 6221 d 14 h jermar /trunk/ Merge arm32 into trunk.  
2089 6352 d 16 h decky /trunk/ huge type system cleanup
remove cyclical type dependencies across multiple header files
many minor coding style fixes
 
2071 6363 d 9 h jermar /trunk/ (c) versus (C)  
2007 6410 d 7 h jermar /trunk/kernel/ Introduce page colors. So far, only sparc64 uses correct page color bits. Other architectures have a dummy define
specifying zero bits for a page color.

There is a new check of page color in as_area_share(). Because of lack of support for this in the userspace, the
check has been #ifef'ed out.
 
1891 6484 d 7 h jermar /trunk/kernel/ sparc64 work:
- Experimental support for TSB (Translation Storage Buffer).
 
1890 6484 d 18 h jermar /trunk/ - Create a dedicated slab cache for as_t objects and switch from malloc/free to slab_alloc/slab_free for
them.

- Slightly fix and improve both the kernel and userspace atomic_add() on sparc64.

- More TSB work on the sparc64 front.
 
1889 6485 d 9 h jermar /trunk/kernel/ Fix bug in mm/as.c:
- as_area_destroy() should not work with AS but as

sparc64 work:
- start implementing TSB support
 
1888 6488 d 12 h jermar /trunk/ C99 compliant header guards (hopefully) everywhere in the kernel.
Formatting and indentation changes.
Small improvements in sparc64.
 
1787 6553 d 11 h decky / move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot  
1780 6560 d 12 h jermar /kernel/trunk/ Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.).  
1730 6577 d 5 h decky /kernel/trunk/arch/ppc32/ ppc32: BAT-less memory mapping (broken yet)
VSID support (broken yet)
boot API change
cleanup
 
1726 6577 d 12 h decky /kernel/trunk/arch/ppc32/ ppc32: more generic page hash table handling
(preliminary code, will be fixed properly later)
 
1702 6581 d 15 h cejka /kernel/trunk/ Kernel doxygen comments updated.  
1609 6588 d 16 h decky /kernel/trunk/arch/ppc32/ generalize ppc32 exception handling  
1511 6592 d 15 h palkovsky /kernel/trunk/arch/ Remove __address from include file included by uspace  
1475 6594 d 6 h jermar /kernel/trunk/arch/ Fix ppc32 and ppc64 to compile again.  
1423 6598 d 16 h jermar /kernel/trunk/ Update page fault handlers to distinguish between different access modes that had caused the page fault.  
1398 6604 d 9 h decky /kernel/trunk/arch/ port ppc32 changes to ppc64 (raw)  
1388 6604 d 11 h bondari /kernel/trunk/arch/ppc32/include/mm/  
1374 6607 d 6 h decky /kernel/trunk/arch/ppc32/ ppc32 work
update framebuffer
get rid of the BAT memory mapping (not finished yet)
 
1270 6624 d 8 h decky /kernel/trunk/arch/ppc32/ page index and VSID fixes  
1269 6624 d 10 h decky /kernel/trunk/ PHT Refill handler  
1215 6633 d 9 h decky /kernel/trunk/arch/ ppc32: stub for Page Hash Table support  
1070 6669 d 19 h jermar /kernel/trunk/ More checks for address space area conflicts.  
977 6672 d 15 h jermar /kernel/trunk/ Add sys_mremap() syscall.  
970 6672 d 18 h decky /kernel/trunk/arch/ppc32/ ppc32: get memory map from loader  
967 6672 d 19 h palkovsky /kernel/trunk/ Allowed userspace to include page.h.  
957 6673 d 9 h decky /kernel/trunk/arch/ run ppc32 kernel above 2 GB  
951 6673 d 14 h decky /kernel/trunk/arch/ppc32/ ppc32 boots again (temporarily)  
940 6674 d 10 h jermar /kernel/trunk/ Get rid of unneeded macros.
Their functionality has been replaced by the ELF loader.
 
934 6674 d 12 h decky /kernel/trunk/arch/ppc32/ remove all OpenFirmware bindings from ppc32 kernel code
kernel now runs in real mode (ppc32)
 
867 6692 d 14 h jermar /kernel/trunk/ Move OFW functionality of ppc32 memory_init to genarch so that the code can also be used by sparc64.
sparc64 is now close to broken as it lacks functionality to provide identity mapping for the whole phyisical memory.
 
843 6698 d 9 h palkovsky /kernel/trunk/ Made powerpc to get on PearPC to the version print when compiled with -O1:
- create proper memory zones
- switch to real mode on boot
TODO
- kernel relocation during boot
- autodetection of framebuffer settings (PCI?) - now includes hardcoded
settings for PearPc.
 
833 6702 d 4 h jermar /kernel/trunk/arch/ppc32/include/mm/ Fix ppc32 to at least compile again.  
823 6706 d 6 h jermar /kernel/trunk/ Reimplement ASID stealing logic.
This time, hopefully, with correct synchronization.
 
765 6712 d 8 h jermar /kernel/trunk/ Add PAGE_WIDTH to aid divisions by PAGE_SIZE.