Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
3672 |
5738 d 18 h |
jermar |
/trunk/ |
Merge sparc branch to trunk. |
|
/trunk/boot/arch/sparc64/silo/silo.patched.tar.gz /trunk/contrib/util /trunk/kernel/arch/sparc64/include/cpu_family.h /trunk/kernel/arch/sparc64/include/cpu_node.h /trunk/kernel/arch/sparc64/include/drivers/sgcn.h /trunk/kernel/arch/sparc64/src/drivers/sgcn.c /trunk/uspace/srv/fb/serial_console.c /trunk/uspace/srv/fb/serial_console.h /trunk/uspace/srv/fb/sgcn.c /trunk/uspace/srv/fb/sgcn.h /trunk/uspace/srv/kbd/arch/sparc64/include/sgcn.h /trunk/uspace/srv/kbd/arch/sparc64/src/sgcn.c /trunk/uspace/srv/kbd/genarch/include/nofb.h /trunk/uspace/srv/kbd/genarch/src/nofb.c
/trunk/boot/arch/ppc64/Makefile.inc /trunk/boot/arch/sparc64/Makefile.inc /trunk/boot/arch/sparc64/loader/asm.S /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/register.h /trunk/boot/boot.config /trunk/boot/genarch/balloc.h /trunk/boot/genarch/ofw.c /trunk/boot/genarch/ofw_tree.c /trunk/kernel/arch/arm32/src/arm32.c /trunk/kernel/arch/ia32/src/drivers/vesa.c /trunk/kernel/arch/mips32/src/mips32.c /trunk/kernel/arch/ppc32/src/ppc32.c /trunk/kernel/arch/sparc64/Makefile.inc /trunk/kernel/arch/sparc64/include/arch.h /trunk/kernel/arch/sparc64/include/asm.h /trunk/kernel/arch/sparc64/include/cpu.h /trunk/kernel/arch/sparc64/include/drivers/kbd.h /trunk/kernel/arch/sparc64/include/drivers/scr.h /trunk/kernel/arch/sparc64/include/mm/cache.h /trunk/kernel/arch/sparc64/include/mm/cache_spec.h /trunk/kernel/arch/sparc64/include/mm/frame.h /trunk/kernel/arch/sparc64/include/mm/mmu.h /trunk/kernel/arch/sparc64/include/mm/tlb.h /trunk/kernel/arch/sparc64/include/mm/tsb.h /trunk/kernel/arch/sparc64/include/mm/tte.h /trunk/kernel/arch/sparc64/include/regdef.h /trunk/kernel/arch/sparc64/include/register.h /trunk/kernel/arch/sparc64/include/trap/interrupt.h /trunk/kernel/arch/sparc64/src/console.c /trunk/kernel/arch/sparc64/src/cpu/cpu.c /trunk/kernel/arch/sparc64/src/ddi/ddi.c /trunk/kernel/arch/sparc64/src/drivers/scr.c /trunk/kernel/arch/sparc64/src/drivers/tick.c /trunk/kernel/arch/sparc64/src/mm/as.c /trunk/kernel/arch/sparc64/src/mm/cache.S /trunk/kernel/arch/sparc64/src/mm/page.c /trunk/kernel/arch/sparc64/src/mm/tlb.c /trunk/kernel/arch/sparc64/src/mm/tsb.c /trunk/kernel/arch/sparc64/src/smp/ipi.c /trunk/kernel/arch/sparc64/src/smp/smp.c /trunk/kernel/arch/sparc64/src/sparc64.c /trunk/kernel/arch/sparc64/src/start.S /trunk/kernel/arch/sparc64/src/trap/interrupt.c /trunk/kernel/genarch/include/fb/fb.h /trunk/kernel/genarch/include/fb/visuals.h /trunk/kernel/genarch/include/ofw/ofw_tree.h /trunk/kernel/genarch/src/fb/fb.c /trunk/kernel/genarch/src/ofw/ofw_tree.c /trunk/kernel/kernel.config /trunk/uspace/srv/console/console.c /trunk/uspace/srv/fb/Makefile /trunk/uspace/srv/fb/main.c /trunk/uspace/srv/fb/msim.c /trunk/uspace/srv/kbd/Makefile /trunk/uspace/srv/kbd/arch/mips32/src/kbd.c /trunk/uspace/srv/kbd/arch/sparc64/src/kbd.c
|
3655 |
5744 d 17 h |
jermar |
/trunk/kernel/ |
Add additional members to the irq_t structure so that an interrupt-driven driver
does not need to know how to clear the level interrupt. The z8530 was modified
in this way and is much more generic. The ns16550 driver has also been modified,
but awaits testing. The sparc64 interrupt mapping and dispatch code is now using
the new info and calls the clear-interrupt-routine itself. |
|
/trunk/kernel/arch/sparc64/include/drivers/fhc.h /trunk/kernel/arch/sparc64/include/drivers/pci.h /trunk/kernel/arch/sparc64/src/drivers/fhc.c /trunk/kernel/arch/sparc64/src/drivers/kbd.c /trunk/kernel/arch/sparc64/src/drivers/pci.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/include/ofw/ofw_tree.h /trunk/kernel/genarch/src/kbd/ns16550.c /trunk/kernel/genarch/src/kbd/z8530.c /trunk/kernel/genarch/src/ofw/ebus.c /trunk/kernel/genarch/src/ofw/fhc.c /trunk/kernel/genarch/src/ofw/pci.c /trunk/kernel/generic/include/ddi/irq.h /trunk/kernel/generic/src/ddi/irq.c
|
3654 |
5744 d 19 h |
jermar |
/trunk/kernel/arch/sparc64/ |
After my effort yesterday, there are two rival psycho drivers.
Merge the two and remove the newer one. |
|
/trunk/kernel/arch/sparc64/include/drivers/psycho.h /trunk/kernel/arch/sparc64/src/drivers/psycho.c
/trunk/kernel/arch/sparc64/Makefile.inc /trunk/kernel/arch/sparc64/src/drivers/pci.c
|
3649 |
5745 d 15 h |
jermar |
/trunk/kernel/arch/sparc64/src/drivers/ |
More work on the psycho driver. |
|
/trunk/kernel/arch/sparc64/src/drivers/psycho.c
|
3647 |
5745 d 16 h |
jermar |
/trunk/kernel/arch/sparc64/ |
Improvized Psycho driver. |
|
/trunk/kernel/arch/sparc64/include/drivers/psycho.h /trunk/kernel/arch/sparc64/src/drivers/psycho.c
/trunk/kernel/arch/sparc64/Makefile.inc
|
3646 |
5745 d 18 h |
jermar |
/trunk/kernel/ |
Initial support for interrupt driven driver for ns16550. |
|
/trunk/kernel/Makefile /trunk/kernel/arch/sparc64/src/console.c /trunk/kernel/arch/sparc64/src/drivers/kbd.c /trunk/kernel/genarch/include/kbd/ns16550.h /trunk/kernel/genarch/src/kbd/ns16550.c /trunk/kernel/kernel.config
|
3580 |
5762 d 15 h |
jermar |
/trunk/kernel/arch/sparc64/include/ |
Accesses to memory mapped registers should use volatile pointers so that
the compiler doesn't even think of trying to be clever. Add memory barriers
and fixed cstyle. |
|
/trunk/kernel/arch/sparc64/include/asm.h /trunk/kernel/arch/sparc64/include/types.h
|
3577 |
5763 d 6 h |
vana |
/trunk/kernel/ |
Support for serial port console on IA64 as a compensation for keyboard - based on SPARC ns16550 driver |
|
/trunk/kernel/arch/ia64/include/asm.h /trunk/kernel/arch/sparc64/include/asm.h /trunk/kernel/arch/sparc64/include/drivers/ns16550.h /trunk/kernel/arch/sparc64/src/drivers/kbd.c /trunk/kernel/genarch/include/kbd/ns16550.h /trunk/kernel/genarch/src/kbd/key.c /trunk/kernel/genarch/src/kbd/ns16550.c /trunk/kernel/kernel.config
|
3482 |
5802 d 17 h |
jermar |
/trunk/kernel/arch/sparc64/ |
Do not allocate full page for the uspace window buffer.
Instead, allocate only the bare minimum to fit NWINDOWS - 1
uspace windows and to satisfy alignment requirements. |
|
/trunk/kernel/arch/sparc64/include/trap/regwin.h /trunk/kernel/arch/sparc64/src/proc/thread.c /trunk/kernel/arch/sparc64/src/trap/trap_table.S
|
3463 |
5814 d 22 h |
jermar |
/trunk/kernel/arch/sparc64/ |
Populate all sparc64 trap table slots belonging to trap_instruction_n. |
|
/trunk/kernel/arch/sparc64/include/trap/syscall.h /trunk/kernel/arch/sparc64/src/trap/trap_table.S
|
3458 |
5815 d 17 h |
jermar |
/trunk/kernel/arch/sparc64/src/trap/ |
Add sparc64 trap table entries so that the maximum syscall number is 0x40. |
|
/trunk/kernel/arch/sparc64/src/trap/trap_table.S
|
3379 |
5835 d 4 h |
jermar |
/trunk/kernel/arch/sparc64/include/ |
Add the missing preemption_disable() call to sparc64 atomic_lock_arch().
Thanks to Pavel Rimsky for noticing this. |
|
/trunk/kernel/arch/sparc64/include/atomic.h
|
3368 |
5838 d 21 h |
decky |
/trunk/ |
configurable cross-compiler prefix (using CROSS_PREFIX) |
|
/trunk/boot/arch/sparc64/loader/Makefile /trunk/contrib/toolchain/toolchain.sparc64.sh /trunk/kernel/arch/sparc64/Makefile.inc /trunk/uspace/lib/libc/arch/sparc64/Makefile.inc
|
3274 |
5855 d 22 h |
jermar |
/trunk/ |
memcpy(), memmove() and similar functions return dst instead of src.
Fix all implementations, including those in assembly. ppc32 assembly
version didn't seem to be affected by this. |
|
/trunk/boot/arch/arm32/loader/asm.S /trunk/boot/arch/mips32/loader/asm.S /trunk/boot/arch/sparc64/loader/asm.S /trunk/kernel/arch/amd64/src/asm_utils.S /trunk/kernel/arch/arm32/src/asm.S /trunk/kernel/arch/ia32/src/asm.S /trunk/kernel/arch/ia32xen/src/asm.S /trunk/kernel/arch/ia64/src/asm.S /trunk/kernel/arch/mips32/src/asm.S /trunk/kernel/arch/sparc64/src/asm.S /trunk/kernel/generic/src/lib/memstr.c /trunk/uspace/lib/libc/generic/string.c
|
3233 |
5869 d 22 h |
decky |
/trunk/ |
remove dummy page coloring facility, which is currenty not used |
|
/trunk/kernel/arch/amd64/include/mm/page.h /trunk/kernel/arch/arm32/include/mm/page.h /trunk/kernel/arch/ia32/include/mm/page.h /trunk/kernel/arch/ia32xen/include/mm/page.h /trunk/kernel/arch/ia64/include/mm/page.h /trunk/kernel/arch/mips32/include/mm/page.h /trunk/kernel/arch/ppc32/include/mm/page.h /trunk/kernel/arch/ppc64/include/mm/page.h /trunk/kernel/arch/sparc64/include/mm/page.h /trunk/kernel/generic/include/mm/page.h /trunk/uspace/lib/libc/arch/amd64/include/config.h /trunk/uspace/lib/libc/arch/arm32/include/config.h /trunk/uspace/lib/libc/arch/ia32/include/config.h /trunk/uspace/lib/libc/arch/ia64/include/config.h /trunk/uspace/lib/libc/arch/mips32/include/config.h /trunk/uspace/lib/libc/arch/ppc32/include/config.h /trunk/uspace/lib/libc/arch/ppc64/include/config.h /trunk/uspace/lib/libc/arch/sparc64/include/config.h
|
3222 |
5888 d 21 h |
svoboda |
/trunk/ |
Merge program-loader related stuff from dynload branch to trunk. (huge) |
|
/trunk/kernel/generic/include/proc/program.h /trunk/kernel/generic/include/synch/smc.h /trunk/kernel/generic/src/proc/program.c /trunk/kernel/generic/src/synch/smc.c /trunk/uspace/app/cli /trunk/uspace/app/cli/Makefile /trunk/uspace/app/cli/cli.c /trunk/uspace/lib/libc/generic/pcb.c /trunk/uspace/lib/libc/generic/smc.c /trunk/uspace/lib/libc/include/ipc/loader.h /trunk/uspace/lib/libc/include/loader /trunk/uspace/lib/libc/include/loader/pcb.h /trunk/uspace/lib/libc/include/smc.h /trunk/uspace/srv/loader /trunk/uspace/srv/loader/Makefile /trunk/uspace/srv/loader/arch /trunk/uspace/srv/loader/arch/amd64 /trunk/uspace/srv/loader/arch/amd64/Makefile.inc /trunk/uspace/srv/loader/arch/amd64/_link.ld.in /trunk/uspace/srv/loader/arch/amd64/amd64.s /trunk/uspace/srv/loader/arch/arm32 /trunk/uspace/srv/loader/arch/arm32/Makefile.inc /trunk/uspace/srv/loader/arch/arm32/_link.ld.in /trunk/uspace/srv/loader/arch/arm32/arm32.s /trunk/uspace/srv/loader/arch/ia32 /trunk/uspace/srv/loader/arch/ia32/Makefile.inc /trunk/uspace/srv/loader/arch/ia32/_link.ld.in /trunk/uspace/srv/loader/arch/ia32/ia32.s /trunk/uspace/srv/loader/arch/ia64 /trunk/uspace/srv/loader/arch/ia64/Makefile.inc /trunk/uspace/srv/loader/arch/ia64/_link.ld.in /trunk/uspace/srv/loader/arch/ia64/ia64.s /trunk/uspace/srv/loader/arch/mips32 /trunk/uspace/srv/loader/arch/mips32/Makefile.inc /trunk/uspace/srv/loader/arch/mips32/_link.ld.in /trunk/uspace/srv/loader/arch/mips32/mips32.s /trunk/uspace/srv/loader/arch/ppc32 /trunk/uspace/srv/loader/arch/ppc32/Makefile.inc /trunk/uspace/srv/loader/arch/ppc32/_link.ld.in /trunk/uspace/srv/loader/arch/ppc32/ppc32.s /trunk/uspace/srv/loader/arch/sparc64 /trunk/uspace/srv/loader/arch/sparc64/Makefile.inc /trunk/uspace/srv/loader/arch/sparc64/_link.ld.in /trunk/uspace/srv/loader/arch/sparc64/sparc64.s /trunk/uspace/srv/loader/elf_load.c /trunk/uspace/srv/loader/include /trunk/uspace/srv/loader/include/arch.h /trunk/uspace/srv/loader/include/elf.h /trunk/uspace/srv/loader/include/elf_load.h /trunk/uspace/srv/loader/interp.s /trunk/uspace/srv/loader/main.c
/trunk/boot/arch/amd64/Makefile.inc /trunk/boot/arch/amd64/grub/menu.lst /trunk/boot/arch/arm32/loader/Makefile /trunk/boot/arch/ia32/Makefile.inc /trunk/boot/arch/ia32/grub/menu.lst /trunk/boot/arch/ia64/loader/Makefile /trunk/boot/arch/mips32/loader/Makefile /trunk/boot/arch/ppc32/loader/Makefile /trunk/boot/arch/sparc64/loader/Makefile /trunk/kernel/Makefile /trunk/kernel/arch/amd64/src/userspace.c /trunk/kernel/arch/arm32/src/userspace.c /trunk/kernel/arch/ia32/src/userspace.c /trunk/kernel/arch/ia32xen/src/userspace.c /trunk/kernel/arch/ia64/src/asm.S /trunk/kernel/arch/mips32/src/start.S /trunk/kernel/arch/ppc32/src/asm.S /trunk/kernel/arch/ppc64/src/asm.S /trunk/kernel/arch/sparc64/src/asm.S /trunk/kernel/generic/include/lib/elf.h /trunk/kernel/generic/include/mm/as.h /trunk/kernel/generic/include/proc/task.h /trunk/kernel/generic/include/proc/thread.h /trunk/kernel/generic/include/syscall/syscall.h /trunk/kernel/generic/src/lib/elf.c /trunk/kernel/generic/src/main/kinit.c /trunk/kernel/generic/src/mm/as.c /trunk/kernel/generic/src/proc/task.c /trunk/kernel/generic/src/proc/thread.c /trunk/kernel/generic/src/syscall/syscall.c /trunk/uspace/Makefile /trunk/uspace/app/init/init.c /trunk/uspace/app/tester/tester.c /trunk/uspace/lib/libc/Makefile /trunk/uspace/lib/libc/arch/amd64/src/entry.s /trunk/uspace/lib/libc/arch/arm32/src/entry.s /trunk/uspace/lib/libc/arch/ia32/src/entry.s /trunk/uspace/lib/libc/arch/ia64/src/entry.s /trunk/uspace/lib/libc/arch/mips32/src/entry.s /trunk/uspace/lib/libc/arch/ppc32/src/entry.s /trunk/uspace/lib/libc/arch/ppc64/src/entry.s /trunk/uspace/lib/libc/arch/sparc64/src/entry.s /trunk/uspace/lib/libc/generic/as.c /trunk/uspace/lib/libc/generic/io/stream.c /trunk/uspace/lib/libc/generic/libc.c /trunk/uspace/lib/libc/generic/task.c /trunk/uspace/lib/libc/include/as.h /trunk/uspace/lib/libc/include/io/stream.h /trunk/uspace/lib/libc/include/libc.h /trunk/uspace/lib/libc/include/task.h
|
3145 |
5912 d 5 h |
jermar |
/trunk/kernel/arch/sparc64/include/ |
On sparc64, when the operand to the FLUSH instruction doesn't matter, the
instruction's semantics is to flush the pipeline. |
|
/trunk/kernel/arch/sparc64/include/barrier.h /trunk/kernel/arch/sparc64/include/mm/tlb.h
|
3134 |
5913 d 3 h |
jermar |
/trunk/kernel/arch/ |
Add smc_coherence_block(). |
|
/trunk/kernel/arch/arm32/include/barrier.h /trunk/kernel/arch/ia32/include/barrier.h /trunk/kernel/arch/ia64/include/barrier.h /trunk/kernel/arch/mips32/include/barrier.h /trunk/kernel/arch/ppc32/include/barrier.h /trunk/kernel/arch/ppc64/include/barrier.h /trunk/kernel/arch/sparc64/include/barrier.h
|
3133 |
5913 d 17 h |
jermar |
/trunk/kernel/arch/ |
Add smc_coherence() macro to all architectures.
So far, only amd64, ia32, ia64 and sparc64 are implemented. |
|
/trunk/kernel/arch/sparc64/include/mm/cache_spec.h
/trunk/kernel/arch/arm32/include/barrier.h /trunk/kernel/arch/ia32/include/barrier.h /trunk/kernel/arch/ia64/include/barrier.h /trunk/kernel/arch/mips32/include/barrier.h /trunk/kernel/arch/ppc32/include/barrier.h /trunk/kernel/arch/ppc64/include/barrier.h /trunk/kernel/arch/sparc64/include/barrier.h /trunk/kernel/arch/sparc64/include/mm/tlb.h /trunk/kernel/arch/sparc64/src/mm/cache.S
|
3104 |
5921 d 6 h |
svoboda |
/trunk/kernel/ |
Declare arguments for memstr.h operations as pointers instead of uintptr_t. |
|
/trunk/kernel/Makefile /trunk/kernel/arch/amd64/include/memstr.h /trunk/kernel/arch/amd64/src/pm.c /trunk/kernel/arch/arm32/include/memstr.h /trunk/kernel/arch/ia32/include/memstr.h /trunk/kernel/arch/ia32/src/drivers/ega.c /trunk/kernel/arch/ia32/src/pm.c /trunk/kernel/arch/ia32/src/smp/smp.c /trunk/kernel/arch/ia32xen/src/ia32xen.c /trunk/kernel/arch/ia32xen/src/pm.c /trunk/kernel/arch/ia32xen/src/smp/smp.c /trunk/kernel/arch/ia64/include/memstr.h /trunk/kernel/arch/ia64/src/drivers/ega.c /trunk/kernel/arch/ia64/src/mm/vhpt.c /trunk/kernel/arch/mips32/include/memstr.h /trunk/kernel/arch/ppc32/include/memstr.h /trunk/kernel/arch/ppc64/include/memstr.h /trunk/kernel/arch/ppc64/src/mm/page.c /trunk/kernel/arch/sparc64/include/memstr.h /trunk/kernel/arch/sparc64/src/mm/as.c /trunk/kernel/genarch/src/mm/as_pt.c /trunk/kernel/genarch/src/mm/page_pt.c /trunk/kernel/generic/include/memstr.h /trunk/kernel/generic/src/adt/hash_table.c /trunk/kernel/generic/src/cpu/cpu.c /trunk/kernel/generic/src/ipc/ipc.c /trunk/kernel/generic/src/lib/memstr.c /trunk/kernel/generic/src/lib/objc_ext.c /trunk/kernel/generic/src/mm/as.c /trunk/kernel/generic/src/mm/backend_anon.c /trunk/kernel/generic/src/mm/backend_elf.c /trunk/kernel/generic/src/mm/slab.c /trunk/kernel/generic/src/proc/thread.c /trunk/kernel/test/mm/falloc2.c /trunk/kernel/test/mm/slab1.c /trunk/kernel/test/mm/slab2.c
|
3071 |
5923 d 22 h |
decky |
/trunk/kernel/ |
reflect changes in generic code
proper formatting directives
coding style |
|
/trunk/kernel/arch/amd64/src/debugger.c /trunk/kernel/arch/amd64/src/proc/thread.c /trunk/kernel/arch/ia32/include/mm/page.h /trunk/kernel/arch/ia32/include/smp/apic.h /trunk/kernel/arch/ia32/src/debug/panic.s /trunk/kernel/arch/ia32xen/src/smp/smp.c /trunk/kernel/arch/mips32/src/debugger.c /trunk/kernel/arch/mips32/src/exception.c /trunk/kernel/arch/ppc32/include/boot/boot.h /trunk/kernel/arch/ppc32/include/drivers/cuda.h /trunk/kernel/arch/ppc32/include/exception.h /trunk/kernel/arch/ppc32/include/mm/tlb.h /trunk/kernel/arch/ppc32/src/interrupt.c /trunk/kernel/arch/ppc32/src/mm/page.c /trunk/kernel/arch/ppc64/include/exception.h /trunk/kernel/arch/ppc64/src/cpu/cpu.c /trunk/kernel/arch/ppc64/src/interrupt.c /trunk/kernel/arch/ppc64/src/mm/page.c /trunk/kernel/arch/sparc64/include/asm.h /trunk/kernel/arch/sparc64/include/cpu.h /trunk/kernel/arch/sparc64/src/cpu/cpu.c /trunk/kernel/arch/sparc64/src/smp/smp.c /trunk/kernel/arch/sparc64/src/trap/exception.c /trunk/kernel/arch/sparc64/src/trap/interrupt.c /trunk/kernel/genarch/include/ofw/ofw_tree.h /trunk/kernel/genarch/src/acpi/acpi.c /trunk/kernel/genarch/src/acpi/madt.c
|
3070 |
5923 d 23 h |
decky |
/trunk/kernel/arch/ |
introduce portable formatting directives
remove common types |
|
/trunk/kernel/arch/amd64/include/types.h /trunk/kernel/arch/arm32/include/types.h /trunk/kernel/arch/ia32/include/types.h /trunk/kernel/arch/ia32xen/include/types.h /trunk/kernel/arch/ia64/include/types.h /trunk/kernel/arch/mips32/include/types.h /trunk/kernel/arch/ppc32/include/types.h /trunk/kernel/arch/ppc64/include/types.h /trunk/kernel/arch/sparc64/include/types.h
|
2860 |
5972 d 17 h |
cejka |
/trunk/ |
Context handling unified for sparc64. |
|
/trunk/uspace/lib/libc/arch/sparc64/include/context_offset.h
/trunk/kernel/arch/sparc64/include/context_offset.h /trunk/kernel/arch/sparc64/src/context.S /trunk/uspace/lib/libc/arch/sparc64/src/fibril.S
|
2797 |
5984 d 17 h |
jermar |
/trunk/kernel/ |
Each architecture should only announce its endianity.
The conversion macros should be defined only once. |
|
/trunk/kernel/arch/amd64/include/byteorder.h /trunk/kernel/arch/arm32/include/byteorder.h /trunk/kernel/arch/ia32/include/byteorder.h /trunk/kernel/arch/ia64/include/byteorder.h /trunk/kernel/arch/mips32/include/byteorder.h /trunk/kernel/arch/mips32/src/drivers/arc.c /trunk/kernel/arch/ppc32/include/byteorder.h /trunk/kernel/arch/ppc64/include/byteorder.h /trunk/kernel/arch/sparc64/include/byteorder.h /trunk/kernel/generic/include/byteorder.h /trunk/kernel/generic/src/debug/symtab.c /trunk/kernel/generic/src/lib/rd.c
|
2794 |
5985 d 17 h |
jermar |
/trunk/kernel/ |
Add macros for byte swapping of uint16_t's. |
|
/trunk/kernel/arch/amd64/include/byteorder.h /trunk/kernel/arch/arm32/include/byteorder.h /trunk/kernel/arch/ia32/include/byteorder.h /trunk/kernel/arch/ia64/include/byteorder.h /trunk/kernel/arch/mips32/include/byteorder.h /trunk/kernel/arch/ppc32/include/byteorder.h /trunk/kernel/arch/ppc64/include/byteorder.h /trunk/kernel/arch/sparc64/include/byteorder.h /trunk/kernel/generic/include/byteorder.h
|
2745 |
6021 d 2 h |
decky |
/trunk/ |
code cleanup (mostly signed/unsigned)
allow extra compiler warnings |
|
/trunk/kernel/Makefile /trunk/kernel/arch/amd64/src/mm/page.c /trunk/kernel/arch/arm32/src/arm32.c /trunk/kernel/arch/arm32/src/cpu/cpu.c /trunk/kernel/arch/arm32/src/debug/print.c /trunk/kernel/arch/ia32xen/src/mm/tlb.c /trunk/kernel/arch/ia32xen/src/smp/mps.c /trunk/kernel/arch/ia32xen/src/smp/smp.c /trunk/kernel/arch/ia64/src/ia64.c /trunk/kernel/arch/ia64/src/mm/tlb.c /trunk/kernel/arch/mips32/src/cpu/cpu.c /trunk/kernel/arch/mips32/src/debugger.c /trunk/kernel/arch/mips32/src/drivers/arc.c /trunk/kernel/arch/mips32/src/mm/tlb.c /trunk/kernel/arch/sparc64/src/mm/frame.c /trunk/kernel/arch/sparc64/src/mm/page.c /trunk/kernel/arch/sparc64/src/mm/tlb.c /trunk/kernel/arch/sparc64/src/smp/ipi.c /trunk/kernel/genarch/src/ofw/ebus.c /trunk/kernel/genarch/src/ofw/fhc.c /trunk/kernel/genarch/src/ofw/ofw_tree.c /trunk/kernel/genarch/src/ofw/pci.c /trunk/kernel/genarch/src/ofw/sbus.c /trunk/kernel/generic/include/lib/elf.h /trunk/kernel/generic/include/mm/as.h /trunk/kernel/generic/include/mm/slab.h /trunk/kernel/generic/src/debug/symtab.c /trunk/kernel/generic/src/interrupt/interrupt.c /trunk/kernel/generic/src/ipc/irq.c /trunk/kernel/generic/src/ipc/sysipc.c /trunk/kernel/generic/src/lib/elf.c /trunk/kernel/generic/src/lib/func.c /trunk/kernel/generic/src/lib/memstr.c /trunk/kernel/generic/src/lib/sort.c /trunk/kernel/generic/src/main/main.c /trunk/kernel/generic/src/mm/as.c /trunk/kernel/generic/src/mm/backend_anon.c /trunk/kernel/generic/src/mm/backend_elf.c /trunk/kernel/generic/src/mm/frame.c /trunk/kernel/generic/src/mm/slab.c /trunk/kernel/generic/src/mm/tlb.c /trunk/kernel/generic/src/printf/printf_core.c /trunk/kernel/generic/src/proc/task.c /trunk/kernel/generic/src/synch/futex.c /trunk/kernel/generic/src/time/clock.c /trunk/kernel/test/avltree/avltree1.c /trunk/kernel/test/fpu/fpu1.c /trunk/kernel/test/fpu/mips2.c /trunk/kernel/test/fpu/sse1.c /trunk/kernel/test/mm/falloc2.c /trunk/kernel/test/synch/rwlock5.c /trunk/kernel/test/test.c /trunk/kernel/test/thread/thread1.c /trunk/uspace/lib/libc/arch/ppc64/src/syscall.c
|
2725 |
6041 d 23 h |
decky |
/trunk/kernel/ |
remove config.memory_size, get_memory_size() and memory_init.{c|d}
the amount of available memory can be calculated from the sizes of the zones
add FRAMES2SIZE, SIZE2KB and SIZE2MB functions/macros (code readability) |
|
/trunk/kernel/arch/amd64/src/boot/memmap.c /trunk/kernel/arch/ia32/src/boot/memmap.c
/trunk/kernel/arch/amd64/include/mm/memory_init.h /trunk/kernel/arch/amd64/src/mm/memory_init.c /trunk/kernel/arch/arm32/include/mm/memory_init.h /trunk/kernel/arch/arm32/src/mm/memory_init.c /trunk/kernel/arch/ia32/include/mm/memory_init.h /trunk/kernel/arch/ia32/src/mm/memory_init.c /trunk/kernel/arch/ia32xen/include/mm/memory_init.h /trunk/kernel/arch/ia32xen/src/mm/memory_init.c /trunk/kernel/arch/ia64/include/mm/memory_init.h /trunk/kernel/arch/mips32/include/mm/memory_init.h /trunk/kernel/arch/ppc32/include/mm/memory_init.h /trunk/kernel/arch/ppc32/src/mm/memory_init.c /trunk/kernel/arch/ppc64/include/mm/memory_init.h /trunk/kernel/arch/ppc64/src/mm/memory_init.c /trunk/kernel/arch/sparc64/include/mm/memory_init.h /trunk/kernel/arch/sparc64/src/mm/memory_init.c
/trunk/kernel/arch/amd64/Makefile.inc /trunk/kernel/arch/amd64/src/amd64.c /trunk/kernel/arch/amd64/src/boot/boot.S /trunk/kernel/arch/arm32/Makefile.inc /trunk/kernel/arch/arm32/src/mm/frame.c /trunk/kernel/arch/ia32/Makefile.inc /trunk/kernel/arch/ia32/include/boot/memmap.h /trunk/kernel/arch/ia32/src/boot/boot.S /trunk/kernel/arch/ia32/src/ia32.c /trunk/kernel/arch/ia32xen/Makefile.inc /trunk/kernel/arch/ia32xen/src/ia32xen.c /trunk/kernel/arch/ia64/src/mm/frame.c /trunk/kernel/arch/mips32/src/drivers/arc.c /trunk/kernel/arch/mips32/src/mm/frame.c /trunk/kernel/arch/ppc32/Makefile.inc /trunk/kernel/arch/ppc32/src/mm/frame.c /trunk/kernel/arch/ppc32/src/ppc32.c /trunk/kernel/arch/ppc64/Makefile.inc /trunk/kernel/arch/ppc64/src/mm/frame.c /trunk/kernel/arch/ppc64/src/ppc64.c /trunk/kernel/arch/sparc64/Makefile.inc /trunk/kernel/generic/include/config.h /trunk/kernel/generic/include/macros.h /trunk/kernel/generic/include/mm/frame.h /trunk/kernel/generic/src/main/main.c /trunk/kernel/generic/src/mm/frame.c
|
2721 |
6042 d 23 h |
decky |
/trunk/kernel/ |
convert e820list to a generic physmem command |
|
/trunk/kernel/arch/amd64/include/mm/frame.h /trunk/kernel/arch/arm32/include/mm/frame.h /trunk/kernel/arch/ia32/include/mm/frame.h /trunk/kernel/arch/ia32/src/mm/frame.c /trunk/kernel/arch/ia32xen/include/mm/frame.h /trunk/kernel/arch/ia64/include/mm/frame.h /trunk/kernel/arch/mips32/include/mm/frame.h /trunk/kernel/arch/ppc32/include/mm/frame.h /trunk/kernel/arch/ppc64/include/mm/frame.h /trunk/kernel/arch/sparc64/include/mm/frame.h /trunk/kernel/generic/src/console/cmd.c /trunk/kernel/generic/src/interrupt/interrupt.c
|
2610 |
6123 d 21 h |
jermar |
/trunk/ |
Support for six syscall arguments for sparc64.
There is a minor stability issue which needs to be fixed (kernel panics upon entering kconsole from the
console task). |
|
/trunk/kernel/arch/sparc64/include/syscall.h /trunk/kernel/arch/sparc64/src/trap/syscall.c
/trunk/kernel/arch/sparc64/Makefile.inc /trunk/kernel/arch/sparc64/include/stack.h /trunk/kernel/arch/sparc64/include/trap/syscall.h /trunk/kernel/arch/sparc64/include/trap/trap_table.h /trunk/kernel/arch/sparc64/src/trap/trap_table.S /trunk/uspace/lib/libc/arch/sparc64/include/syscall.h
|
2510 |
6195 d 17 h |
jermar |
/trunk/kernel/ |
Experimental support for the cgsix framebuffer, which is found on old Ultra 1
worksations, and the SBUS bus and devices. Not tested. |
|
/trunk/kernel/genarch/src/ofw/sbus.c
/trunk/kernel/arch/sparc64/include/drivers/scr.h /trunk/kernel/arch/sparc64/src/drivers/scr.c /trunk/kernel/genarch/Makefile.inc /trunk/kernel/genarch/include/ofw/ofw_tree.h
|
2462 |
6286 d 17 h |
jermar |
/trunk/kernel/ |
Replace gcc-specific __FUNCTION__ with C99 __func__.
suncc's xregs=no%float can be used only on sparc64. |
|
/trunk/kernel/Makefile /trunk/kernel/arch/amd64/src/interrupt.c /trunk/kernel/arch/ia32/src/smp/mps.c /trunk/kernel/arch/ia32xen/src/smp/mps.c /trunk/kernel/arch/ia64/src/mm/tlb.c /trunk/kernel/arch/sparc64/Makefile.inc /trunk/kernel/arch/sparc64/src/mm/tlb.c /trunk/kernel/arch/sparc64/src/smp/smp.c /trunk/kernel/arch/sparc64/src/trap/exception.c /trunk/kernel/generic/include/panic.h /trunk/kernel/generic/include/synch/spinlock.h /trunk/kernel/generic/src/console/kconsole.c
|
2460 |
6286 d 17 h |
jermar |
/trunk/kernel/ |
Better infrastructure for building with different compilers.
Separate ICC_CFLAGS added, SUNCC_CFLAGS extended. |
|
/trunk/kernel/Makefile /trunk/kernel/arch/amd64/Makefile.inc /trunk/kernel/arch/ia32/Makefile.inc /trunk/kernel/arch/ia32xen/Makefile.inc /trunk/kernel/arch/ia64/Makefile.inc /trunk/kernel/arch/sparc64/Makefile.inc
|
2454 |
6287 d 16 h |
jermar |
/trunk/kernel/ |
A bit of infrastructure for building with different compilers.
CFLAGS split into GCC_CFLAGS and SUNCC_CFLAGS.
As of now, there are no separate ICC_CFLAGS, but can be easily added. |
|
/trunk/kernel/Makefile /trunk/kernel/arch/amd64/Makefile.inc /trunk/kernel/arch/arm32/Makefile.inc /trunk/kernel/arch/ia32/Makefile.inc /trunk/kernel/arch/ia32xen/Makefile.inc /trunk/kernel/arch/ia64/Makefile.inc /trunk/kernel/arch/mips32/Makefile.inc /trunk/kernel/arch/ppc32/Makefile.inc /trunk/kernel/arch/ppc64/Makefile.inc /trunk/kernel/arch/sparc64/Makefile.inc
|
2272 |
6334 d 19 h |
jermar |
/trunk/kernel/ |
Indentation and formatting fixes. |
|
/trunk/kernel/arch/sparc64/include/barrier.h /trunk/kernel/arch/sparc64/src/cpu/cpu.c /trunk/kernel/arch/sparc64/src/mm/as.c /trunk/kernel/arch/sparc64/src/proc/scheduler.c /trunk/kernel/arch/sparc64/src/proc/thread.c /trunk/kernel/arch/sparc64/src/smp/ipi.c /trunk/kernel/arch/sparc64/src/smp/smp.c /trunk/kernel/generic/src/lib/memstr.c
|
2267 |
6336 d 18 h |
jermar |
/trunk/kernel/arch/sparc64/src/mm/ |
Fix indentation. |
|
/trunk/kernel/arch/sparc64/src/mm/frame.c
|
2266 |
6336 d 19 h |
jermar |
/trunk/kernel/arch/sparc64/src/mm/ |
Add few assertions to tsb.c and clean it up a little bit. |
|
/trunk/kernel/arch/sparc64/src/mm/tsb.c
|
2252 |
6338 d 16 h |
jermar |
/trunk/kernel/arch/sparc64/src/mm/ |
Move one MEMBAR instruction from a delay slot,
which is, due to SF Erratum #51, a potentionally
dangerous place for a MEMBAR to be. |
|
/trunk/kernel/arch/sparc64/src/mm/cache.S
|
2231 |
6344 d 21 h |
jermar |
/trunk/kernel/arch/sparc64/ |
Fix a nasty bug in the TLB miss handlers on sparc64.
After we no longer lock the kernel stack in the DTLB,
there is a real danger of nested DTLB misses. The nested
miss can very easily clobber the DTLB Tag Access register.
Therefore, the original miss may not read this register, but
it has to receive its value as an argument. The argument
value is saved in the trap table when it is guaranteed that
the nested TLB miss will not occur. |
|
/trunk/kernel/arch/sparc64/include/mm/tlb.h /trunk/kernel/arch/sparc64/include/trap/mmu.h /trunk/kernel/arch/sparc64/src/mm/tlb.c
|
2228 |
6345 d 0 h |
jermar |
/trunk/kernel/arch/sparc64/src/ |
Fix ticket #28.
In switch_to_userspace(), the uarg argument is in %i2, not in %i3. |
|
/trunk/kernel/arch/sparc64/src/asm.S
|
2227 |
6345 d 7 h |
decky |
/trunk/kernel/ |
start shutdown infrastructure |
|
/trunk/kernel/generic/src/main/shutdown.c
/trunk/kernel/Makefile /trunk/kernel/arch/amd64/src/pm.c /trunk/kernel/arch/arm32/src/arm32.c /trunk/kernel/arch/ia32/src/pm.c /trunk/kernel/arch/ia32xen/src/ia32xen.c /trunk/kernel/arch/ia64/src/ia64.c /trunk/kernel/arch/mips32/src/mips32.c /trunk/kernel/arch/ppc32/src/drivers/cuda.c /trunk/kernel/arch/ppc64/src/ppc64.c /trunk/kernel/arch/sparc64/src/sparc64.c /trunk/kernel/generic/include/arch.h /trunk/kernel/generic/include/proc/task.h /trunk/kernel/generic/src/console/cmd.c /trunk/kernel/generic/src/proc/task.c /trunk/kernel/kernel.config
|