Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
3908 |
5662 d 15 h |
decky |
/trunk/ |
overhaul pareas: use one single physical area for the physical address space not belonging to physical memory |
|
/trunk/kernel/arch/amd64/include/mm/frame.h /trunk/kernel/arch/amd64/src/mm/page.c /trunk/kernel/arch/arm32/include/mm/frame.h /trunk/kernel/arch/arm32/src/mm/frame.c /trunk/kernel/arch/arm32/src/mm/page.c /trunk/kernel/arch/ia32/include/mm/frame.h /trunk/kernel/arch/ia32/src/mm/frame.c /trunk/kernel/arch/ia32/src/mm/page.c /trunk/kernel/arch/ia64/include/mm/frame.h /trunk/kernel/arch/ia64/src/mm/frame.c /trunk/kernel/arch/ia64/src/mm/page.c /trunk/kernel/arch/mips32/include/mm/frame.h /trunk/kernel/arch/mips32/src/drivers/msim.c /trunk/kernel/arch/mips32/src/mm/frame.c /trunk/kernel/arch/mips32/src/mm/page.c /trunk/kernel/arch/ppc32/include/mm/frame.h /trunk/kernel/arch/ppc32/src/mm/frame.c /trunk/kernel/arch/ppc32/src/mm/page.c /trunk/kernel/arch/sparc64/include/mm/frame.h /trunk/kernel/arch/sparc64/src/drivers/sgcn.c /trunk/kernel/arch/sparc64/src/mm/frame.c /trunk/kernel/arch/sparc64/src/mm/page.c /trunk/kernel/genarch/src/drivers/ega/ega.c /trunk/kernel/genarch/src/fb/fb.c /trunk/kernel/generic/include/ddi/ddi.h /trunk/kernel/generic/include/mm/page.h /trunk/kernel/generic/src/adt/avl.c /trunk/kernel/generic/src/console/cmd.c /trunk/kernel/generic/src/console/console.c /trunk/kernel/generic/src/ddi/ddi.c /trunk/kernel/generic/src/lib/rd.c /trunk/kernel/generic/src/proc/task.c /trunk/kernel/generic/src/time/clock.c /trunk/uspace/srv/fb/ega.c /trunk/uspace/srv/fb/fb.c /trunk/uspace/srv/fb/msim.c /trunk/uspace/srv/fb/sgcn.c /trunk/uspace/srv/kbd/arch/sparc64/src/sgcn.c /trunk/uspace/srv/ns/ns.c /trunk/uspace/srv/rd/rd.c
|
3902 |
5663 d 18 h |
jermar |
/trunk/kernel/ |
Introduce a more platform-neutral name for programmed I/O.
The new API looks like pio_read_n() or pio_write_n(), where n is 8, 16 or 32.
The old API (i.e. inb(), inw(), inl(), outb() outw(), outl()) may have made
some people think that the interface is only to be used with the separate I/O
space. That's not the case. This API is to be implemented on all platforms
so that we can finally have really generic kernel device drivers. |
|
/trunk/kernel/arch/amd64/include/asm.h /trunk/kernel/arch/arm32/include/asm.h /trunk/kernel/arch/ia32/include/asm.h /trunk/kernel/arch/ia32/include/drivers/i8042.h /trunk/kernel/arch/ia32/src/drivers/i8254.c /trunk/kernel/arch/ia32/src/drivers/i8259.c /trunk/kernel/arch/ia32/src/smp/smp.c /trunk/kernel/arch/ia64/include/asm.h /trunk/kernel/arch/ia64/include/drivers/i8042.h /trunk/kernel/arch/ia64/src/ia64.c /trunk/kernel/arch/mips32/include/asm.h /trunk/kernel/arch/ppc32/include/asm.h /trunk/kernel/arch/sparc64/include/asm.h /trunk/kernel/genarch/include/kbd/ns16550.h /trunk/kernel/genarch/src/drivers/ega/ega.c /trunk/kernel/generic/src/ipc/irq.c
|
3880 |
5666 d 13 h |
decky |
/trunk/kernel/arch/ |
simplify configuration
introduce arch_construct_function and inb/outb (sometimes empty) on all platforms
various code cleanup |
|
/trunk/kernel/arch/sparc64/include/drivers/ns16550.h
/trunk/kernel/arch/amd64/src/amd64.c /trunk/kernel/arch/amd64/src/debugger.c /trunk/kernel/arch/amd64/src/interrupt.c /trunk/kernel/arch/arm32/include/asm.h /trunk/kernel/arch/arm32/src/arm32.c /trunk/kernel/arch/ia32/_link.ld.in /trunk/kernel/arch/ia32/include/fpu_context.h /trunk/kernel/arch/ia32/src/ia32.c /trunk/kernel/arch/ia64/include/asm.h /trunk/kernel/arch/ia64/include/drivers/kbd.h /trunk/kernel/arch/ia64/include/fpu_context.h /trunk/kernel/arch/ia64/include/interrupt.h /trunk/kernel/arch/ia64/src/ia64.c /trunk/kernel/arch/ia64/src/interrupt.c /trunk/kernel/arch/ia64/src/ski/ski.c /trunk/kernel/arch/mips32/include/asm.h /trunk/kernel/arch/mips32/include/context_offset.h /trunk/kernel/arch/mips32/src/asm.S /trunk/kernel/arch/mips32/src/drivers/msim.c /trunk/kernel/arch/mips32/src/fpu_context.c /trunk/kernel/arch/mips32/src/mips32.c /trunk/kernel/arch/mips32/src/mm/frame.c /trunk/kernel/arch/ppc32/include/asm.h /trunk/kernel/arch/ppc32/src/ppc32.c /trunk/kernel/arch/sparc64/_link.ld.in /trunk/kernel/arch/sparc64/include/fpu_context.h /trunk/kernel/arch/sparc64/src/sparc64.c
|
3878 |
5666 d 13 h |
decky |
/trunk/kernel/arch/ |
introduce fncptr_t and ioport_t on all platforms |
|
/trunk/kernel/arch/amd64/include/types.h /trunk/kernel/arch/arm32/include/types.h /trunk/kernel/arch/ia32/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/sparc64/include/types.h
|
3857 |
5676 d 15 h |
decky |
/trunk/ |
very experimental TLB refill for ppc32 |
|
/trunk/boot/arch/ppc32/loader/regname.h /trunk/kernel/arch/ppc32/include/asm/regname.h /trunk/kernel/arch/ppc32/include/mm/tlb.h /trunk/kernel/arch/ppc32/src/exception.S /trunk/kernel/arch/ppc32/src/mm/tlb.c
|
3856 |
5676 d 17 h |
decky |
/trunk/ |
ppc32: strict coherency, compatible TLB flush |
|
/trunk/boot/arch/ppc32/loader/asm.S /trunk/boot/arch/ppc32/loader/regname.h /trunk/kernel/arch/ppc32/include/asm/regname.h /trunk/kernel/arch/ppc32/include/barrier.h /trunk/kernel/arch/ppc32/src/mm/tlb.c
|
3837 |
5678 d 20 h |
decky |
/trunk/kernel/arch/ppc32/ |
use pseudorandom generator to avoid even the longest path of livelock collisions |
|
/trunk/kernel/arch/ppc32/include/mm/tlb.h /trunk/kernel/arch/ppc32/src/exception.S /trunk/kernel/arch/ppc32/src/mm/tlb.c
|
3833 |
5679 d 17 h |
decky |
/trunk/ |
avoid nasty race condition during page fault handling |
|
/trunk/boot/arch/ppc32/loader/Makefile /trunk/kernel/arch/ppc32/include/exception.h /trunk/kernel/arch/ppc32/src/asm.S /trunk/kernel/arch/ppc32/src/exception.S /trunk/kernel/arch/ppc32/src/mm/tlb.c
|
3830 |
5680 d 15 h |
decky |
/trunk/kernel/arch/ppc32/ |
ppc32: add support for cache disable page access control |
|
/trunk/kernel/arch/ppc32/include/mm/page.h /trunk/kernel/arch/ppc32/include/mm/tlb.h /trunk/kernel/arch/ppc32/include/types.h /trunk/kernel/arch/ppc32/src/mm/tlb.c
|
3829 |
5680 d 16 h |
decky |
/trunk/ |
use macio optionally |
|
/trunk/boot/arch/ppc32/loader/main.c /trunk/boot/arch/ppc32/loader/main.h /trunk/boot/arch/ppc32/loader/ofwarch.c /trunk/boot/genarch/ofw.h /trunk/kernel/arch/ppc32/include/boot/boot.h /trunk/kernel/arch/ppc32/src/drivers/cuda.c /trunk/kernel/arch/ppc32/src/drivers/pic.c /trunk/kernel/arch/ppc32/src/ppc32.c /trunk/uspace/srv/kbd/arch/ppc32/src/kbd.c
|
3406 |
5817 d 22 h |
svoboda |
/trunk/kernel/arch/ppc32/include/ |
Merge changeset 3114 from tracing into trunk. (implementation of istate_from_uspace() for ppc32) |
|
/trunk/kernel/arch/ppc32/include/regutils.h
/trunk/kernel/arch/ppc32/include/asm/regname.h /trunk/kernel/arch/ppc32/include/exception.h
|
3233 |
5866 d 18 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
|
3143 |
5909 d 17 h |
svoboda |
/trunk/kernel/ |
Implement smc_coherence[_block]() for ppc32 |
|
/trunk/kernel/arch/ppc32/include/barrier.h /trunk/kernel/generic/src/mm/backend_elf.c
|
3134 |
5909 d 23 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 |
5910 d 13 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 |
5918 d 2 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 |
5920 d 19 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 |
5920 d 19 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
|
2861 |
5968 d 14 h |
cejka |
/trunk/ |
Used common macro for context saving on ppc64. |
|
/trunk/uspace/lib/libc/arch/ppc64/include/context_offset.h
/trunk/kernel/arch/ppc32/include/context_offset.h /trunk/kernel/arch/ppc64/include/context_offset.h /trunk/kernel/arch/ppc64/src/context.S /trunk/uspace/lib/libc/arch/ppc64/src/fibril.S
|
2797 |
5981 d 13 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
|