Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
1411 |
6740 d 3 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. |
|
/kernel/trunk/arch/amd64/include/mm/page.h /kernel/trunk/arch/amd64/src/mm/page.c /kernel/trunk/arch/ia32/include/interrupt.h /kernel/trunk/arch/ia32/include/mm/page.h /kernel/trunk/arch/ia32/src/interrupt.c /kernel/trunk/arch/ia32/src/mm/page.c /kernel/trunk/arch/ia64/src/mm/tlb.c /kernel/trunk/arch/mips32/src/mm/tlb.c /kernel/trunk/arch/ppc32/src/mm/page.c /kernel/trunk/arch/ppc64/src/mm/page.c /kernel/trunk/generic/include/mm/as.h /kernel/trunk/generic/include/mm/page.h /kernel/trunk/generic/src/lib/elf.c /kernel/trunk/generic/src/mm/as.c
|
1382 |
6743 d 23 h |
decky |
/kernel/trunk/ |
make hardware memory mapping more generic |
|
/kernel/trunk/genarch/src/fb/fb_map.c
/kernel/trunk/arch/amd64/src/mm/page.c /kernel/trunk/arch/ia32/src/mm/page.c /kernel/trunk/arch/sparc64/Makefile.inc /kernel/trunk/arch/sparc64/src/console.c /kernel/trunk/arch/sparc64/src/mm/page.c /kernel/trunk/genarch/Makefile.inc /kernel/trunk/genarch/include/fb/fb.h /kernel/trunk/genarch/src/fb/fb.c /kernel/trunk/generic/include/mm/page.h
|
1303 |
6755 d 2 h |
palkovsky |
/kernel/trunk/arch/ |
zone_merge_all must be called after frame_init is completed - otherwise
new zone information can be allocated over the not-yet-blacklisted areas. |
|
/kernel/trunk/arch/amd64/src/amd64.c /kernel/trunk/arch/ia32/src/ia32.c /kernel/trunk/arch/ia32/src/mm/frame.c
|
1224 |
6771 d 6 h |
cejka |
/kernel/trunk/ |
Fix pointers output format.
Fix format of slab and zones tables. |
|
/kernel/trunk/arch/ia32/src/mm/frame.c /kernel/trunk/arch/ia32/src/mm/memory_init.c /kernel/trunk/generic/include/debug.h /kernel/trunk/generic/src/console/cmd.c /kernel/trunk/generic/src/debug/print.c /kernel/trunk/generic/src/debug/symtab.c /kernel/trunk/generic/src/interrupt/interrupt.c /kernel/trunk/generic/src/main/main.c /kernel/trunk/generic/src/mm/buddy.c /kernel/trunk/generic/src/mm/frame.c /kernel/trunk/generic/src/mm/slab.c /kernel/trunk/generic/src/synch/spinlock.c
|
1221 |
6771 d 21 h |
decky |
/kernel/trunk/ |
printf-related and other code cleanup |
|
/kernel/trunk/arch/amd64/src/debugger.c /kernel/trunk/arch/ia32/src/interrupt.c /kernel/trunk/arch/ia32/src/mm/frame.c /kernel/trunk/arch/ia32/src/smp/mps.c /kernel/trunk/arch/ia64/src/interrupt.c /kernel/trunk/arch/ia64/src/mm/tlb.c /kernel/trunk/arch/mips32/src/drivers/arc.c /kernel/trunk/arch/mips32/src/exception.c /kernel/trunk/arch/ppc32/src/mm/memory_init.c /kernel/trunk/arch/ppc64/src/mm/memory_init.c /kernel/trunk/arch/sparc64/src/mm/tlb.c /kernel/trunk/generic/include/debug.h /kernel/trunk/generic/src/adt/btree.c /kernel/trunk/generic/src/main/main.c /kernel/trunk/generic/src/mm/frame.c /kernel/trunk/generic/src/mm/page.c /kernel/trunk/generic/src/proc/scheduler.c /kernel/trunk/test/mm/falloc1/test.c /kernel/trunk/test/mm/falloc2/test.c /kernel/trunk/test/mm/mapping1/test.c /kernel/trunk/test/synch/rwlock4/test.c
|
1196 |
6778 d 7 h |
cejka |
/kernel/trunk/ |
Printf ported back from uspace to kernel.
Printf calls changed to match new conventions. |
|
/kernel/trunk/arch/amd64/src/debugger.c /kernel/trunk/arch/amd64/src/interrupt.c /kernel/trunk/arch/amd64/src/mm/memory_init.c /kernel/trunk/arch/ia32/Makefile.inc /kernel/trunk/arch/ia32/src/interrupt.c /kernel/trunk/arch/ia32/src/mm/frame.c /kernel/trunk/arch/ia32/src/mm/memory_init.c /kernel/trunk/arch/ia32/src/smp/apic.c /kernel/trunk/arch/ia64/src/interrupt.c /kernel/trunk/arch/mips32/Makefile.inc /kernel/trunk/arch/mips32/src/debugger.c /kernel/trunk/arch/mips32/src/exception.c /kernel/trunk/arch/mips32/src/mm/tlb.c /kernel/trunk/arch/ppc32/Makefile.inc /kernel/trunk/arch/ppc32/src/mm/memory_init.c /kernel/trunk/arch/ppc64/src/mm/memory_init.c /kernel/trunk/arch/sparc64/src/mm/tlb.c /kernel/trunk/genarch/include/softint/division.h /kernel/trunk/genarch/src/acpi/acpi.c /kernel/trunk/genarch/src/acpi/matd.c /kernel/trunk/genarch/src/i8042/i8042.c /kernel/trunk/genarch/src/softint/division.c /kernel/trunk/generic/include/print.h /kernel/trunk/generic/src/adt/btree.c /kernel/trunk/generic/src/console/cmd.c /kernel/trunk/generic/src/debug/print.c /kernel/trunk/generic/src/debug/symtab.c /kernel/trunk/generic/src/interrupt/interrupt.c /kernel/trunk/generic/src/lib/elf.c /kernel/trunk/generic/src/main/kinit.c /kernel/trunk/generic/src/main/main.c /kernel/trunk/generic/src/main/uinit.c /kernel/trunk/generic/src/mm/buddy.c /kernel/trunk/generic/src/mm/frame.c /kernel/trunk/generic/src/mm/slab.c /kernel/trunk/generic/src/proc/scheduler.c /kernel/trunk/generic/src/proc/task.c /kernel/trunk/generic/src/proc/thread.c /kernel/trunk/generic/src/time/clock.c /kernel/trunk/generic/src/time/timeout.c /kernel/trunk/test/fpu/fpu1/test.c /kernel/trunk/test/mm/falloc1/test.c /kernel/trunk/test/mm/falloc2/test.c /kernel/trunk/test/mm/mapping1/test.c /kernel/trunk/test/print/print1/test.c /kernel/trunk/test/synch/rwlock4/test.c /kernel/trunk/test/synch/rwlock5/test.c
|
958 |
6812 d 0 h |
jermar |
/kernel/trunk/ |
Nicer ia32 interrupt handlers and structures holding interrupted context data.
Unify the name holding interrupted context data on all architectures to be istate. |
|
/kernel/trunk/arch/amd64/include/context.h /kernel/trunk/arch/amd64/include/interrupt.h /kernel/trunk/arch/amd64/src/interrupt.c /kernel/trunk/arch/ia32/include/interrupt.h /kernel/trunk/arch/ia32/include/types.h /kernel/trunk/arch/ia32/src/asm.S /kernel/trunk/arch/ia32/src/drivers/i8254.c /kernel/trunk/arch/ia32/src/drivers/i8259.c /kernel/trunk/arch/ia32/src/ia32.c /kernel/trunk/arch/ia32/src/interrupt.c /kernel/trunk/arch/ia32/src/mm/page.c /kernel/trunk/arch/ia32/src/pm.c /kernel/trunk/arch/ia32/src/smp/apic.c /kernel/trunk/arch/ia64/include/interrupt.h /kernel/trunk/arch/ia64/include/mm/tlb.h /kernel/trunk/arch/ia64/include/types.h /kernel/trunk/arch/ia64/src/interrupt.c /kernel/trunk/arch/ia64/src/mm/tlb.c /kernel/trunk/arch/mips32/include/debugger.h /kernel/trunk/arch/mips32/include/exception.h /kernel/trunk/arch/mips32/include/mm/tlb.h /kernel/trunk/arch/mips32/include/thread.h /kernel/trunk/arch/mips32/src/debugger.c /kernel/trunk/arch/mips32/src/drivers/arc.c /kernel/trunk/arch/mips32/src/drivers/msim.c /kernel/trunk/arch/mips32/src/drivers/serial.c /kernel/trunk/arch/mips32/src/exception.c /kernel/trunk/arch/mips32/src/fpu_context.c /kernel/trunk/arch/mips32/src/interrupt.c /kernel/trunk/arch/mips32/src/mm/tlb.c /kernel/trunk/arch/sparc64/include/drivers/tick.h /kernel/trunk/arch/sparc64/src/drivers/tick.c /kernel/trunk/genarch/src/i8042/i8042.c /kernel/trunk/generic/include/interrupt.h /kernel/trunk/generic/include/typedefs.h /kernel/trunk/generic/src/interrupt/interrupt.c
|
925 |
6813 d 10 h |
palkovsky |
/kernel/trunk/arch/ia32/src/mm/ |
Fix e820list on ia32. |
|
/kernel/trunk/arch/ia32/src/mm/frame.c
|
825 |
6844 d 3 h |
jermar |
/kernel/trunk/ |
Remove WAKEUP_IPI stuff.
Make it possible to use PAGE_GLOBAL on ia32, amd64 and mips32.
Make ia32 and amd64 map the kernel using PAGE_GLOBAL. |
|
/kernel/trunk/arch/amd64/include/interrupt.h /kernel/trunk/arch/amd64/include/mm/page.h /kernel/trunk/arch/amd64/src/amd64.c /kernel/trunk/arch/amd64/src/interrupt.c /kernel/trunk/arch/amd64/src/mm/page.c /kernel/trunk/arch/ia32/include/interrupt.h /kernel/trunk/arch/ia32/include/mm/page.h /kernel/trunk/arch/ia32/src/ia32.c /kernel/trunk/arch/ia32/src/interrupt.c /kernel/trunk/arch/ia32/src/mm/page.c /kernel/trunk/arch/mips32/include/mm/page.h /kernel/trunk/contrib/conf/msim.conf
|
822 |
6844 d 21 h |
palkovsky |
/kernel/trunk/ |
Changed malloc to include second parameter and documented
recommended usage.
Added zone merging, made ia32 & amd64 to merge found zones. |
|
/kernel/trunk/arch/amd64/src/pm.c /kernel/trunk/arch/ia32/src/mm/frame.c /kernel/trunk/arch/ia32/src/pm.c /kernel/trunk/arch/ia32/src/smp/smp.c /kernel/trunk/doc/mm /kernel/trunk/genarch/src/acpi/matd.c /kernel/trunk/generic/include/mm/buddy.h /kernel/trunk/generic/include/mm/frame.h /kernel/trunk/generic/include/mm/slab.h /kernel/trunk/generic/src/adt/hash_table.c /kernel/trunk/generic/src/cpu/cpu.c /kernel/trunk/generic/src/lib/sort.c /kernel/trunk/generic/src/main/main.c /kernel/trunk/generic/src/mm/as.c /kernel/trunk/generic/src/mm/buddy.c /kernel/trunk/generic/src/mm/frame.c /kernel/trunk/generic/src/mm/slab.c /kernel/trunk/generic/src/proc/task.c /kernel/trunk/generic/src/proc/thread.c /kernel/trunk/test/mm/falloc2/test.c
|
820 |
6844 d 22 h |
jermar |
/kernel/trunk/ |
Convert size_t, count_t and index_t to 64-bits on 64-bit architectures.
Change some pfn_t usages to count_t, size_t and index_t. |
|
/kernel/trunk/arch/amd64/_link.ld.in /kernel/trunk/arch/amd64/src/asm_utils.S /kernel/trunk/arch/amd64/src/boot/boot.S /kernel/trunk/arch/ia32/src/mm/frame.c /kernel/trunk/arch/mips32/src/drivers/arc.c /kernel/trunk/arch/sparc64/_link.ld.in /kernel/trunk/arch/sparc64/src/mm/frame.c /kernel/trunk/generic/include/config.h /kernel/trunk/generic/include/mm/frame.h /kernel/trunk/generic/include/typedefs.h /kernel/trunk/generic/src/main/kinit.c /kernel/trunk/generic/src/mm/frame.c
|
814 |
6845 d 8 h |
palkovsky |
/kernel/trunk/ |
Cleanup o frame allocator.
Removed early_malloc & initial heap.
Will break ia64, ppc & sparc.
Added e820 table print. |
|
/kernel/trunk/generic/include/mm/heap.h /kernel/trunk/generic/src/mm/heap.c
/kernel/trunk/Makefile /kernel/trunk/arch/amd64/include/types.h /kernel/trunk/arch/amd64/src/mm/page.c /kernel/trunk/arch/amd64/src/pm.c /kernel/trunk/arch/ia32/include/types.h /kernel/trunk/arch/ia32/src/mm/frame.c /kernel/trunk/arch/ia32/src/pm.c /kernel/trunk/arch/ia32/src/smp/smp.c /kernel/trunk/arch/mips32/Makefile.inc /kernel/trunk/arch/mips32/include/types.h /kernel/trunk/arch/mips32/src/drivers/arc.c /kernel/trunk/arch/mips32/src/mips32.c /kernel/trunk/arch/mips32/src/mm/frame.c /kernel/trunk/contrib/conf/msim.conf /kernel/trunk/genarch/src/acpi/matd.c /kernel/trunk/genarch/src/mm/as_pt.c /kernel/trunk/genarch/src/mm/page_pt.c /kernel/trunk/generic/include/mm/buddy.h /kernel/trunk/generic/include/mm/frame.h /kernel/trunk/generic/include/mm/slab.h /kernel/trunk/generic/include/proc/thread.h /kernel/trunk/generic/include/typedefs.h /kernel/trunk/generic/src/adt/hash_table.c /kernel/trunk/generic/src/cpu/cpu.c /kernel/trunk/generic/src/lib/sort.c /kernel/trunk/generic/src/main/main.c /kernel/trunk/generic/src/mm/as.c /kernel/trunk/generic/src/mm/buddy.c /kernel/trunk/generic/src/mm/frame.c /kernel/trunk/generic/src/mm/slab.c /kernel/trunk/generic/src/proc/scheduler.c /kernel/trunk/generic/src/proc/task.c /kernel/trunk/generic/src/proc/thread.c /kernel/trunk/test/mm/falloc1/test.c /kernel/trunk/test/mm/falloc2/test.c
|
793 |
6847 d 5 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. |
|
/kernel/trunk/arch/amd64/src/mm/page.c /kernel/trunk/arch/ia32/src/mm/page.c /kernel/trunk/arch/ia64/src/mm/page.c /kernel/trunk/arch/mips32/src/mm/page.c /kernel/trunk/arch/ppc32/src/mm/page.c /kernel/trunk/arch/sparc64/src/mm/frame.c /kernel/trunk/arch/sparc64/src/mm/page.c /kernel/trunk/genarch/include/mm/page_ht.h /kernel/trunk/genarch/include/mm/page_pt.h /kernel/trunk/genarch/src/mm/page_ht.c /kernel/trunk/genarch/src/mm/page_pt.c /kernel/trunk/generic/include/adt/hash_table.h /kernel/trunk/generic/include/mm/page.h /kernel/trunk/generic/src/mm/page.c
|
778 |
6849 d 1 h |
palkovsky |
/kernel/trunk/ |
Fixed boot process not to call malloc when slab not initialized.
Added simics workaround. |
|
/kernel/trunk/arch/amd64/Makefile.inc /kernel/trunk/arch/ia32/Makefile.inc /kernel/trunk/arch/ia32/src/mm/frame.c /kernel/trunk/genarch/src/acpi/matd.c /kernel/trunk/generic/include/mm/as.h /kernel/trunk/generic/include/mm/frame.h /kernel/trunk/generic/src/mm/as.c /kernel/trunk/generic/src/mm/slab.c /kernel/trunk/kernel.config
|
756 |
6852 d 20 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. |
|
/kernel/trunk/arch/amd64/src/mm/as.c /kernel/trunk/arch/ia32/src/mm/as.c /kernel/trunk/arch/ia64/src/mm/as.c /kernel/trunk/arch/ppc32/src/mm/as.c /kernel/trunk/arch/sparc64/src/mm/as.c /kernel/trunk/genarch/include/mm/as_ht.h /kernel/trunk/genarch/include/mm/as_pt.h /kernel/trunk/genarch/src/mm/as_ht.c /kernel/trunk/genarch/src/mm/as_pt.c
/kernel/trunk/arch/amd64/Makefile.inc /kernel/trunk/arch/amd64/include/mm/as.h /kernel/trunk/arch/amd64/src/mm/page.c /kernel/trunk/arch/ia32/Makefile.inc /kernel/trunk/arch/ia32/include/mm/as.h /kernel/trunk/arch/ia32/src/drivers/ega.c /kernel/trunk/arch/ia32/src/mm/page.c /kernel/trunk/arch/ia32/src/smp/smp.c /kernel/trunk/arch/ia64/Makefile.inc /kernel/trunk/arch/ia64/include/mm/as.h /kernel/trunk/arch/ia64/include/mm/page.h /kernel/trunk/arch/ia64/src/mm/tlb.c /kernel/trunk/arch/mips32/include/mm/as.h /kernel/trunk/arch/mips32/src/mm/as.c /kernel/trunk/arch/mips32/src/mm/tlb.c /kernel/trunk/arch/ppc32/Makefile.inc /kernel/trunk/arch/ppc32/include/mm/as.h /kernel/trunk/arch/sparc64/Makefile.inc /kernel/trunk/arch/sparc64/include/mm/as.h /kernel/trunk/arch/sparc64/include/mm/frame.h /kernel/trunk/arch/sparc64/include/mm/page.h /kernel/trunk/genarch/Makefile.inc /kernel/trunk/genarch/include/mm/page_ht.h /kernel/trunk/genarch/include/mm/page_pt.h /kernel/trunk/genarch/src/acpi/acpi.c /kernel/trunk/genarch/src/mm/page_ht.c /kernel/trunk/genarch/src/mm/page_pt.c /kernel/trunk/generic/include/mm/as.h /kernel/trunk/generic/include/mm/buddy.h /kernel/trunk/generic/include/mm/page.h /kernel/trunk/generic/src/main/kinit.c /kernel/trunk/generic/src/main/main.c /kernel/trunk/generic/src/mm/as.c /kernel/trunk/generic/src/mm/page.c /kernel/trunk/test/mm/mapping1/test.c
|
755 |
6853 d 19 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. |
|
/kernel/trunk/arch/amd64/src/mm/page.c /kernel/trunk/arch/ia32/src/drivers/ega.c /kernel/trunk/arch/ia32/src/mm/page.c /kernel/trunk/arch/ia32/src/smp/smp.c /kernel/trunk/arch/mips32/src/mm/tlb.c /kernel/trunk/genarch/include/mm/page_pt.h /kernel/trunk/genarch/src/acpi/acpi.c /kernel/trunk/genarch/src/mm/page_ht.c /kernel/trunk/genarch/src/mm/page_pt.c /kernel/trunk/generic/include/mm/as.h /kernel/trunk/generic/include/mm/page.h /kernel/trunk/generic/src/main/main.c /kernel/trunk/generic/src/mm/as.c /kernel/trunk/generic/src/mm/page.c /kernel/trunk/test/mm/mapping1/test.c
|
730 |
6863 d 2 h |
jermar |
/kernel/trunk/ |
Finalize ASID management for sparc64 and mips32 by making use of FIFO queue of ASIDs. |
|
/kernel/trunk/genarch/include/mm/asid_fifo.h /kernel/trunk/genarch/src/mm/asid_fifo.c
/kernel/trunk/arch/mips32/src/mm/asid.c
/kernel/trunk/arch/ia32/src/mm/tlb.c /kernel/trunk/arch/ia64/include/mm/asid.h /kernel/trunk/arch/mips32/Makefile.inc /kernel/trunk/arch/mips32/src/mm/tlb.c /kernel/trunk/arch/sparc64/Makefile.inc /kernel/trunk/arch/sparc64/src/mm/tlb.c /kernel/trunk/genarch/Makefile.inc /kernel/trunk/generic/include/mm/asid.h
|
727 |
6864 d 22 h |
jermar |
/kernel/trunk/ |
New ASID management subsystem (initial work, more is required).
Some TLB invalidation changes. |
|
/kernel/trunk/genarch/src/mm/asid.c
/kernel/trunk/arch/ia32/include/mm/asid.h /kernel/trunk/arch/ia32/src/mm/tlb.c /kernel/trunk/arch/ia64/Makefile.inc /kernel/trunk/arch/ia64/include/mm/asid.h /kernel/trunk/arch/mips32/Makefile.inc /kernel/trunk/arch/mips32/include/mm/asid.h /kernel/trunk/arch/mips32/src/mm/as.c /kernel/trunk/arch/mips32/src/mm/asid.c /kernel/trunk/arch/mips32/src/mm/tlb.c /kernel/trunk/arch/ppc32/include/mm/asid.h /kernel/trunk/arch/sparc64/Makefile.inc /kernel/trunk/arch/sparc64/include/mm/asid.h /kernel/trunk/arch/sparc64/src/mm/tlb.c /kernel/trunk/genarch/Makefile.inc /kernel/trunk/generic/include/mm/as.h /kernel/trunk/generic/include/mm/asid.h /kernel/trunk/generic/include/mm/tlb.h /kernel/trunk/generic/src/main/kinit.c /kernel/trunk/generic/src/main/main.c /kernel/trunk/generic/src/mm/as.c /kernel/trunk/generic/src/mm/tlb.c
|
703 |
6871 d 7 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(). |
|
/kernel/trunk/arch/amd64/include/mm/as.h /kernel/trunk/arch/ia32/include/mm/as.h /kernel/trunk/arch/ia64/include/mm/as.h /kernel/trunk/arch/mips32/include/mm/as.h /kernel/trunk/arch/mips32/src/mm/as.c /kernel/trunk/arch/ppc32/include/mm/as.h /kernel/trunk/arch/sparc64/include/mm/as.h /kernel/trunk/generic/include/mm/as.h /kernel/trunk/generic/src/mm/as.c
/kernel/trunk/arch/amd64/include/mm/vm.h /kernel/trunk/arch/ia32/include/mm/vm.h /kernel/trunk/arch/ia64/include/mm/vm.h /kernel/trunk/arch/mips32/include/mm/vm.h /kernel/trunk/arch/mips32/src/mm/vm.c /kernel/trunk/arch/ppc32/include/mm/vm.h /kernel/trunk/arch/sparc64/include/mm/vm.h /kernel/trunk/generic/include/mm/vm.h /kernel/trunk/generic/src/mm/vm.c
/kernel/trunk/Makefile /kernel/trunk/arch/amd64/src/interrupt.c /kernel/trunk/arch/amd64/src/userspace.c /kernel/trunk/arch/ia32/src/interrupt.c /kernel/trunk/arch/ia32/src/mm/frame.c /kernel/trunk/arch/ia32/src/userspace.c /kernel/trunk/arch/mips32/Makefile.inc /kernel/trunk/arch/mips32/src/mips32.c /kernel/trunk/arch/mips32/src/mm/tlb.c /kernel/trunk/doc/mm /kernel/trunk/generic/include/arch.h /kernel/trunk/generic/include/proc/task.h /kernel/trunk/generic/include/typedefs.h /kernel/trunk/generic/src/main/kinit.c /kernel/trunk/generic/src/main/main.c /kernel/trunk/generic/src/mm/frame.c /kernel/trunk/generic/src/mm/page.c /kernel/trunk/generic/src/proc/scheduler.c /kernel/trunk/generic/src/proc/task.c /kernel/trunk/generic/src/proc/the.c
|
693 |
6876 d 2 h |
decky |
/kernel/trunk/arch/ia32/ |
simplify and cleanup ia32 boot process, remove obsolete stuff |
|
/kernel/trunk/arch/ia32/_link.ld.in /kernel/trunk/arch/ia32/include/boot/boot.h /kernel/trunk/arch/ia32/include/pm.h /kernel/trunk/arch/ia32/src/boot/boot.S /kernel/trunk/arch/ia32/src/mm/frame.c /kernel/trunk/arch/ia32/src/pm.c /kernel/trunk/arch/ia32/src/smp/ap.S /kernel/trunk/arch/ia32/src/smp/apic.c /kernel/trunk/arch/ia32/src/smp/smp.c
|
690 |
6876 d 3 h |
bondari |
/kernel/trunk/arch/ |
Fixes of 3-param frame_alloc() function calls |
|
/kernel/trunk/arch/amd64/src/mm/page.c /kernel/trunk/arch/ia32/src/mm/page.c
|
687 |
6876 d 4 h |
jermar |
/kernel/trunk/ |
Memory management work.
Pass address space identifier to functions in page_operations to support single global page hash table. |
|
/kernel/trunk/generic/include/mm/asid.h
/kernel/trunk/arch/amd64/src/mm/page.c /kernel/trunk/arch/ia32/src/drivers/ega.c /kernel/trunk/arch/ia32/src/mm/page.c /kernel/trunk/arch/ia32/src/smp/smp.c /kernel/trunk/arch/mips32/src/mm/tlb.c /kernel/trunk/genarch/src/acpi/acpi.c /kernel/trunk/genarch/src/mm/page_ht.c /kernel/trunk/genarch/src/mm/page_pt.c /kernel/trunk/generic/include/mm/page.h /kernel/trunk/generic/src/mm/page.c /kernel/trunk/generic/src/mm/vm.c /kernel/trunk/test/mm/mapping1/test.c
|
684 |
6876 d 5 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. |
|
/kernel/trunk/arch/ia64/src/mm/page.c /kernel/trunk/genarch/include/mm /kernel/trunk/genarch/include/mm/page_ht.h /kernel/trunk/genarch/include/mm/page_pt.h /kernel/trunk/genarch/src/mm /kernel/trunk/genarch/src/mm/page_ht.c /kernel/trunk/genarch/src/mm/page_pt.c
/kernel/trunk/arch/amd64/Makefile.inc /kernel/trunk/arch/amd64/src/mm/page.c /kernel/trunk/arch/ia32/Makefile.inc /kernel/trunk/arch/ia32/src/mm/page.c /kernel/trunk/arch/ia64/Makefile.inc /kernel/trunk/arch/ia64/include/mm/page.h /kernel/trunk/arch/mips32/Makefile.inc /kernel/trunk/arch/mips32/src/mm/page.c /kernel/trunk/arch/ppc32/Makefile.inc /kernel/trunk/arch/ppc32/src/mm/page.c /kernel/trunk/arch/sparc64/Makefile.inc /kernel/trunk/arch/sparc64/src/mm/page.c /kernel/trunk/genarch/Makefile.inc /kernel/trunk/generic/include/mm/page.h /kernel/trunk/generic/src/main/main.c /kernel/trunk/generic/src/mm/page.c /kernel/trunk/generic/src/mm/vm.c
|
682 |
6876 d 6 h |
decky |
/kernel/trunk/arch/ia32/src/mm/ |
fix ia32 build |
|
/kernel/trunk/arch/ia32/src/mm/memory_init.c
|
625 |
6900 d 4 h |
palkovsky |
/kernel/trunk/ |
We are now almost -Wall clean.
- redefined atomic_t
- deleted many, many unused variables
- some minor code cleanups found using compiler warning. |
|
/kernel/trunk/arch/amd64/include/asm.h /kernel/trunk/arch/amd64/src/cpu/cpu.c /kernel/trunk/arch/ia32/include/atomic.h /kernel/trunk/arch/ia32/src/fmath.c /kernel/trunk/arch/ia32/src/mm/frame.c /kernel/trunk/arch/ia32/src/smp/smp.c /kernel/trunk/arch/ia64/include/atomic.h /kernel/trunk/arch/mips32/include/atomic.h /kernel/trunk/arch/mips32/src/drivers/arc.c /kernel/trunk/arch/mips32/src/drivers/serial.c /kernel/trunk/arch/ppc32/include/atomic.h /kernel/trunk/arch/sparc64/include/atomic.h /kernel/trunk/generic/include/cpu.h /kernel/trunk/generic/include/debug.h /kernel/trunk/generic/include/synch/spinlock.h /kernel/trunk/generic/src/console/cmd.c /kernel/trunk/generic/src/console/kconsole.c /kernel/trunk/generic/src/debug/symtab.c /kernel/trunk/generic/src/main/kinit.c /kernel/trunk/generic/src/main/main.c /kernel/trunk/generic/src/mm/vm.c /kernel/trunk/generic/src/proc/scheduler.c /kernel/trunk/generic/src/proc/thread.c /kernel/trunk/generic/src/synch/rwlock.c /kernel/trunk/generic/src/synch/spinlock.c /kernel/trunk/test/synch/rwlock4/test.c
|
623 |
6900 d 10 h |
jermar |
/kernel/trunk/ |
Add SPINLOCK_DECLARE and SPINLOCK_INITIALIZE macros.
SPINLOCK_DECLARE is to be used instead of direct spinlock_t declarations
in dynamically allocated structures on which spinlock_initialize() is called after
their creation.
SPINLOCK_INITIALIZE is to be used instead of direct spinlock_t declarations
of global spinlocks. It declares and initializes the spinlock.
Moreover, both macros are empty on UP so that -Wall warnings about unused structures
get supressed. |
|
/kernel/trunk/arch/ia32/src/drivers/ega.c /kernel/trunk/arch/ia32/src/drivers/i8042.c /kernel/trunk/arch/ia32/src/mm/page.c /kernel/trunk/arch/mips32/src/debugger.c /kernel/trunk/arch/mips32/src/mm/asid.c /kernel/trunk/generic/include/console/chardev.h /kernel/trunk/generic/include/console/kconsole.h /kernel/trunk/generic/include/cpu.h /kernel/trunk/generic/include/mm/frame.h /kernel/trunk/generic/include/mm/vm.h /kernel/trunk/generic/include/proc/scheduler.h /kernel/trunk/generic/include/proc/task.h /kernel/trunk/generic/include/proc/thread.h /kernel/trunk/generic/include/synch/rwlock.h /kernel/trunk/generic/include/synch/spinlock.h /kernel/trunk/generic/include/synch/waitq.h /kernel/trunk/generic/include/time/timeout.h /kernel/trunk/generic/src/console/kconsole.c /kernel/trunk/generic/src/cpu/cpu.c /kernel/trunk/generic/src/debug/print.c /kernel/trunk/generic/src/interrupt/interrupt.c /kernel/trunk/generic/src/main/main.c /kernel/trunk/generic/src/mm/frame.c /kernel/trunk/generic/src/mm/heap.c /kernel/trunk/generic/src/mm/tlb.c /kernel/trunk/generic/src/proc/task.c /kernel/trunk/generic/src/proc/thread.c /kernel/trunk/generic/src/synch/rwlock.c /kernel/trunk/test/synch/rwlock4/test.c /kernel/trunk/test/synch/semaphore2/test.c /kernel/trunk/test/thread/thread1/test.c
|
597 |
6904 d 7 h |
jermar |
/kernel/trunk/ |
Finer grained TLB invalidate functions for ia32 and amd64. Not yet deployed. |
|
/kernel/trunk/generic/include/mm/tlb_cmd.h
/kernel/trunk/arch/amd64/include/asm.h /kernel/trunk/arch/ia32/include/asm.h /kernel/trunk/arch/ia32/src/mm/tlb.c /kernel/trunk/generic/include/mm/tlb.h
|
576 |
6905 d 19 h |
palkovsky |
/kernel/trunk/ |
Changed ia32 & amd64 to use exc_register instead of trap_register.
Fixed dependency list building. I hope you all have 'makedepend' installed,
if you don't it's time to install it, as CC -M builds the dependency
list without directory names..and it just does not work. |
|
/kernel/trunk/Makefile /kernel/trunk/arch/amd64/src/amd64.c /kernel/trunk/arch/amd64/src/asm_utils.S /kernel/trunk/arch/amd64/src/interrupt.c /kernel/trunk/arch/amd64/src/mm/page.c /kernel/trunk/arch/amd64/src/pm.c /kernel/trunk/arch/ia32/include/i8042.h /kernel/trunk/arch/ia32/include/i8254.h /kernel/trunk/arch/ia32/include/i8259.h /kernel/trunk/arch/ia32/include/interrupt.h /kernel/trunk/arch/ia32/include/smp/apic.h /kernel/trunk/arch/ia32/src/asm.S /kernel/trunk/arch/ia32/src/drivers/i8042.c /kernel/trunk/arch/ia32/src/drivers/i8254.c /kernel/trunk/arch/ia32/src/drivers/i8259.c /kernel/trunk/arch/ia32/src/ia32.c /kernel/trunk/arch/ia32/src/interrupt.c /kernel/trunk/arch/ia32/src/mm/page.c /kernel/trunk/arch/ia32/src/pm.c /kernel/trunk/arch/ia32/src/smp/apic.c
|
566 |
6907 d 20 h |
palkovsky |
/kernel/trunk/ |
Fixed bug in Intel32/AMD64 boot, that could cause page fault on boot.
Fixes of configuration program. |
|
/kernel/trunk/tools/amd64/decpt.py
/kernel/trunk/arch/amd64/src/mm/page.c /kernel/trunk/arch/ia32/include/mm/frame.h /kernel/trunk/arch/ia32/src/mm/page.c /kernel/trunk/kernel.config /kernel/trunk/tools/config.py
|
564 |
6907 d 21 h |
jermar |
/kernel/trunk/ |
Send in some improvements. |
|
/kernel/trunk/arch/ia32/src/mm/frame.c /kernel/trunk/arch/ia64/include/context.h /kernel/trunk/arch/sparc64/include/context.h /kernel/trunk/generic/include/align.h /kernel/trunk/generic/include/mm/frame.h /kernel/trunk/generic/src/main/main.c /kernel/trunk/generic/src/mm/frame.c
|
548 |
6909 d 0 h |
jermar |
/kernel/trunk/ |
Cleanup and fixes. |
|
/kernel/trunk/arch/amd64/src/mm/page.c /kernel/trunk/arch/ia32/src/mm/page.c /kernel/trunk/arch/mips32/src/mm/page.c /kernel/trunk/generic/include/mm/frame.h /kernel/trunk/generic/src/console/kconsole.c /kernel/trunk/generic/src/cpu/cpu.c /kernel/trunk/generic/src/mm/page.c /kernel/trunk/generic/src/mm/vm.c /kernel/trunk/generic/src/proc/thread.c /kernel/trunk/kernel.config /kernel/trunk/test/mm/mapping1/test.c
|
540 |
6909 d 21 h |
jermar |
/kernel/trunk/arch/ |
Map all available frames of memory on ia32 and amd64 (ticket #10). |
|
/kernel/trunk/arch/amd64/include/mm/frame.h /kernel/trunk/arch/amd64/src/mm/page.c /kernel/trunk/arch/ia32/include/boot/memmap.h /kernel/trunk/arch/ia32/include/mm/frame.h /kernel/trunk/arch/ia32/src/mm/frame.c /kernel/trunk/arch/ia32/src/mm/page.c
|
537 |
6910 d 3 h |
jermar |
/kernel/trunk/ |
Buddy system cleanup and fixes.
- missing use of KA2PA in frame_init
- truncating black list addresses to frame boundaries
- removal of left-over obsolete structures
- fixing some comments |
|
/kernel/trunk/arch/ia32/src/mm/frame.c /kernel/trunk/arch/ia64/include/mm/page.h /kernel/trunk/generic/include/mm/frame.h /kernel/trunk/generic/src/mm/frame.c
|
534 |
6911 d 0 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel again. |
|
/kernel
/SPARTAN
|
533 |
6911 d 0 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) |
|
/SPARTAN/trunk/Makefile.config /SPARTAN/trunk/arch/amd64/src/mm/page.c /SPARTAN/trunk/arch/ia32/src/mm/frame.c /SPARTAN/trunk/arch/ia32/src/mm/page.c /SPARTAN/trunk/arch/ia64/src/mm/frame.c /SPARTAN/trunk/arch/mips32/src/mm/frame.c /SPARTAN/trunk/arch/mips32/src/mm/page.c /SPARTAN/trunk/arch/ppc32/src/mm/frame.c /SPARTAN/trunk/generic/include/mm/buddy.h /SPARTAN/trunk/generic/include/mm/frame.h /SPARTAN/trunk/generic/include/typedefs.h /SPARTAN/trunk/generic/src/cpu/cpu.c /SPARTAN/trunk/generic/src/mm/buddy.c /SPARTAN/trunk/generic/src/mm/frame.c /SPARTAN/trunk/generic/src/mm/page.c /SPARTAN/trunk/generic/src/mm/vm.c /SPARTAN/trunk/generic/src/proc/thread.c
|
532 |
6911 d 1 h |
jermar |
/ |
Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch. |
|
/SPARTAN
/kernel
|
501 |
6923 d 5 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel. |
|
/kernel
/SPARTAN
|
492 |
6923 d 22 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. |
|
/SPARTAN/trunk/arch/amd64/src/mm/page.c /SPARTAN/trunk/arch/ia32/src/drivers/ega.c /SPARTAN/trunk/arch/ia32/src/mm/page.c /SPARTAN/trunk/arch/ia32/src/smp/smp.c /SPARTAN/trunk/arch/mips32/src/mm/tlb.c /SPARTAN/trunk/genarch/src/acpi/acpi.c /SPARTAN/trunk/generic/include/mm/page.h /SPARTAN/trunk/generic/src/mm/page.c /SPARTAN/trunk/generic/src/mm/vm.c /SPARTAN/trunk/test/mm/mapping1/test.c
|
396 |
6970 d 7 h |
jermar |
/SPARTAN/trunk/ |
Add mm/mapping1 test.
(Will not make it past TLB Invalid exception on mips32.)
Fixes in asid.c.
Make TLB register types union with __u32 value.
Implement tlb_invalidate() for mips32.
(TLB invalidation and shootdown path will have to be revised.) |
|
/SPARTAN/trunk/test/mm /SPARTAN/trunk/test/mm/mapping1 /SPARTAN/trunk/test/mm/mapping1/test.c
/SPARTAN/trunk/Makefile.config /SPARTAN/trunk/arch/ia32/src/mm/tlb.c /SPARTAN/trunk/arch/mips32/include/mm/asid.h /SPARTAN/trunk/arch/mips32/include/mm/tlb.h /SPARTAN/trunk/arch/mips32/src/mm/asid.c /SPARTAN/trunk/arch/mips32/src/mm/tlb.c /SPARTAN/trunk/arch/mips32/src/mm/vm.c /SPARTAN/trunk/include/mm/tlb.h
|
372 |
6984 d 5 h |
cejka |
/SPARTAN/trunk/arch/ia32/src/mm/ |
Memmap print fixed. |
|
/SPARTAN/trunk/arch/ia32/src/mm/memory_init.c
|