Rev |
Age |
Author |
Path |
Log message |
Diff |
4153 |
5715 d 18 h |
mejdrech |
/branches/network/ |
Networking: merged with trunk changes |
|
3386 |
5911 d 21 h |
decky |
/branches/network/ |
add new network branch (copy of current trunk) |
|
3233 |
5949 d 23 h |
decky |
/trunk/ |
remove dummy page coloring facility, which is currenty not used |
|
2106 |
6490 d 0 h |
jermar |
/trunk/kernel/ |
Merge as_t structure into one and leave the differring parts in as_genarch_t.
Indentation and formatting changes in header files. |
|
2089 |
6496 d 0 h |
decky |
/trunk/ |
huge type system cleanup
remove cyclical type dependencies across multiple header files
many minor coding style fixes |
|
2071 |
6506 d 17 h |
jermar |
/trunk/ |
(c) versus (C) |
|
2015 |
6545 d 17 h |
jermar |
/trunk/ |
Rework support for virtually indexed cache.
Instead of repeatedly flushing the data cache, which was a huge overkill, refuse to create an illegal address alias
in the kernel (again) and allocate appropriate page color in userspace instead. Extend the detection also to
SYS_PHYSMEM_MAP syscall.
Add support for tracking physical memory areas mappable by SYS_PHYSMEM_MAP.
Lots of coding style changes. |
|
2007 |
6553 d 16 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. |
|
1888 |
6631 d 21 h |
jermar |
/trunk/ |
C99 compliant header guards (hopefully) everywhere in the kernel.
Formatting and indentation changes.
Small improvements in sparc64. |
|
1787 |
6696 d 19 h |
decky |
/ |
move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot |
|
1780 |
6703 d 21 h |
jermar |
/kernel/trunk/ |
Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.). |
|
1702 |
6724 d 23 h |
cejka |
/kernel/trunk/ |
Kernel doxygen comments updated. |
|
1468 |
6737 d 21 h |
jermar |
/kernel/trunk/ |
Function for destroying address space for which there is no other reference in the kernel. |
|
1411 |
6744 d 21 h |
jermar |
/kernel/trunk/ |
Modify the hierarchy of page fault handlers to pass access mode that caused the fault.
Architectures are required to pass either PF_ACCESS_READ, PF_ACCESS_WRITE or PF_ACCESS_EXEC
to as_page_fault(), depending on the cause of the fault. |
|
1382 |
6748 d 17 h |
decky |
/kernel/trunk/ |
make hardware memory mapping more generic |
|
1288 |
6764 d 2 h |
jermar |
/kernel/trunk/ |
Complete implementation of copy_from_uspace() and copy_to_uspace()
for amd64 and ia32. Other architectures still compile and run,
but need to implement their own assembly-only memcpy(), memcpy_from_uspace(),
memcpy_to_uspace() and their failover parts. For these architectures
only dummy implementations are provided. |
|
1044 |
6814 d 1 h |
jermar |
/kernel/trunk/ |
Page table locking. |
|
977 |
6816 d 0 h |
jermar |
/kernel/trunk/ |
Add sys_mremap() syscall. |
|
965 |
6816 d 4 h |
palkovsky |
/kernel/trunk/ |
Added skeleton name service.
Cleanup for IPC to use mutexes instead of spinlocks. |
|
955 |
6816 d 18 h |
palkovsky |
/kernel/trunk/ |
Added kernel IPC functionality. |
|
826 |
6848 d 16 h |
jermar |
/kernel/trunk/ |
Add page_mapping_remove(). |
|
793 |
6851 d 23 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. |
|
756 |
6857 d 14 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. |
|
755 |
6858 d 13 h |
jermar |
/kernel/trunk/ |
Change page_mapping_find/insert interfaces to take as_t * as first argument
and not asid_t as second argument. This change was necessitated by the
removal of mapping array from as_area_t and the fact that an address
space doesn't have an ASID when it is created. |
|
699 |
6879 d 0 h |
jermar |
/kernel/trunk/ |
Memory management work.
Proto-interface and dummy implementation of generic page hash table subsytem. |
|
687 |
6880 d 21 h |
jermar |
/kernel/trunk/ |
Memory management work.
Pass address space identifier to functions in page_operations to support single global page hash table. |
|
684 |
6880 d 23 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. |
|
534 |
6915 d 18 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel again. |
|
532 |
6915 d 18 h |
jermar |
/ |
Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch. |
|
501 |
6927 d 23 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel. |
|
492 |
6928 d 16 h |
jermar |
/SPARTAN/trunk/ |
Rename map_page_to_frame() to page_mapping_insert() and find_mapping() to page_mapping_find().
New names should make it more apparent that these two belong together. |
|
430 |
6948 d 16 h |
jermar |
/SPARTAN/trunk/ |
Move src/ and include/ to generic. |
|
391 |
6976 d 16 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. |
|
167 |
7023 d 1 h |
jermar |
/SPARTAN/trunk/ |
Switch over to per vm_t page tables. (breaks ia32 userspace)
Define dummy memcopy() for amd64 and ppc to satisfy compiler.
Get rid of problematic #include <arch/mm/page.h> in mm/page.h.
Indentation fixes and small changes here and there. |
|
125 |
7057 d 16 h |
jermar |
/SPARTAN/trunk/ |
Huge indentation fix. |
|
121 |
7058 d 16 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 |
7072 d 14 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. |
|
119 |
7073 d 17 h |
jermar |
/SPARTAN/trunk/ |
Start with generic 4-level page table interface.
Usual cleanup. |
|
116 |
7092 d 22 h |
jermar |
/SPARTAN/trunk/ |
Add map_structure() to automate mapping of memory structures that can span multiple pages and/or cross page boundaries.
Change ACPI map_sdt() to use map_structure().
Small changes in MPS code.
The extra frame allocation for accessing frame 0 is unnecessary as it is possible to access frame 0 from kernel address space.
Zero TSS descriptor in the newly prepared GDT. |
|
109 |
7099 d 18 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. |
|