Rev |
Age |
Author |
Path |
Log message |
Diff |
3343 |
5926 d 16 h |
decky |
/branches/sparc/ |
add sparc branch |
|
3130 |
5995 d 1 h |
jermar |
/trunk/kernel/generic/src/mm/ |
Add a comment explaining the reason for a memory barrier after page table update in detail. |
|
3128 |
5995 d 13 h |
jermar |
/trunk/kernel/generic/src/mm/ |
Issue a memory barrier after modifying a page table mapping in order to
prevent memory prefetching. |
|
2222 |
6425 d 12 h |
decky |
/trunk/kernel/ |
map kernel pages explicitly as writable (this solves compatibility issues with Intel Core 2)
make VESA framebuffer initialization more robust |
|
2089 |
6495 d 19 h |
decky |
/trunk/ |
huge type system cleanup
remove cyclical type dependencies across multiple header files
many minor coding style fixes |
|
2071 |
6506 d 12 h |
jermar |
/trunk/ |
(c) versus (C) |
|
1787 |
6696 d 14 h |
decky |
/ |
move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot |
|
1780 |
6703 d 15 h |
jermar |
/kernel/trunk/ |
Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.). |
|
1757 |
6717 d 20 h |
jermar |
/kernel/trunk/ |
Cleanup of comments. |
|
1702 |
6724 d 18 h |
cejka |
/kernel/trunk/ |
Kernel doxygen comments updated. |
|
1248 |
6771 d 15 h |
jermar |
/kernel/trunk/ |
Add some @file doxygen comments and improve already existing comments. |
|
1229 |
6774 d 20 h |
jermar |
/kernel/trunk/ |
Remove the outdated TODO file.
Improve doxygen comments here and there. |
|
1221 |
6776 d 9 h |
decky |
/kernel/trunk/ |
printf-related and other code cleanup |
|
1044 |
6813 d 20 h |
jermar |
/kernel/trunk/ |
Page table locking. |
|
826 |
6848 d 11 h |
jermar |
/kernel/trunk/ |
Add page_mapping_remove(). |
|
793 |
6851 d 17 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 8 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 8 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. |
|
703 |
6875 d 19 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(). |
|
699 |
6878 d 19 h |
jermar |
/kernel/trunk/ |
Memory management work.
Proto-interface and dummy implementation of generic page hash table subsytem. |
|
687 |
6880 d 16 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 17 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. |
|
654 |
6899 d 15 h |
jermar |
/kernel/trunk/generic/src/ |
Fix page_insert_mapping().
Some architectures (e.g. ia32) need to have the lower-numbered PTL's flagged as PAGE_WRITE in order to prevent overriding protection bits of leaf TTE's. |
|
548 |
6913 d 13 h |
jermar |
/kernel/trunk/ |
Cleanup and fixes. |
|
534 |
6915 d 13 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel again. |
|
533 |
6915 d 13 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 |
6915 d 13 h |
jermar |
/ |
Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch. |
|
501 |
6927 d 17 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel. |
|
492 |
6928 d 10 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 10 h |
jermar |
/SPARTAN/trunk/ |
Move src/ and include/ to generic. |
|
391 |
6976 d 10 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. |
|
251 |
7008 d 8 h |
palkovsky |
/SPARTAN/trunk/ |
Changes, that were needed to make it work on Bochs.
- We CAN use the NX bit in paging tables, but we have
to initialize the NXE bit in EFER register first. |
|
226 |
7009 d 18 h |
palkovsky |
/SPARTAN/trunk/ |
Fixed typo in 'outb' instruction.
Paging basically working. |
|
195 |
7011 d 13 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 |
|
158 |
7030 d 18 h |
decky |
/SPARTAN/trunk/src/mm/ |
remove forgotten comment |
|
157 |
7030 d 18 h |
decky |
/SPARTAN/trunk/ |
remove cyclic including, change linker script path |
|
125 |
7057 d 11 h |
jermar |
/SPARTAN/trunk/ |
Huge indentation fix. |
|
120 |
7072 d 9 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. |
|
116 |
7092 d 16 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. |
|
23 |
7144 d 16 h |
jermar |
/SPARTAN/trunk/ |
Fix wrong order of *_init() function calls. |
|