Rev |
Age |
Author |
Path |
Log message |
Diff |
1889 |
6599 d 8 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 |
6602 d 11 h |
jermar |
/trunk/ |
C99 compliant header guards (hopefully) everywhere in the kernel.
Formatting and indentation changes.
Small improvements in sparc64. |
|
1787 |
6667 d 9 h |
decky |
/ |
move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot |
|
1780 |
6674 d 11 h |
jermar |
/kernel/trunk/ |
Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.). |
|
1730 |
6691 d 3 h |
decky |
/kernel/trunk/arch/ppc32/ |
ppc32: BAT-less memory mapping (broken yet)
VSID support (broken yet)
boot API change
cleanup |
|
1726 |
6691 d 10 h |
decky |
/kernel/trunk/arch/ppc32/ |
ppc32: more generic page hash table handling
(preliminary code, will be fixed properly later) |
|
1702 |
6695 d 13 h |
cejka |
/kernel/trunk/ |
Kernel doxygen comments updated. |
|
1609 |
6702 d 14 h |
decky |
/kernel/trunk/arch/ppc32/ |
generalize ppc32 exception handling |
|
1511 |
6706 d 13 h |
palkovsky |
/kernel/trunk/arch/ |
Remove __address from include file included by uspace |
|
1475 |
6708 d 5 h |
jermar |
/kernel/trunk/arch/ |
Fix ppc32 and ppc64 to compile again. |
|
1423 |
6712 d 14 h |
jermar |
/kernel/trunk/ |
Update page fault handlers to distinguish between different access modes that had caused the page fault. |
|
1398 |
6718 d 7 h |
decky |
/kernel/trunk/arch/ |
port ppc32 changes to ppc64 (raw) |
|
1388 |
6718 d 9 h |
bondari |
/kernel/trunk/arch/ppc32/include/mm/ |
|
|
1374 |
6721 d 4 h |
decky |
/kernel/trunk/arch/ppc32/ |
ppc32 work
update framebuffer
get rid of the BAT memory mapping (not finished yet) |
|
1270 |
6738 d 7 h |
decky |
/kernel/trunk/arch/ppc32/ |
page index and VSID fixes |
|
1269 |
6738 d 8 h |
decky |
/kernel/trunk/ |
PHT Refill handler |
|
1215 |
6747 d 8 h |
decky |
/kernel/trunk/arch/ |
ppc32: stub for Page Hash Table support |
|
1070 |
6783 d 18 h |
jermar |
/kernel/trunk/ |
More checks for address space area conflicts. |
|
977 |
6786 d 14 h |
jermar |
/kernel/trunk/ |
Add sys_mremap() syscall. |
|
970 |
6786 d 17 h |
decky |
/kernel/trunk/arch/ppc32/ |
ppc32: get memory map from loader |
|
967 |
6786 d 17 h |
palkovsky |
/kernel/trunk/ |
Allowed userspace to include page.h. |
|
957 |
6787 d 8 h |
decky |
/kernel/trunk/arch/ |
run ppc32 kernel above 2 GB |
|
951 |
6787 d 13 h |
decky |
/kernel/trunk/arch/ppc32/ |
ppc32 boots again (temporarily) |
|
940 |
6788 d 9 h |
jermar |
/kernel/trunk/ |
Get rid of unneeded macros.
Their functionality has been replaced by the ELF loader. |
|
934 |
6788 d 11 h |
decky |
/kernel/trunk/arch/ppc32/ |
remove all OpenFirmware bindings from ppc32 kernel code
kernel now runs in real mode (ppc32) |
|
867 |
6806 d 13 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 |
6812 d 7 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 |
6816 d 3 h |
jermar |
/kernel/trunk/arch/ppc32/include/mm/ |
Fix ppc32 to at least compile again. |
|
823 |
6820 d 4 h |
jermar |
/kernel/trunk/ |
Reimplement ASID stealing logic.
This time, hopefully, with correct synchronization. |
|
765 |
6826 d 7 h |
jermar |
/kernel/trunk/ |
Add PAGE_WIDTH to aid divisions by PAGE_SIZE. |
|
763 |
6826 d 13 h |
jermar |
/kernel/trunk/ |
Modify frame.h to use shifting instead of multiplication and division.
Define FRAME_WIDTH for all architectures. |
|
760 |
6826 d 15 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. |
|
756 |
6828 d 4 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. |
|
727 |
6840 d 6 h |
jermar |
/kernel/trunk/ |
New ASID management subsystem (initial work, more is required).
Some TLB invalidation changes. |
|
703 |
6846 d 15 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(). |
|
569 |
6882 d 5 h |
jermar |
/kernel/trunk/ |
sparc64 work.
Implement functions for reading IMMU and DMMU TLBs. |
|
534 |
6886 d 8 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel again. |
|
532 |
6886 d 8 h |
jermar |
/ |
Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch. |
|
501 |
6898 d 13 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel. |
|
391 |
6947 d 6 h |
jermar |
/SPARTAN/trunk/ |
mips32 memory management work.
TLB Refill Exception implemented (passed basic testing).
Remove bit g from struct entry_hi.
Add generic find_mapping().
Add asid to vm_t type, define asid_t to hide architecture specific differences.
Implement ASID allocation for mips32, dummy for other architectures.
Add THE->vm (a.k.a. VM).
Add vm_install_arch().
Move pte_t definition to arch/types.h on each architecture.
Fix PTL manipulating functions on mips32 to shift pfn by 12 instead of by 14.
Fix tlb_init_arch() to initialize all entries.
Other.
Remove unnecessary header files from arch.h
Add missing headers here and there.
Remove two unnecessary ld flags from mips32 makefile. |
|