Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
753 |
6775 d 8 h |
jermar |
/kernel/trunk/ |
Convert ASID management of ia64 to ASID FIFO mechanism.
18-bit RIDs are supported. |
|
/kernel/trunk/arch/ia64/src/mm/asid.c
/kernel/trunk/arch/ia64/Makefile.inc /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
|
746 |
6779 d 10 h |
jermar |
/kernel/trunk/ |
Page hash table modifications. |
|
/kernel/trunk/arch/ia64/include/asm.h /kernel/trunk/arch/ia64/include/mm/page.h /kernel/trunk/arch/ia64/include/register.h /kernel/trunk/arch/ia64/src/mm/page.c /kernel/trunk/arch/sparc64/include/mm/page.h /kernel/trunk/genarch/include/mm/page_ht.h /kernel/trunk/genarch/src/mm/page_ht.c
|
743 |
6781 d 3 h |
jermar |
/kernel/trunk/arch/ |
sparc64 work.
13 bits wide means the max value is 8191 and not 0x8191. |
|
/kernel/trunk/arch/mips32/include/mm/asid.h /kernel/trunk/arch/sparc64/include/mm/asid.h
|
742 |
6781 d 3 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 4 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
|
727 |
6786 d 2 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 |
6792 d 11 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
|
700 |
6795 d 10 h |
jermar |
/kernel/trunk/arch/sparc64/include/ |
Remove fmath.h |
|
/kernel/trunk/arch/sparc64/include/fmath.h
|
699 |
6795 d 11 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 8 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
|
669 |
6806 d 2 h |
jermar |
/kernel/trunk/ |
sparc64 work.
kconsole support.
Add non-blocking ofw_getchar(). |
|
/kernel/trunk/arch/sparc64/include/console.h /kernel/trunk/arch/sparc64/src/console.c /kernel/trunk/arch/sparc64/src/sparc64.c /kernel/trunk/genarch/include/ofw/ofw.h /kernel/trunk/genarch/src/ofw/ofw.c /kernel/trunk/generic/include/console/chardev.h
|
667 |
6807 d 5 h |
jermar |
/kernel/trunk/arch/sparc64/ |
sparc64 work.
Rename saving_handler() to preemptible_handler()
and fix it to make sparc64 kernel preemptive.
Add two handlers for two fatal exceptions (i.e.
instruction_access_exception and mem_address_not_aligned.
Fix panic_printf() to not allocate its own register window. |
|
/kernel/trunk/arch/sparc64/include/trap/exception.h /kernel/trunk/arch/sparc64/src/trap/exception.c
/kernel/trunk/arch/sparc64/Makefile.inc /kernel/trunk/arch/sparc64/include/trap/interrupt.h /kernel/trunk/arch/sparc64/include/trap/trap_table.h /kernel/trunk/arch/sparc64/src/panic.S /kernel/trunk/arch/sparc64/src/trap/trap.c /kernel/trunk/arch/sparc64/src/trap/trap_table.S
|
666 |
6809 d 3 h |
jermar |
/kernel/trunk/ |
sparc64 work.
Fix clean_window trap handler so that it clears output registers instead of input registers!
Fix interrupt handlers to save global registers. |
|
/kernel/trunk/arch/sparc64/include/context.h /kernel/trunk/arch/sparc64/include/context_offset.h /kernel/trunk/arch/sparc64/include/trap/interrupt.h /kernel/trunk/arch/sparc64/include/trap/regwin.h /kernel/trunk/arch/sparc64/include/trap/trap_table.h /kernel/trunk/arch/sparc64/src/context.S /kernel/trunk/arch/sparc64/src/panic.S /kernel/trunk/arch/sparc64/src/trap/trap_table.S /kernel/trunk/tools/sparc64/gencontext.c
|
665 |
6809 d 12 h |
jermar |
/kernel/trunk/arch/sparc64/ |
sparc64 work.
Tick interrupt support. |
|
/kernel/trunk/arch/sparc64/include/asm.h /kernel/trunk/arch/sparc64/include/drivers/tick.h /kernel/trunk/arch/sparc64/src/drivers/tick.c
|
664 |
6810 d 23 h |
jermar |
/kernel/trunk/ |
sparc64 work.
Interrupt Levels 1 - 15 serviced.
Minor changes in the exc_* functions. |
|
/kernel/trunk/arch/sparc64/include/drivers /kernel/trunk/arch/sparc64/include/drivers/tick.h /kernel/trunk/arch/sparc64/include/trap/interrupt.h /kernel/trunk/arch/sparc64/src/drivers /kernel/trunk/arch/sparc64/src/drivers/tick.c /kernel/trunk/arch/sparc64/src/trap/interrupt.c
/kernel/trunk/arch/sparc64/Makefile.inc /kernel/trunk/arch/sparc64/include/asm.h /kernel/trunk/arch/sparc64/include/interrupt.h /kernel/trunk/arch/sparc64/include/register.h /kernel/trunk/arch/sparc64/src/console.c /kernel/trunk/arch/sparc64/src/sparc64.c /kernel/trunk/arch/sparc64/src/trap/trap.c /kernel/trunk/arch/sparc64/src/trap/trap_table.S /kernel/trunk/generic/include/interrupt.h /kernel/trunk/generic/include/typedefs.h /kernel/trunk/generic/src/interrupt/interrupt.c
|
658 |
6814 d 13 h |
jermar |
/kernel/trunk/arch/sparc64/include/ |
sparc64 work.
Add functions to read and write TICK and TICK_compare registers.
Add types describing TICK and TICK_compare registers. |
|
/kernel/trunk/arch/sparc64/include/asm.h /kernel/trunk/arch/sparc64/include/mm/mmu.h /kernel/trunk/arch/sparc64/include/mm/tlb.h /kernel/trunk/arch/sparc64/include/register.h
|
657 |
6815 d 1 h |
jermar |
/kernel/trunk/ |
sparc64 work.
Context again. It turns out, according to SCD 2.4, that registers that didn't have to be saved were saved (%o1 - %o5) and
registers that had to be saved were not saved (%i0 - %i5, %l0 - %l7). |
|
/kernel/trunk/arch/sparc64/include/context.h /kernel/trunk/arch/sparc64/include/context_offset.h /kernel/trunk/arch/sparc64/src/context.S /kernel/trunk/tools/sparc64/gencontext.c
|
650 |
6817 d 2 h |
jermar |
/kernel/trunk/ |
sparc64 work.
Implement interrupt_disable(), interrupt_enable(), interrupt_restore() and interrupt_read() functions.
Fix context save/restore to save/restore register %i7. |
|
/kernel/trunk/arch/sparc64/include/asm.h /kernel/trunk/arch/sparc64/include/context.h /kernel/trunk/arch/sparc64/include/context_offset.h /kernel/trunk/arch/sparc64/include/register.h /kernel/trunk/arch/sparc64/src/context.S /kernel/trunk/arch/sparc64/src/dummy.s /kernel/trunk/generic/include/debug.h /kernel/trunk/generic/src/proc/scheduler.c
|
646 |
6818 d 1 h |
jermar |
/kernel/trunk/ |
Fix cpu_init(): frame_alloc() can return 0 as the valid address of block of frames. Do not signal error.
sparc64 work.
Reorganize kernel vs. userspace memory layout.
Add panic_printf().
Turn dummy() into nop rather than into infinite loop. |
|
/kernel/trunk/arch/sparc64/src/panic.S
/kernel/trunk/arch/sparc64/Makefile.inc /kernel/trunk/arch/sparc64/include/mm/page.h /kernel/trunk/arch/sparc64/include/mm/vm.h /kernel/trunk/arch/sparc64/src/dummy.s /kernel/trunk/arch/sparc64/src/mm/tlb.c /kernel/trunk/arch/sparc64/src/sparc64.c /kernel/trunk/generic/src/cpu/cpu.c
|
640 |
6819 d 1 h |
jermar |
/kernel/trunk/ |
sparc64 work.
CPU identification. |
|
/kernel/trunk/arch/sparc64/include/register.h /kernel/trunk/arch/sparc64/src/cpu /kernel/trunk/arch/sparc64/src/cpu/cpu.c
/kernel/trunk/arch/sparc64/Makefile.inc /kernel/trunk/arch/sparc64/include/asm.h /kernel/trunk/arch/sparc64/include/cpu.h /kernel/trunk/arch/sparc64/src/dummy.s /kernel/trunk/generic/src/console/kconsole.c /kernel/trunk/generic/src/main/main.c
|