Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
1920 |
6517 d 7 h |
jermar |
/trunk/kernel/ |
Move the new IRQ redirector to ddi/.
Add function for assigning unique device numbers.
Change sparc64/drivers/kbd.c to assign devno to keyboard. |
|
/trunk/kernel/generic/include/ddi/device.h /trunk/kernel/generic/include/ddi/irq.h /trunk/kernel/generic/src/ddi/device.c /trunk/kernel/generic/src/ddi/irq.c
/trunk/kernel/generic/include/irq.h /trunk/kernel/generic/src/interrupt/irq.c
/trunk/kernel/Makefile /trunk/kernel/arch/sparc64/src/drivers/kbd.c /trunk/kernel/arch/sparc64/src/sparc64.c /trunk/kernel/arch/sparc64/src/trap/interrupt.c /trunk/kernel/genarch/include/kbd/ns16550.h /trunk/kernel/genarch/include/kbd/z8530.h /trunk/kernel/genarch/src/kbd/ns16550.c /trunk/kernel/genarch/src/kbd/z8530.c /trunk/kernel/generic/include/typedefs.h
|
1919 |
6517 d 22 h |
jermar |
/trunk/kernel/ |
Prototypical implementation of new IRQ redirector in sparc64.
The new code can support shared IRQs in kernel (and multiple IRQs per device).
Userspace support is yet to be written.
The only architecture that uses this code is actually sparc64 only. |
|
/trunk/kernel/generic/include/irq.h /trunk/kernel/generic/src/interrupt/irq.c
/trunk/kernel/Makefile /trunk/kernel/arch/sparc64/src/drivers/kbd.c /trunk/kernel/arch/sparc64/src/sparc64.c /trunk/kernel/arch/sparc64/src/trap/interrupt.c /trunk/kernel/genarch/include/kbd/ns16550.h /trunk/kernel/genarch/include/kbd/z8530.h /trunk/kernel/genarch/src/kbd/ns16550.c /trunk/kernel/genarch/src/kbd/z8530.c /trunk/kernel/generic/include/ipc/irq.h
|
1914 |
6523 d 4 h |
jermar |
/trunk/kernel/generic/ |
Add function for printing out info about address space. |
|
/trunk/kernel/generic/include/mm/as.h /trunk/kernel/generic/src/mm/as.c
|
1901 |
6535 d 4 h |
jermar |
/trunk/kernel/ |
Make SMP related parts of main.c more generic.
Move initialization of local APIC to architecture specific code.
Add arch_post_cpu_init() to support the above. |
|
/trunk/kernel/generic/src/smp/smp.c
/trunk/kernel/Makefile /trunk/kernel/arch/amd64/src/amd64.c /trunk/kernel/arch/ia32/include/smp/mps.h /trunk/kernel/arch/ia32/src/ia32.c /trunk/kernel/arch/ia32/src/smp/mps.c /trunk/kernel/arch/ia32/src/smp/smp.c /trunk/kernel/arch/ia64/src/ia64.c /trunk/kernel/arch/mips32/src/mips32.c /trunk/kernel/arch/ppc32/src/ppc32.c /trunk/kernel/arch/ppc64/src/ppc64.c /trunk/kernel/arch/sparc64/src/sparc64.c /trunk/kernel/arch/xen32/src/xen32.c /trunk/kernel/generic/include/arch.h /trunk/kernel/generic/include/smp/smp.h /trunk/kernel/generic/src/main/kinit.c /trunk/kernel/generic/src/main/main.c
|
1896 |
6538 d 21 h |
jermar |
/trunk/ |
Convert sparc64 to detect keyboard and determine
its physical address by walking the memory representation
of the OpenFirmware device tree.
Add bus-specific functions that know how to apply the
"ranges" property to one component of the "reg" property.
Buses supported so far include FHC, EBUS and PCI. |
|
/trunk/kernel/genarch/src/ofw/ebus.c /trunk/kernel/genarch/src/ofw/fhc.c /trunk/kernel/genarch/src/ofw/pci.c
/trunk/boot/arch/sparc64/loader/main.c /trunk/boot/arch/sparc64/loader/main.h /trunk/boot/arch/sparc64/loader/ofwarch.c /trunk/boot/genarch/ofw_tree.c /trunk/boot/generic/string.c /trunk/boot/generic/string.h /trunk/kernel/Makefile /trunk/kernel/arch/sparc64/Makefile.inc /trunk/kernel/arch/sparc64/include/boot/boot.h /trunk/kernel/arch/sparc64/include/drivers/kbd.h /trunk/kernel/arch/sparc64/src/console.c /trunk/kernel/arch/sparc64/src/drivers/kbd.c /trunk/kernel/arch/sparc64/src/trap/interrupt.c /trunk/kernel/genarch/Makefile.inc /trunk/kernel/genarch/include/kbd/i8042.h /trunk/kernel/genarch/include/kbd/key.h /trunk/kernel/genarch/include/kbd/ns16550.h /trunk/kernel/genarch/include/kbd/z8530.h /trunk/kernel/genarch/include/ofw/ofw_tree.h /trunk/kernel/genarch/src/kbd/i8042.c /trunk/kernel/genarch/src/kbd/key.c /trunk/kernel/genarch/src/kbd/ns16550.c /trunk/kernel/genarch/src/kbd/z8530.c /trunk/kernel/genarch/src/ofw/ofw_tree.c /trunk/kernel/generic/include/func.h /trunk/kernel/generic/src/lib/func.c /trunk/kernel/kernel.config
|
1894 |
6541 d 20 h |
jermar |
/trunk/ |
Add balloc() (a.k.a boot allocator):
- balloc() only needs to know how to allocate memory.
- Memory allocated via balloc() is supposed to be passed to kernel and never freed by boot itself.
- make kernel aware of boot allocations
More work on OFW device tree:
- use balloc() to efficiently and safely allocate memory for the canonical copy of the device tree
sparc64 boot:
- pass OFW device tree root node pointer to kernel |
|
/trunk/boot/genarch/balloc.c /trunk/boot/genarch/balloc.h /trunk/kernel/genarch/include/ofw /trunk/kernel/genarch/include/ofw/ofw_tree.h /trunk/kernel/genarch/src/ofw /trunk/kernel/genarch/src/ofw/ofw_tree.c
/trunk/boot/arch/sparc64/loader/Makefile /trunk/boot/arch/sparc64/loader/main.c /trunk/boot/arch/sparc64/loader/main.h /trunk/boot/genarch/ofw_tree.c /trunk/boot/genarch/ofw_tree.h /trunk/kernel/arch/sparc64/include/boot/boot.h /trunk/kernel/arch/sparc64/src/sparc64.c /trunk/kernel/genarch/Makefile.inc /trunk/kernel/generic/include/config.h /trunk/kernel/generic/src/main/main.c /trunk/kernel/generic/src/mm/frame.c
|
1891 |
6542 d 21 h |
jermar |
/trunk/kernel/ |
sparc64 work:
- Experimental support for TSB (Translation Storage Buffer). |
|
/trunk/kernel/Makefile /trunk/kernel/arch/amd64/include/mm/as.h /trunk/kernel/arch/ia32/include/mm/as.h /trunk/kernel/arch/ia64/include/mm/as.h /trunk/kernel/arch/mips32/include/mm/as.h /trunk/kernel/arch/ppc32/include/mm/as.h /trunk/kernel/arch/ppc64/include/mm/as.h /trunk/kernel/arch/sparc64/Makefile.inc /trunk/kernel/arch/sparc64/include/arch.h /trunk/kernel/arch/sparc64/include/barrier.h /trunk/kernel/arch/sparc64/include/mm/mmu.h /trunk/kernel/arch/sparc64/include/mm/tsb.h /trunk/kernel/arch/sparc64/include/mm/tte.h /trunk/kernel/arch/sparc64/include/trap/mmu.h /trunk/kernel/arch/sparc64/src/mm/as.c /trunk/kernel/arch/sparc64/src/mm/tlb.c /trunk/kernel/arch/sparc64/src/mm/tsb.c /trunk/kernel/arch/xen32/include/mm/as.h /trunk/kernel/genarch/src/mm/asid.c /trunk/kernel/generic/include/mm/as.h /trunk/kernel/generic/src/mm/as.c
|
1890 |
6543 d 7 h |
jermar |
/trunk/ |
- Create a dedicated slab cache for as_t objects and switch from malloc/free to slab_alloc/slab_free for
them.
- Slightly fix and improve both the kernel and userspace atomic_add() on sparc64.
- More TSB work on the sparc64 front. |
|
/trunk/kernel/arch/amd64/include/mm/as.h /trunk/kernel/arch/ia32/include/mm/as.h /trunk/kernel/arch/ia64/include/mm/as.h /trunk/kernel/arch/mips32/include/mm/as.h /trunk/kernel/arch/ppc32/include/mm/as.h /trunk/kernel/arch/ppc64/include/mm/as.h /trunk/kernel/arch/sparc64/include/atomic.h /trunk/kernel/arch/sparc64/include/mm/tsb.h /trunk/kernel/arch/sparc64/src/mm/as.c /trunk/kernel/arch/sparc64/src/proc/scheduler.c /trunk/kernel/arch/xen32/include/mm/as.h /trunk/kernel/generic/include/mm/as.h /trunk/kernel/generic/src/mm/as.c /trunk/uspace/libc/arch/sparc64/include/atomic.h
|
1889 |
6543 d 23 h |
jermar |
/trunk/kernel/ |
Fix bug in mm/as.c:
- as_area_destroy() should not work with AS but as
sparc64 work:
- start implementing TSB support |
|
/trunk/kernel/arch/sparc64/include/mm/tsb.h /trunk/kernel/arch/sparc64/src/mm/tsb.c
/trunk/kernel/arch/amd64/include/mm/as.h /trunk/kernel/arch/ia32/include/mm/as.h /trunk/kernel/arch/ia64/include/mm/as.h /trunk/kernel/arch/mips32/include/mm/as.h /trunk/kernel/arch/ppc32/include/mm/as.h /trunk/kernel/arch/ppc64/include/mm/as.h /trunk/kernel/arch/sparc64/Makefile.inc /trunk/kernel/arch/sparc64/include/mm/as.h /trunk/kernel/arch/xen32/include/mm/as.h /trunk/kernel/genarch/src/mm/asid.c /trunk/kernel/generic/include/mm/as.h /trunk/kernel/generic/src/mm/as.c /trunk/kernel/kernel.config
|
1888 |
6547 d 2 h |
jermar |
/trunk/ |
C99 compliant header guards (hopefully) everywhere in the kernel.
Formatting and indentation changes.
Small improvements in sparc64. |
|
/trunk/kernel/arch/ia64/include/smp/atomic.h
/trunk/kernel/arch/amd64/include/arg.h /trunk/kernel/arch/amd64/include/asm.h /trunk/kernel/arch/amd64/include/atomic.h /trunk/kernel/arch/amd64/include/boot/boot.h /trunk/kernel/arch/amd64/include/byteorder.h /trunk/kernel/arch/amd64/include/context.h /trunk/kernel/arch/amd64/include/context_offset.h /trunk/kernel/arch/amd64/include/cpu.h /trunk/kernel/arch/amd64/include/cpuid.h /trunk/kernel/arch/amd64/include/ddi/ddi.h /trunk/kernel/arch/amd64/include/debugger.h /trunk/kernel/arch/amd64/include/drivers/vesa.h /trunk/kernel/arch/amd64/include/elf.h /trunk/kernel/arch/amd64/include/faddr.h /trunk/kernel/arch/amd64/include/interrupt.h /trunk/kernel/arch/amd64/include/memstr.h /trunk/kernel/arch/amd64/include/mm/as.h /trunk/kernel/arch/amd64/include/mm/frame.h /trunk/kernel/arch/amd64/include/mm/page.h /trunk/kernel/arch/amd64/include/mm/ptl.h /trunk/kernel/arch/amd64/include/mm/tlb.h /trunk/kernel/arch/amd64/include/pm.h /trunk/kernel/arch/amd64/include/syscall.h /trunk/kernel/arch/amd64/include/types.h /trunk/kernel/arch/amd64/src/ddi/ddi.c /trunk/kernel/arch/amd64/src/debugger.c /trunk/kernel/arch/amd64/src/interrupt.c /trunk/kernel/arch/amd64/src/mm/memory_init.c /trunk/kernel/arch/amd64/src/mm/page.c /trunk/kernel/arch/amd64/src/pm.c /trunk/kernel/arch/amd64/src/proc/scheduler.c /trunk/kernel/arch/amd64/src/proc/task.c /trunk/kernel/arch/amd64/src/syscall.c /trunk/kernel/arch/amd64/src/userspace.c /trunk/kernel/arch/ia32/include/arg.h /trunk/kernel/arch/ia32/include/asm.h /trunk/kernel/arch/ia32/include/atomic.h /trunk/kernel/arch/ia32/include/barrier.h /trunk/kernel/arch/ia32/include/bios/bios.h /trunk/kernel/arch/ia32/include/boot/boot.h /trunk/kernel/arch/ia32/include/boot/memmap.h /trunk/kernel/arch/ia32/include/byteorder.h /trunk/kernel/arch/ia32/include/context.h /trunk/kernel/arch/ia32/include/cpu.h /trunk/kernel/arch/ia32/include/cpuid.h /trunk/kernel/arch/ia32/include/ddi/ddi.h /trunk/kernel/arch/ia32/include/debug.h /trunk/kernel/arch/ia32/include/drivers/ega.h /trunk/kernel/arch/ia32/include/drivers/i8042.h /trunk/kernel/arch/ia32/include/drivers/i8254.h /trunk/kernel/arch/ia32/include/drivers/i8259.h /trunk/kernel/arch/ia32/include/drivers/vesa.h /trunk/kernel/arch/ia32/include/elf.h /trunk/kernel/arch/ia32/include/faddr.h /trunk/kernel/arch/ia32/include/fpu_context.h /trunk/kernel/arch/ia32/include/interrupt.h /trunk/kernel/arch/ia32/include/memstr.h /trunk/kernel/arch/ia32/include/mm/as.h /trunk/kernel/arch/ia32/include/mm/asid.h /trunk/kernel/arch/ia32/include/mm/frame.h /trunk/kernel/arch/ia32/include/mm/memory_init.h /trunk/kernel/arch/ia32/include/mm/page.h /trunk/kernel/arch/ia32/include/mm/tlb.h /trunk/kernel/arch/ia32/include/pm.h /trunk/kernel/arch/ia32/include/smp/ap.h /trunk/kernel/arch/ia32/include/smp/apic.h /trunk/kernel/arch/ia32/include/smp/mps.h /trunk/kernel/arch/ia32/include/smp/smp.h /trunk/kernel/arch/ia32/include/types.h /trunk/kernel/arch/ia32/src/bios/bios.c /trunk/kernel/arch/ia32/src/ia32.c /trunk/kernel/arch/ia32/src/mm/as.c /trunk/kernel/arch/ia32/src/mm/frame.c /trunk/kernel/arch/ia32/src/mm/memory_init.c /trunk/kernel/arch/ia32/src/mm/page.c /trunk/kernel/arch/ia32/src/mm/tlb.c /trunk/kernel/arch/ia32/src/pm.c /trunk/kernel/arch/ia32/src/proc/thread.c /trunk/kernel/arch/ia32/src/smp/apic.c /trunk/kernel/arch/ia32/src/smp/ipi.c /trunk/kernel/arch/ia32/src/smp/mps.c /trunk/kernel/arch/ia32/src/smp/smp.c /trunk/kernel/arch/ia32/src/userspace.c /trunk/kernel/arch/ia64/include/arg.h /trunk/kernel/arch/ia64/include/asm.h /trunk/kernel/arch/ia64/include/atomic.h /trunk/kernel/arch/ia64/include/barrier.h /trunk/kernel/arch/ia64/include/byteorder.h /trunk/kernel/arch/ia64/include/context.h /trunk/kernel/arch/ia64/include/cpu.h /trunk/kernel/arch/ia64/include/debug.h /trunk/kernel/arch/ia64/include/drivers/it.h /trunk/kernel/arch/ia64/include/elf.h /trunk/kernel/arch/ia64/include/fpu_context.h /trunk/kernel/arch/ia64/include/interrupt.h /trunk/kernel/arch/ia64/include/memstr.h /trunk/kernel/arch/ia64/include/mm/as.h /trunk/kernel/arch/ia64/include/mm/asid.h /trunk/kernel/arch/ia64/include/mm/frame.h /trunk/kernel/arch/ia64/include/mm/memory_init.h /trunk/kernel/arch/ia64/include/mm/page.h /trunk/kernel/arch/ia64/include/mm/tlb.h /trunk/kernel/arch/ia64/include/mm/vhpt.h /trunk/kernel/arch/ia64/include/pal/pal.h /trunk/kernel/arch/ia64/include/proc/task.h /trunk/kernel/arch/ia64/include/register.h /trunk/kernel/arch/ia64/include/ski/ski.h /trunk/kernel/arch/ia64/include/stack.h /trunk/kernel/arch/ia64/include/types.h /trunk/kernel/arch/ia64/src/ia64.c /trunk/kernel/arch/ia64/src/interrupt.c /trunk/kernel/arch/ia64/src/mm/as.c /trunk/kernel/arch/ia64/src/mm/frame.c /trunk/kernel/arch/ia64/src/mm/page.c /trunk/kernel/arch/ia64/src/mm/vhpt.c /trunk/kernel/arch/ia64/src/proc/scheduler.c /trunk/kernel/arch/ia64/src/putchar.c /trunk/kernel/arch/ia64/src/ski/ski.c /trunk/kernel/arch/mips32/include/arg.h /trunk/kernel/arch/mips32/include/asm.h /trunk/kernel/arch/mips32/include/asm/boot.h /trunk/kernel/arch/mips32/include/asm/regname.h /trunk/kernel/arch/mips32/include/atomic.h /trunk/kernel/arch/mips32/include/barrier.h /trunk/kernel/arch/mips32/include/boot.h /trunk/kernel/arch/mips32/include/byteorder.h /trunk/kernel/arch/mips32/include/cache.h /trunk/kernel/arch/mips32/include/console.h /trunk/kernel/arch/mips32/include/context.h /trunk/kernel/arch/mips32/include/cp0.h /trunk/kernel/arch/mips32/include/cpu.h /trunk/kernel/arch/mips32/include/debug.h /trunk/kernel/arch/mips32/include/debugger.h /trunk/kernel/arch/mips32/include/drivers/arc.h /trunk/kernel/arch/mips32/include/drivers/msim.h /trunk/kernel/arch/mips32/include/drivers/serial.h /trunk/kernel/arch/mips32/include/elf.h /trunk/kernel/arch/mips32/include/exception.h /trunk/kernel/arch/mips32/include/faddr.h /trunk/kernel/arch/mips32/include/fpu_context.h /trunk/kernel/arch/mips32/include/interrupt.h /trunk/kernel/arch/mips32/include/memstr.h /trunk/kernel/arch/mips32/include/mm/as.h /trunk/kernel/arch/mips32/include/mm/asid.h /trunk/kernel/arch/mips32/include/mm/frame.h /trunk/kernel/arch/mips32/include/mm/memory_init.h /trunk/kernel/arch/mips32/include/mm/page.h /trunk/kernel/arch/mips32/include/mm/tlb.h /trunk/kernel/arch/mips32/include/proc/task.h /trunk/kernel/arch/mips32/include/stack.h /trunk/kernel/arch/mips32/include/types.h /trunk/kernel/arch/mips32/src/cache.c /trunk/kernel/arch/mips32/src/console.c /trunk/kernel/arch/mips32/src/ddi/ddi.c /trunk/kernel/arch/mips32/src/debugger.c /trunk/kernel/arch/mips32/src/drivers/arc.c /trunk/kernel/arch/mips32/src/drivers/msim.c /trunk/kernel/arch/mips32/src/drivers/serial.c /trunk/kernel/arch/mips32/src/interrupt.c /trunk/kernel/arch/mips32/src/mips32.c /trunk/kernel/arch/mips32/src/mm/as.c /trunk/kernel/arch/mips32/src/mm/page.c /trunk/kernel/arch/ppc32/include/arg.h /trunk/kernel/arch/ppc32/include/asm.h /trunk/kernel/arch/ppc32/include/asm/regname.h /trunk/kernel/arch/ppc32/include/atomic.h /trunk/kernel/arch/ppc32/include/barrier.h /trunk/kernel/arch/ppc32/include/boot/boot.h /trunk/kernel/arch/ppc32/include/byteorder.h /trunk/kernel/arch/ppc32/include/context.h /trunk/kernel/arch/ppc32/include/context_offset.h /trunk/kernel/arch/ppc32/include/cpu.h /trunk/kernel/arch/ppc32/include/cpuid.h /trunk/kernel/arch/ppc32/include/debug.h /trunk/kernel/arch/ppc32/include/drivers/cuda.h /trunk/kernel/arch/ppc32/include/drivers/pic.h /trunk/kernel/arch/ppc32/include/elf.h /trunk/kernel/arch/ppc32/include/exception.h /trunk/kernel/arch/ppc32/include/faddr.h /trunk/kernel/arch/ppc32/include/fpu_context.h /trunk/kernel/arch/ppc32/include/interrupt.h /trunk/kernel/arch/ppc32/include/memstr.h /trunk/kernel/arch/ppc32/include/mm/as.h /trunk/kernel/arch/ppc32/include/mm/asid.h /trunk/kernel/arch/ppc32/include/mm/frame.h /trunk/kernel/arch/ppc32/include/mm/memory_init.h /trunk/kernel/arch/ppc32/include/mm/tlb.h /trunk/kernel/arch/ppc32/include/proc/task.h /trunk/kernel/arch/ppc32/include/types.h /trunk/kernel/arch/ppc32/src/ddi/ddi.c /trunk/kernel/arch/ppc32/src/drivers/pic.c /trunk/kernel/arch/ppc64/include/arg.h /trunk/kernel/arch/ppc64/include/asm.h /trunk/kernel/arch/ppc64/include/asm/regname.h /trunk/kernel/arch/ppc64/include/atomic.h /trunk/kernel/arch/ppc64/include/barrier.h /trunk/kernel/arch/ppc64/include/boot/boot.h /trunk/kernel/arch/ppc64/include/byteorder.h /trunk/kernel/arch/ppc64/include/context.h /trunk/kernel/arch/ppc64/include/context_offset.h /trunk/kernel/arch/ppc64/include/cpu.h /trunk/kernel/arch/ppc64/include/cpuid.h /trunk/kernel/arch/ppc64/include/debug.h /trunk/kernel/arch/ppc64/include/elf.h /trunk/kernel/arch/ppc64/include/exception.h /trunk/kernel/arch/ppc64/include/faddr.h /trunk/kernel/arch/ppc64/include/fpu_context.h /trunk/kernel/arch/ppc64/include/interrupt.h /trunk/kernel/arch/ppc64/include/memstr.h /trunk/kernel/arch/ppc64/include/mm/as.h /trunk/kernel/arch/ppc64/include/mm/asid.h /trunk/kernel/arch/ppc64/include/mm/frame.h /trunk/kernel/arch/ppc64/include/mm/memory_init.h /trunk/kernel/arch/ppc64/include/mm/page.h /trunk/kernel/arch/ppc64/include/mm/tlb.h /trunk/kernel/arch/ppc64/include/proc/task.h /trunk/kernel/arch/ppc64/include/proc/thread.h /trunk/kernel/arch/ppc64/include/types.h /trunk/kernel/arch/ppc64/src/ddi/ddi.c /trunk/kernel/arch/ppc64/src/interrupt.c /trunk/kernel/arch/ppc64/src/mm/frame.c /trunk/kernel/arch/ppc64/src/mm/memory_init.c /trunk/kernel/arch/ppc64/src/mm/page.c /trunk/kernel/arch/ppc64/src/proc/scheduler.c /trunk/kernel/arch/sparc64/Makefile.inc /trunk/kernel/arch/sparc64/include/atomic.h /trunk/kernel/arch/sparc64/include/context_offset.h /trunk/kernel/arch/sparc64/include/trap/trap_table.h /trunk/kernel/arch/sparc64/src/console.c /trunk/kernel/arch/sparc64/src/mm/as.c /trunk/kernel/arch/sparc64/src/mm/page.c /trunk/kernel/arch/sparc64/src/trap/syscall.c /trunk/kernel/arch/sparc64/src/trap/trap.c /trunk/kernel/arch/xen32/include/asm.h /trunk/kernel/arch/xen32/include/boot/boot.h /trunk/kernel/arch/xen32/include/drivers/xconsole.h /trunk/kernel/arch/xen32/include/hypercall.h /trunk/kernel/arch/xen32/include/mm/as.h /trunk/kernel/arch/xen32/include/mm/asid.h /trunk/kernel/arch/xen32/include/mm/frame.h /trunk/kernel/arch/xen32/include/mm/memory_init.h /trunk/kernel/arch/xen32/include/mm/page.h /trunk/kernel/arch/xen32/include/mm/tlb.h /trunk/kernel/arch/xen32/include/pm.h /trunk/kernel/arch/xen32/include/types.h /trunk/kernel/arch/xen32/src/interrupt.c /trunk/kernel/arch/xen32/src/mm/memory_init.c /trunk/kernel/genarch/include/acpi/acpi.h /trunk/kernel/genarch/include/acpi/madt.h /trunk/kernel/genarch/include/fb/fb.h /trunk/kernel/genarch/include/fb/font-8x16.h /trunk/kernel/genarch/include/mm/as_ht.h /trunk/kernel/genarch/include/mm/as_pt.h /trunk/kernel/genarch/include/mm/asid_fifo.h /trunk/kernel/genarch/include/mm/page_ht.h /trunk/kernel/genarch/include/mm/page_pt.h /trunk/kernel/genarch/include/softint/division.h /trunk/kernel/genarch/src/acpi/acpi.c /trunk/kernel/genarch/src/acpi/madt.c /trunk/kernel/genarch/src/fb/fb.c /trunk/kernel/genarch/src/fb/font-8x16.c /trunk/kernel/genarch/src/kbd/ns16550.c /trunk/kernel/genarch/src/mm/as_pt.c /trunk/kernel/genarch/src/softint/division.c /trunk/kernel/generic/include/adt/bitmap.h /trunk/kernel/generic/include/adt/btree.h /trunk/kernel/generic/include/adt/fifo.h /trunk/kernel/generic/include/adt/list.h /trunk/kernel/generic/include/atomic.h /trunk/kernel/generic/include/bitops.h /trunk/kernel/generic/include/byteorder.h /trunk/kernel/generic/include/config.h /trunk/kernel/generic/include/console/chardev.h /trunk/kernel/generic/include/console/cmd.h /trunk/kernel/generic/include/console/console.h /trunk/kernel/generic/include/console/kconsole.h /trunk/kernel/generic/include/console/klog.h /trunk/kernel/generic/include/context.h /trunk/kernel/generic/include/ddi/ddi.h /trunk/kernel/generic/include/ddi/ddi_arg.h /trunk/kernel/generic/include/debug.h /trunk/kernel/generic/include/elf.h /trunk/kernel/generic/include/errno.h /trunk/kernel/generic/include/fpu_context.h /trunk/kernel/generic/include/func.h /trunk/kernel/generic/include/interrupt.h /trunk/kernel/generic/include/ipc/ipc.h /trunk/kernel/generic/include/ipc/ipcrsc.h /trunk/kernel/generic/include/ipc/irq.h /trunk/kernel/generic/include/ipc/sysipc.h /trunk/kernel/generic/include/main/kinit.h /trunk/kernel/generic/include/main/main.h /trunk/kernel/generic/include/main/uinit.h /trunk/kernel/generic/include/main/version.h /trunk/kernel/generic/include/memstr.h /trunk/kernel/generic/include/mm/as.h /trunk/kernel/generic/include/mm/asid.h /trunk/kernel/generic/include/mm/buddy.h /trunk/kernel/generic/include/mm/page.h /trunk/kernel/generic/include/mm/slab.h /trunk/kernel/generic/include/mm/tlb.h /trunk/kernel/generic/include/panic.h /trunk/kernel/generic/include/preemption.h /trunk/kernel/generic/include/print.h /trunk/kernel/generic/include/printf/printf_core.h /trunk/kernel/generic/include/proc/scheduler.h /trunk/kernel/generic/include/proc/task.h /trunk/kernel/generic/include/proc/thread.h /trunk/kernel/generic/include/proc/uarg.h /trunk/kernel/generic/include/putchar.h /trunk/kernel/generic/include/security/cap.h /trunk/kernel/generic/include/smp/ipi.h /trunk/kernel/generic/include/smp/smp.h /trunk/kernel/generic/include/sort.h /trunk/kernel/generic/include/stackarg.h /trunk/kernel/generic/include/stdarg.h /trunk/kernel/generic/include/symtab.h /trunk/kernel/generic/include/synch/condvar.h /trunk/kernel/generic/include/synch/futex.h /trunk/kernel/generic/include/synch/mutex.h /trunk/kernel/generic/include/synch/rwlock.h /trunk/kernel/generic/include/synch/semaphore.h /trunk/kernel/generic/include/synch/spinlock.h /trunk/kernel/generic/include/synch/synch.h /trunk/kernel/generic/include/synch/waitq.h /trunk/kernel/generic/include/syscall/copy.h /trunk/kernel/generic/include/syscall/sysarg64.h /trunk/kernel/generic/include/sysinfo/sysinfo.h /trunk/kernel/generic/include/test.h /trunk/kernel/generic/include/userspace.h /trunk/kernel/generic/src/console/chardev.c /trunk/kernel/generic/src/console/cmd.c /trunk/kernel/generic/src/console/console.c /trunk/kernel/generic/src/console/kconsole.c /trunk/kernel/generic/src/console/klog.c /trunk/kernel/generic/src/ddi/ddi.c /trunk/kernel/generic/src/debug/symtab.c /trunk/kernel/generic/src/ipc/ipcrsc.c /trunk/kernel/generic/src/printf/printf.c /trunk/kernel/generic/src/printf/printf_core.c /trunk/kernel/generic/src/printf/snprintf.c /trunk/kernel/generic/src/printf/sprintf.c /trunk/kernel/generic/src/printf/vprintf.c /trunk/kernel/generic/src/printf/vsnprintf.c /trunk/kernel/generic/src/printf/vsprintf.c /trunk/kernel/generic/src/proc/scheduler.c /trunk/kernel/generic/src/security/cap.c /trunk/kernel/generic/src/synch/rwlock.c /trunk/kernel/generic/src/syscall/copy.c /trunk/uspace/fb/fb.c /trunk/uspace/libc/arch/sparc64/include/atomic.h
|
1882 |
6548 d 5 h |
jermar |
/trunk/kernel/ |
Support for sparc64 FPU context. |
|
/trunk/kernel/arch/sparc64/src/fpu_context.c
/trunk/kernel/arch/amd64/include/arch.h /trunk/kernel/arch/ia32/include/arch.h /trunk/kernel/arch/ia64/include/arch.h /trunk/kernel/arch/ia64/src/interrupt.c /trunk/kernel/arch/mips32/include/arch.h /trunk/kernel/arch/mips32/src/fpu_context.c /trunk/kernel/arch/ppc32/include/arch.h /trunk/kernel/arch/ppc64/include/arch.h /trunk/kernel/arch/sparc64/Makefile.inc /trunk/kernel/arch/sparc64/include/asm.h /trunk/kernel/arch/sparc64/include/fpu_context.h /trunk/kernel/arch/sparc64/include/regdef.h /trunk/kernel/arch/sparc64/include/register.h /trunk/kernel/arch/sparc64/include/trap/exception.h /trunk/kernel/arch/sparc64/src/asm.S /trunk/kernel/arch/sparc64/src/dummy.s /trunk/kernel/arch/sparc64/src/trap/exception.c /trunk/kernel/arch/sparc64/src/trap/trap_table.S /trunk/kernel/generic/include/fpu_context.h /trunk/kernel/generic/src/proc/scheduler.c /trunk/kernel/kernel.config /trunk/kernel/test/fpu/fpu1/test.c
|
1881 |
6549 d 6 h |
jermar |
/trunk/ |
sparc64 work:
- find a CPU node and read its clock_frequency attribute
- implement asm_delay_loop()
- set TICK_COMPARE register according to processor frequency
- small improvements at random places
OpenFirmware work:
- two new functions for walking the device tree
Generic boot loader work:
- added basic string functions
Usual pile of indentation and formatting fixes. |
|
/trunk/boot/generic/string.c /trunk/boot/generic/string.h
/trunk/boot/arch/sparc64/loader/Makefile /trunk/boot/arch/sparc64/loader/main.c /trunk/boot/arch/sparc64/loader/main.h /trunk/boot/arch/sparc64/loader/ofwarch.c /trunk/boot/arch/sparc64/loader/ofwarch.h /trunk/boot/genarch/ofw.c /trunk/boot/genarch/ofw.h /trunk/boot/generic/gentypes.h /trunk/kernel/arch/ia64/src/drivers/it.c /trunk/kernel/arch/mips32/include/asm.h /trunk/kernel/arch/mips32/src/interrupt.c /trunk/kernel/arch/sparc64/include/asm.h /trunk/kernel/arch/sparc64/include/boot/boot.h /trunk/kernel/arch/sparc64/include/cpu.h /trunk/kernel/arch/sparc64/include/drivers/tick.h /trunk/kernel/arch/sparc64/src/cpu/cpu.c /trunk/kernel/arch/sparc64/src/drivers/tick.c /trunk/kernel/arch/sparc64/src/dummy.s /trunk/kernel/arch/sparc64/src/sparc64.c /trunk/kernel/arch/sparc64/src/start.S /trunk/kernel/generic/include/arch.h /trunk/kernel/generic/include/cpu.h /trunk/kernel/generic/include/time/clock.h /trunk/kernel/generic/include/time/delay.h /trunk/kernel/generic/include/time/timeout.h /trunk/kernel/generic/include/typedefs.h /trunk/kernel/generic/src/cpu/cpu.c
|
1877 |
6552 d 9 h |
jermar |
/trunk/kernel/ |
Coding style fixes.
Remove unneeded sparc64 dummy functions. |
|
/trunk/kernel/arch/amd64/src/fpu_context.c /trunk/kernel/arch/ia32/src/fpu_context.c /trunk/kernel/arch/ia64/src/fpu_context.c /trunk/kernel/arch/ia64/src/start.S /trunk/kernel/arch/sparc64/src/dummy.s /trunk/kernel/generic/include/ipc/ipc.h
|
1870 |
6555 d 22 h |
jermar |
/trunk/kernel/ |
Handle more sparc64 traps and improve handling of already handled traps. |
|
/trunk/kernel/arch/sparc64/include/trap/exception.h /trunk/kernel/arch/sparc64/include/trap/mmu.h /trunk/kernel/arch/sparc64/src/mm/tlb.c /trunk/kernel/arch/sparc64/src/trap/exception.c /trunk/kernel/arch/sparc64/src/trap/interrupt.c /trunk/kernel/arch/sparc64/src/trap/mmu.S /trunk/kernel/arch/sparc64/src/trap/trap_table.S /trunk/kernel/generic/include/interrupt.h
|
1868 |
6556 d 4 h |
jermar |
/trunk/ |
sparc64 work.
- the syscall wrapper needs to use the "memory"
clobber specifier to prevent over-optimization.
- on sparc64, the user address space spans the whole
64-bit space and therefore the macro
USER_ADDRESS_SPACE_SIZE_ARCH, as it was defined,
overflows to 0
- stop using USER_ADDRESS_SPACE_SIZE_ARCH and define
MAX_HEAP_SIZE instead
- in our situation when kernel and user address spaces
are separate, the G (global) bit cannot be used
(there is no point in it anymore)
- add the DEBUG() macro to stdio.h; DEBUG() uses
SYS_IO and is a good debugging tool for getting
early userspace to work |
|
/trunk/kernel/arch/sparc64/src/mm/tlb.c /trunk/kernel/arch/sparc64/src/start.S /trunk/kernel/generic/include/mm/as.h /trunk/uspace/libc/arch/sparc64/include/syscall.h /trunk/uspace/libc/generic/as.c /trunk/uspace/libc/generic/psthread.c /trunk/uspace/libc/include/as.h /trunk/uspace/libc/include/stdio.h
|
1865 |
6557 d 0 h |
jermar |
/trunk/kernel/ |
sparc64 kernel fixes |
|
/trunk/kernel/arch/sparc64/src/trap/mmu.S
/trunk/kernel/arch/sparc64/Makefile.inc /trunk/kernel/arch/sparc64/include/asm.h /trunk/kernel/arch/sparc64/include/trap/mmu.h /trunk/kernel/arch/sparc64/src/asm.S /trunk/kernel/arch/sparc64/src/mm/tlb.c /trunk/kernel/arch/sparc64/src/trap/trap_table.S /trunk/kernel/generic/include/adt/hash_table.h
|
1863 |
6559 d 22 h |
jermar |
/trunk/ |
Allow architectures to decide between inlined and not inlined version of syscall wrapper.
Implement inlined syscall wrapper for sparc64. |
|
/trunk/uspace/libc/arch/amd64/include/syscall.h /trunk/uspace/libc/arch/ia32/include/syscall.h /trunk/uspace/libc/arch/ia64/include/syscall.h /trunk/uspace/libc/arch/mips32/include/syscall.h /trunk/uspace/libc/arch/mips32eb/include/syscall.h /trunk/uspace/libc/arch/ppc32/include/syscall.h /trunk/uspace/libc/arch/ppc64/include/syscall.h /trunk/uspace/libc/arch/sparc64/include/syscall.h /trunk/uspace/libc/include/syscall.h
/trunk/uspace/libc/arch/sparc64/src/syscall.c
/trunk/kernel/arch/sparc64/include/trap/syscall.h /trunk/kernel/arch/sparc64/src/trap/trap_table.S /trunk/kernel/generic/include/syscall/syscall.h /trunk/uspace/libc/arch/sparc64/Makefile.inc /trunk/uspace/libc/generic/ddi.c /trunk/uspace/libc/include/libc.h /trunk/uspace/libc/include/sys/types.h
|
1860 |
6561 d 0 h |
jermar |
/trunk/kernel/ |
A lot of untested sparc64 stuff:
- Write ASID to hardware when a thread is about to run in userspace.
- Add userspace() and switch_to_userspace() functions.
- Handle special cases when the userspace spill/fill handler causes MMU trap.
- Resolve some TODOs in the existing sparc64 code.
- sparc64 has now C99 compliant header guards.
- Formatting and indentation fixes. |
|
/trunk/kernel/arch/sparc64/include/arch.h /trunk/kernel/arch/sparc64/include/arg.h /trunk/kernel/arch/sparc64/include/asm.h /trunk/kernel/arch/sparc64/include/atomic.h /trunk/kernel/arch/sparc64/include/barrier.h /trunk/kernel/arch/sparc64/include/byteorder.h /trunk/kernel/arch/sparc64/include/console.h /trunk/kernel/arch/sparc64/include/context.h /trunk/kernel/arch/sparc64/include/cpu.h /trunk/kernel/arch/sparc64/include/debug.h /trunk/kernel/arch/sparc64/include/drivers/tick.h /trunk/kernel/arch/sparc64/include/elf.h /trunk/kernel/arch/sparc64/include/faddr.h /trunk/kernel/arch/sparc64/include/fpu_context.h /trunk/kernel/arch/sparc64/include/interrupt.h /trunk/kernel/arch/sparc64/include/memstr.h /trunk/kernel/arch/sparc64/include/mm/as.h /trunk/kernel/arch/sparc64/include/mm/frame.h /trunk/kernel/arch/sparc64/include/mm/memory_init.h /trunk/kernel/arch/sparc64/include/mm/mmu.h /trunk/kernel/arch/sparc64/include/mm/tlb.h /trunk/kernel/arch/sparc64/include/mm/tte.h /trunk/kernel/arch/sparc64/include/proc/task.h /trunk/kernel/arch/sparc64/include/regdef.h /trunk/kernel/arch/sparc64/include/trap/exception.h /trunk/kernel/arch/sparc64/include/trap/interrupt.h /trunk/kernel/arch/sparc64/include/trap/mmu.h /trunk/kernel/arch/sparc64/include/trap/regwin.h /trunk/kernel/arch/sparc64/include/trap/trap.h /trunk/kernel/arch/sparc64/include/trap/trap_table.h /trunk/kernel/arch/sparc64/include/types.h /trunk/kernel/arch/sparc64/src/asm.S /trunk/kernel/arch/sparc64/src/ddi/ddi.c /trunk/kernel/arch/sparc64/src/dummy.s /trunk/kernel/arch/sparc64/src/mm/as.c /trunk/kernel/arch/sparc64/src/mm/tlb.c /trunk/kernel/arch/sparc64/src/proc/scheduler.c /trunk/kernel/arch/sparc64/src/sparc64.c /trunk/kernel/arch/sparc64/src/start.S /trunk/kernel/arch/sparc64/src/trap/trap_table.S /trunk/kernel/generic/include/align.h
|
1856 |
6562 d 7 h |
jermar |
/trunk/kernel/ |
sparc64 work.
- Modify before_thread_runs_arch() to store addresses of the kernel stack and
userspace window buffer, resp., to registers %g6 and %g7, resp, in the
alternate and interrupt global sets.
- Modify after_thread_ran_arch() to sample %g7 from the alternate globals.
- Implement trap handler for spilling register windows into userspace window buffer.
- Implement assembly language functions to access %g6 and %g7 registers in the alternate sets.
- Initialize the trap table so that there are now also spill_1_normal, spill_2_normal,
spill_0_other and fill_1_normal handlers. These handlers are used in different situations
and for different purposes. |
|
/trunk/kernel/arch/sparc64/include/asm.h /trunk/kernel/arch/sparc64/include/context.h /trunk/kernel/arch/sparc64/include/trap/regwin.h /trunk/kernel/arch/sparc64/src/asm.S /trunk/kernel/arch/sparc64/src/proc/scheduler.c /trunk/kernel/arch/sparc64/src/trap/trap_table.S /trunk/kernel/generic/include/config.h
|
1855 |
6563 d 3 h |
jermar |
/trunk/kernel/ |
sparc64 work.
Fix bug introduced in revision 1852. When fixing CWP,
the input registers of the current window (i.e. output
registers of the window belonging to the interrupted
context) must be preserved. Preserve those registers
in memory. Sure there exist more efficient ways how to
copy the inputs.
Simplify before_thread_runs_arch(), resp. after_thread_ran_arch(),
and make them install, resp. uninstall, DTLB locked mapping for
eventual userspace window buffer. |
|
/trunk/kernel/arch/sparc64/include/asm.h /trunk/kernel/arch/sparc64/include/trap/trap_table.h /trunk/kernel/arch/sparc64/src/proc/scheduler.c /trunk/kernel/arch/sparc64/src/trap/trap_table.S /trunk/kernel/generic/include/macros.h /trunk/kernel/generic/src/main/kinit.c
|