Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
3145 |
5955 d 18 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 |
5956 d 16 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 |
5957 d 6 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 |
5964 d 19 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 |
5967 d 12 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 |
5967 d 12 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 |
6016 d 7 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 |
6028 d 7 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 |
6029 d 6 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 |
6064 d 15 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 |
6085 d 12 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 |
6086 d 13 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 |
6167 d 10 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 |
6239 d 7 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 |
6330 d 6 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 |
6330 d 7 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 |
6331 d 5 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 |
6378 d 8 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 |
6380 d 7 h |
jermar |
/trunk/kernel/arch/sparc64/src/mm/ |
Fix indentation. |
|
/trunk/kernel/arch/sparc64/src/mm/frame.c
|
2266 |
6380 d 8 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
|