Rev |
Age |
Author |
Path |
Log message |
Diff |
2015 |
6547 d 1 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 |
6554 d 23 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 |
6633 d 4 h |
jermar |
/trunk/ |
C99 compliant header guards (hopefully) everywhere in the kernel.
Formatting and indentation changes.
Small improvements in sparc64. |
|
1787 |
6698 d 3 h |
decky |
/ |
move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot |
|
1780 |
6705 d 4 h |
jermar |
/kernel/trunk/ |
Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.). |
|
1702 |
6726 d 7 h |
cejka |
/kernel/trunk/ |
Kernel doxygen comments updated. |
|
1468 |
6739 d 5 h |
jermar |
/kernel/trunk/ |
Function for destroying address space for which there is no other reference in the kernel. |
|
1411 |
6746 d 4 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 |
6750 d 0 h |
decky |
/kernel/trunk/ |
make hardware memory mapping more generic |
|
1288 |
6765 d 9 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 |
6815 d 8 h |
jermar |
/kernel/trunk/ |
Page table locking. |
|
977 |
6817 d 7 h |
jermar |
/kernel/trunk/ |
Add sys_mremap() syscall. |
|
965 |
6817 d 11 h |
palkovsky |
/kernel/trunk/ |
Added skeleton name service.
Cleanup for IPC to use mutexes instead of spinlocks. |
|
955 |
6818 d 1 h |
palkovsky |
/kernel/trunk/ |
Added kernel IPC functionality. |
|
826 |
6849 d 23 h |
jermar |
/kernel/trunk/ |
Add page_mapping_remove(). |
|
793 |
6853 d 6 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 |
6858 d 21 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 |
6859 d 20 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 |
6880 d 8 h |
jermar |
/kernel/trunk/ |
Memory management work.
Proto-interface and dummy implementation of generic page hash table subsytem. |
|
687 |
6882 d 5 h |
jermar |
/kernel/trunk/ |
Memory management work.
Pass address space identifier to functions in page_operations to support single global page hash table. |
|