Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
742 |
6781 d 7 h |
jermar |
/kernel/trunk/arch/ |
sparc64 work.
Memory context (ASID) is, in fact, 13 bits (and not 12 bits) wide. |
|
/kernel/trunk/arch/ia64/src/mm/asid.c /kernel/trunk/arch/sparc64/include/mm/asid.h
|
741 |
6781 d 7 h |
jermar |
/kernel/trunk/ |
Unlock address space prior TLB shootdown in get_asid() to unify
the locking order among mips32, sparc64 and ia64.
Add ASID_STEALING_ENABLED macro to disable the stealing part on ia64
in a clean way. |
|
/kernel/trunk/arch/ia64/include/mm/asid.h /kernel/trunk/arch/mips32/include/mm/asid.h /kernel/trunk/arch/sparc64/include/mm/asid.h /kernel/trunk/genarch/src/mm/asid.c
|
740 |
6781 d 13 h |
jermar |
/kernel/trunk/ |
ia64 ASID management code (not tested). |
|
/kernel/trunk/arch/ia64/src/mm/asid.c /kernel/trunk/arch/ia64/src/mm/tlb.c
/kernel/trunk/arch/ia64/Makefile.inc /kernel/trunk/arch/ia64/include/mm/asid.h /kernel/trunk/genarch/src/mm/asid.c /kernel/trunk/generic/src/mm/tlb.c
|
736 |
6783 d 10 h |
jermar |
/kernel/trunk/arch/ia64/src/ |
Fix panic_printf on ia64 to call halt() instead of cpu_halt(). |
|
/kernel/trunk/arch/ia64/src/asm.S
|
730 |
6784 d 10 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
|
728 |
6786 d 5 h |
vana |
/kernel/trunk/arch/ia64/src/mm/ |
Serialize writes to RR because of assembler RAW warning. |
|
/kernel/trunk/arch/ia64/src/mm/page.c
|
727 |
6786 d 6 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
|
726 |
6786 d 6 h |
jermar |
/kernel/trunk/arch/ia64/src/mm/ |
Temporarily disable set_VHPT_environment() to stop ia64 kernel from faulting. |
|
/kernel/trunk/arch/ia64/src/mm/page.c
|
716 |
6790 d 10 h |
vana |
/kernel/trunk/arch/ia64/src/mm/ |
ttag and thash envelope functions |
|
/kernel/trunk/arch/ia64/src/mm/page.c
|
715 |
6790 d 10 h |
vana |
/kernel/trunk/arch/ia64/ |
VHPT setup to be able to use ttag and thash instructions |
|
/kernel/trunk/arch/ia64/include/mm/frame.h /kernel/trunk/arch/ia64/include/mm/page.h /kernel/trunk/arch/ia64/src/mm/page.c
|
710 |
6790 d 12 h |
vana |
/kernel/trunk/arch/ia64/include/mm/ |
VHPT entry |
|
/kernel/trunk/arch/ia64/include/mm/page.h
|
703 |
6792 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(). |
|
/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
|
699 |
6795 d 15 h |
jermar |
/kernel/trunk/ |
Memory management work.
Proto-interface and dummy implementation of generic page hash table subsytem. |
|
/kernel/trunk/arch/ia64/include/mm/page.h /kernel/trunk/arch/sparc64/include/mm/page.h /kernel/trunk/genarch/include/mm/page_ht.h /kernel/trunk/genarch/src/mm/page_ht.c /kernel/trunk/generic/include/mm/page.h /kernel/trunk/generic/src/mm/page.c
|
691 |
6797 d 11 h |
jermar |
/kernel/trunk/arch/ |
Cleanup. |
|
/kernel/trunk/arch/amd64/src/mm/page.c /kernel/trunk/arch/ia64/include/mm/page.h /kernel/trunk/arch/sparc64/include/mm/page.h
|
684 |
6797 d 13 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
|
674 |
6801 d 16 h |
cejka |
/kernel/trunk/ |
Support for printing float numbers in kernel removed. |
|
/kernel/trunk/arch/amd64/include/fmath.h /kernel/trunk/arch/amd64/src/fmath.c /kernel/trunk/arch/ia32/include/fmath.h /kernel/trunk/arch/ia32/src/fmath.c /kernel/trunk/arch/ia64/include/fmath.h /kernel/trunk/arch/ia64/src/fmath.c /kernel/trunk/arch/mips32/include/fmath.h /kernel/trunk/arch/mips32/src/fmath.c /kernel/trunk/arch/ppc32/include/fmath.h /kernel/trunk/arch/ppc32/src/fmath.c
/kernel/trunk/arch/amd64/Makefile.inc /kernel/trunk/arch/ia32/Makefile.inc /kernel/trunk/arch/ia64/Makefile.inc /kernel/trunk/arch/mips32/Makefile.inc /kernel/trunk/arch/ppc32/Makefile.inc /kernel/trunk/generic/src/debug/print.c /kernel/trunk/test/print/print1/test.c
|
659 |
6814 d 17 h |
jermar |
/kernel/trunk/ |
Make the kernel compile with -Wall. |
|
/kernel/trunk/Makefile /kernel/trunk/arch/ia64/src/fmath.c /kernel/trunk/arch/ppc32/src/fmath.c /kernel/trunk/arch/ppc32/src/mm/memory_init.c /kernel/trunk/genarch/src/acpi/acpi.c /kernel/trunk/generic/src/lib/func.c /kernel/trunk/generic/src/time/timeout.c
|
655 |
6816 d 10 h |
jermar |
/kernel/trunk/arch/ |
Compilation fixes. |
|
/kernel/trunk/arch/ia64/include/memstr.h /kernel/trunk/arch/mips32/include/memstr.h /kernel/trunk/arch/ppc32/include/memstr.h
|
627 |
6821 d 11 h |
jermar |
/kernel/trunk/ |
Fix ia64 and sparc64 to compile with new atomic_t.
Fix rwlock test #5 and semaphore test #1 to compile with new atomic_t.
sparc64 work.
TBA must be set before a function call when MMU is switched off. |
|
/kernel/trunk/arch/ia32/include/atomic.h /kernel/trunk/arch/ia64/include/atomic.h /kernel/trunk/arch/mips32/include/atomic.h /kernel/trunk/arch/sparc64/include/atomic.h /kernel/trunk/arch/sparc64/include/trap.h /kernel/trunk/arch/sparc64/src/mm/tlb.c /kernel/trunk/arch/sparc64/src/sparc64.c /kernel/trunk/arch/sparc64/src/trap.c /kernel/trunk/test/synch/rwlock5/test.c /kernel/trunk/test/synch/semaphore1/test.c
|
625 |
6821 d 12 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
|
586 |
6826 d 12 h |
jermar |
/kernel/trunk/ |
Fix ppc32 and sparc64 to compile again.
Fix sparc64 to function again. |
|
/kernel/trunk/arch/ppc32/include/console.h /kernel/trunk/arch/sparc64/include/console.h
/kernel/trunk/arch/ia64/src/ski/ski.c /kernel/trunk/arch/ppc32/src/console.c /kernel/trunk/arch/ppc32/src/ppc32.c /kernel/trunk/arch/sparc64/src/console.c /kernel/trunk/arch/sparc64/src/sparc64.c /kernel/trunk/generic/include/console/chardev.h /kernel/trunk/generic/include/interrupt.h /kernel/trunk/generic/src/interrupt/interrupt.c
|
584 |
6826 d 13 h |
jermar |
/kernel/trunk/arch/ia64/src/ski/ |
Fix IA-64 ski_getchar().
Output operand vs. input operand.
Now the characters are read correctly. |
|
/kernel/trunk/arch/ia64/src/ski/ski.c
|
583 |
6826 d 13 h |
jermar |
/kernel/trunk/arch/ia64/ |
Fix IA-64 so that it compiles again.
Characters are not recognised correctly. |
|
/kernel/trunk/arch/ia64/Makefile.inc /kernel/trunk/arch/ia64/include/ski/ski.h /kernel/trunk/arch/ia64/src/interrupt.c /kernel/trunk/arch/ia64/src/putchar.c /kernel/trunk/arch/ia64/src/ski/ski.c
|
581 |
6826 d 16 h |
palkovsky |
/kernel/trunk/ |
Small debug changes. |
|
/kernel/trunk/arch/amd64/include/debug.h /kernel/trunk/arch/ia32/include/debug.h /kernel/trunk/arch/ia64/include/debug.h /kernel/trunk/arch/ppc32/include/debug.h /kernel/trunk/arch/sparc64/include/debug.h
/kernel/trunk/arch/amd64/include/asm.h /kernel/trunk/arch/ia32/include/asm.h /kernel/trunk/arch/mips32/include/debug.h /kernel/trunk/generic/include/debug.h /kernel/trunk/generic/src/interrupt/interrupt.c /kernel/trunk/generic/src/synch/spinlock.c
|
577 |
6827 d 3 h |
palkovsky |
/kernel/trunk/ |
Some small fixes, basic changes to ia64 & ppc32 without testing. |
|
/kernel/trunk/arch/ia64/include/drivers/keyboard.h /kernel/trunk/arch/ia64/src/drivers/keyboard.c
/kernel/trunk/Makefile /kernel/trunk/arch/ia64/include/ski/ski.h /kernel/trunk/arch/ia64/src/drivers/it.c /kernel/trunk/arch/ia64/src/ia64.c /kernel/trunk/arch/ia64/src/ski/ski.c /kernel/trunk/arch/mips32/src/drivers/arc.c /kernel/trunk/arch/mips32/src/drivers/serial.c /kernel/trunk/arch/ppc32/src/console.c
|
569 |
6828 d 5 h |
jermar |
/kernel/trunk/ |
sparc64 work.
Implement functions for reading IMMU and DMMU TLBs. |
|
/kernel/trunk/arch/amd64/include/mm/tlb.h /kernel/trunk/arch/ia32/include/mm/tlb.h /kernel/trunk/arch/ia64/include/mm/tlb.h /kernel/trunk/arch/mips32/src/mm/tlb.c /kernel/trunk/arch/ppc32/include/mm/tlb.h /kernel/trunk/arch/sparc64/Makefile.inc /kernel/trunk/arch/sparc64/include/asm.h /kernel/trunk/arch/sparc64/include/barrier.h /kernel/trunk/arch/sparc64/include/mm/tlb.h /kernel/trunk/arch/sparc64/include/types.h /kernel/trunk/generic/include/mm/tlb.h /kernel/trunk/generic/src/mm/tlb.c
|
564 |
6829 d 5 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
|
539 |
6831 d 9 h |
jermar |
/kernel/trunk/ |
Buddy allocator cleanup and fixes.
- Add some comments.
- Update zone information on frames allocation/deallocation. |
|
/kernel/trunk/arch/ia64/Makefile.inc /kernel/trunk/generic/include/mm/frame.h /kernel/trunk/generic/src/mm/frame.c
|
537 |
6831 d 11 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 |
6832 d 8 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel again. |
|
/kernel
/SPARTAN
|
533 |
6832 d 8 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 |
6832 d 9 h |
jermar |
/ |
Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch. |
|
/SPARTAN
/kernel
|
523 |
6838 d 12 h |
jermar |
/kernel/trunk/ |
Clean up. |
|
/kernel/trunk/arch/ia32/src/smp/apic.c /kernel/trunk/arch/ia64/src/drivers/keyboard.c /kernel/trunk/arch/ia64/src/ski/ski.c /kernel/trunk/doc/arch/ia32 /kernel/trunk/generic/src/main/kinit.c /kernel/trunk/generic/src/main/main.c
|
522 |
6838 d 15 h |
vana |
/kernel/trunk/arch/ia64/src/ski/ |
Comment update |
|
/kernel/trunk/arch/ia64/src/ski/ski.c
|
521 |
6838 d 15 h |
vana |
/kernel/trunk/arch/ia64/ |
Coding style patch. |
|
/kernel/trunk/arch/ia64/include/drivers/keyboard.h /kernel/trunk/arch/ia64/src/drivers/it.c /kernel/trunk/arch/ia64/src/drivers/keyboard.c
|
520 |
6839 d 6 h |
vana |
/kernel/trunk/arch/ia64/ |
Lost files from last commit. |
|
/kernel/trunk/arch/ia64/include/drivers/keyboard.h /kernel/trunk/arch/ia64/src/drivers/keyboard.c
|
519 |
6839 d 6 h |
vana |
/kernel/trunk/arch/ia64/ |
Keyboard support for ski (ia64 emulator) |
|
/kernel/trunk/arch/ia64/Makefile.inc /kernel/trunk/arch/ia64/include/ski/ski.h /kernel/trunk/arch/ia64/include/types.h /kernel/trunk/arch/ia64/src/drivers/it.c /kernel/trunk/arch/ia64/src/ia64.c /kernel/trunk/arch/ia64/src/ski/ski.c
|
503 |
6844 d 12 h |
jermar |
/kernel/trunk/ |
Rename arch_late_init() to arch_pre_smp_init().
Add arch_post_smp_init().
Enable IRQ_KBD on ia-32 (doesn't work on Bochs SMP, works on Bochs UP). |
|
/kernel/trunk/arch/amd64/src/amd64.c /kernel/trunk/arch/ia32/src/ia32.c /kernel/trunk/arch/ia64/src/dummy.s /kernel/trunk/arch/ia64/src/ia64.c /kernel/trunk/arch/mips32/src/mips32.c /kernel/trunk/arch/ppc32/src/ppc32.c /kernel/trunk/arch/sparc64/src/sparc64.c /kernel/trunk/generic/include/arch.h /kernel/trunk/generic/src/main/main.c
|
501 |
6844 d 13 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel. |
|
/kernel
/SPARTAN
|
486 |
6852 d 5 h |
jermar |
/SPARTAN/trunk/ |
Revert to -O3 for all architectures as the mips32 bug got fixed. |
|
/SPARTAN/trunk/Makefile /SPARTAN/trunk/arch/amd64/Makefile.inc /SPARTAN/trunk/arch/ia32/Makefile.inc /SPARTAN/trunk/arch/ia64/Makefile.inc /SPARTAN/trunk/arch/mips32/Makefile.inc /SPARTAN/trunk/arch/ppc32/Makefile.inc /SPARTAN/trunk/arch/sparc64/Makefile.inc
|