Subversion Repositories HelenOS

Rev

Go to most recent revision | Hide changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff Changes
3209 5849 d 1 h jermar /trunk/kernel/arch/ia32/src/smp/ Allocate AP's GDT from first 4 GiB.  
/trunk/kernel/arch/ia32/src/smp/smp.c
3200 5852 d 9 h svoboda /trunk/kernel/arch/ppc32/src/ Remove buggy assembler memsetb function, call generic C _memsetb instead. Fixes kconsole panic when uspace klog is enabled and memsetb() called from klog_update()  
/trunk/kernel/arch/ppc32/src/asm.S
3193 5855 d 1 h jermar /trunk/kernel/ cstyle fixes  
/trunk/kernel/arch/ppc32/src/mm/page.c
/trunk/kernel/arch/ppc32/src/mm/tlb.c
/trunk/kernel/generic/src/console/kconsole.c
/trunk/kernel/generic/src/main/main.c
3189 5860 d 0 h jermar /trunk/kernel/arch/ppc32/src/ Implement memcpy_to_uspace_failover_address for ppc32.
This fixes kernel side of ticket #59.
 
/trunk/kernel/arch/ppc32/src/asm.S
3179 5865 d 4 h jermar /trunk/kernel/ Introduce the notion of FPU_NO_CFLAGS and separate building of test/fpu
objects and building the rest of kernel objects. Now, amd64 and ia32 can
enable things such as SSE selectively for the test/fpu/*.
 
/trunk/kernel/Makefile
/trunk/kernel/arch/amd64/Makefile.inc
/trunk/kernel/arch/ia32/Makefile.inc
3173 5867 d 0 h jermar /trunk/kernel/arch/ia32/ Don't build the ia32 kernel with MMX/SSE/3DNOW enabled. This was causing
problems with gcc 4.3.1 which generated MMX aided code in a context that
didn't allow this.
 
/trunk/kernel/arch/ia32/Makefile.inc
3167 5867 d 12 h svoboda /trunk/kernel/arch/mips32/include/ Fix mips32 atomic_add() which would break build unless a constant was propagated into the second argument. (Specifically at -O0)  
/trunk/kernel/arch/mips32/include/atomic.h
3164 5869 d 0 h jermar /trunk/ First argument of atomic functions is read-write (ia32).  
/trunk/kernel/arch/ia32/include/atomic.h
/trunk/uspace/lib/libc/arch/ia32/include/atomic.h
3163 5869 d 0 h jermar /trunk/ First argument to atomic functions is read-write (amd64).  
/trunk/kernel/arch/amd64/include/atomic.h
/trunk/uspace/lib/libc/arch/amd64/include/atomic.h
3162 5869 d 0 h jermar /trunk/ The first argument to atomic_add() is read-write. (mips32)  
/trunk/kernel/arch/mips32/include/atomic.h
/trunk/uspace/lib/libc/arch/mips32/include/atomic.h
3145 5870 d 13 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
3143 5871 d 5 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
3140 5871 d 9 h jermar /trunk/kernel/arch/ia64/include/ Fix operands for fc_i().  
/trunk/kernel/arch/ia64/include/barrier.h
3139 5871 d 9 h jermar /trunk/kernel/arch/mips32/src/ Maintain cache coherence when setting breakpoints in kconsole on mips32.  
/trunk/kernel/arch/mips32/src/debugger.c
3138 5871 d 10 h jermar /trunk/kernel/arch/amd64/src/ Formatting fixes for amd64 debugger.  
/trunk/kernel/arch/amd64/src/debugger.c
3136 5871 d 10 h jermar /trunk/kernel/arch/mips32/src/ Maintain cache coherence after mips32 install exception handlers.  
/trunk/kernel/arch/mips32/src/mips32.c
3135 5871 d 10 h jermar /trunk/kernel/arch/arm32/src/ Maintain cache coherence after arm32 installs exception handlers.  
/trunk/kernel/arch/arm32/src/exception.c
3134 5871 d 11 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 5872 d 1 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 5879 d 14 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
3098 5881 d 2 h svoboda /trunk/ Make mips32 compile again  
/trunk/kernel/arch/mips32/include/types.h
/trunk/kernel/generic/include/typedefs.h
/trunk/uspace/lib/libc/arch/mips32/src/entry.s
3097 5881 d 2 h decky /trunk/kernel/ resurrect klog  
/trunk/kernel/arch/ia32/src/smp/ap.S
/trunk/kernel/generic/include/console/console.h
/trunk/kernel/generic/src/console/console.c
/trunk/kernel/generic/src/main/main.c
/trunk/kernel/generic/src/syscall/syscall.c
3095 5881 d 3 h svoboda /trunk/ Make ia64 compile again.  
/trunk/kernel/arch/ia64/include/types.h
/trunk/uspace/lib/libc/arch/ia64/src/entry.s
3094 5881 d 3 h svoboda /trunk/ Make arm32 compile again.  
/trunk/kernel/arch/arm32/Makefile.inc
/trunk/kernel/arch/arm32/include/types.h
/trunk/kernel/arch/arm32/src/mm/page_fault.c
/trunk/uspace/lib/libc/arch/arm32/src/entry.s
3092 5881 d 16 h jermar /trunk/kernel/arch/ia32/include/ Better comments for pretty print formatters.  
/trunk/kernel/arch/ia32/include/types.h
3071 5882 d 7 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 5882 d 7 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
3044 5883 d 1 h jermar /trunk/kernel/arch/amd64/ Some inline functions in memstr.h seem to be of uncertain origin (amd64).
Replace either with built-in functions or with generic functions.
 
/trunk/kernel/arch/amd64/src/asm_utils.S
3043 5883 d 1 h jermar /trunk/kernel/arch/ia32/ Some inline functions in memstr.h seem to be of uncertain origin (ia32).
Replace either with built-in functions or with generic functions.
 
/trunk/kernel/arch/ia32/src/asm.S
3041 5883 d 9 h svoboda /trunk/kernel/arch/ia32/include/ Fix register-constraint typo in ia32 memstr.h and add two '&'s for symmetry's sake. (None were really causing trouble)  
/trunk/kernel/arch/ia32/include/memstr.h
3040 5883 d 9 h svoboda /trunk/kernel/arch/amd64/include/ Fix register-constraint typo in amd64 memstr.h and add two '&'s for symmetry's sake. (None were really causing trouble)  
/trunk/kernel/arch/amd64/include/memstr.h
3038 5883 d 12 h svoboda /trunk/kernel/arch/mips32/include/ Fix missing earlyclobber-register constraints in mips32 atomic_add(), causing panic when gcc put %0 and %1 to the same register.  
/trunk/kernel/arch/mips32/include/atomic.h
2861 5930 d 2 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
2860 5931 d 1 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 5943 d 1 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 5944 d 1 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
2784 5958 d 0 h jermar /trunk/kernel/arch/ Fortify ia32 and amd64 kernels against mallicious uspace applications that set
DF prior to entering the kernel. For AMD64 syscalls, we don't use the CLD
instruction, but make use of the SFMASK MSR instead. Simics works fine with
it, but QEMU seems to have a problem.
 
/trunk/kernel/arch/amd64/include/cpu.h
/trunk/kernel/arch/amd64/src/asm_utils.S
/trunk/kernel/arch/amd64/src/boot/boot.S
/trunk/kernel/arch/amd64/src/syscall.c
/trunk/kernel/arch/ia32/src/asm.S
/trunk/kernel/arch/ia32/src/boot/boot.S
2783 5958 d 1 h jermar /trunk/kernel/arch/amd64/src/cpu/ Fix cstyle.  
/trunk/kernel/arch/amd64/src/cpu/cpu.c
2781 5962 d 9 h cejka /trunk/ Unified context saving/restoring macros in ppc32.  
/trunk/uspace/lib/libc/arch/ppc32/include/context_offset.h
/trunk/kernel/arch/ppc32/include/context_offset.h
/trunk/kernel/arch/ppc32/src/context.S
/trunk/uspace/lib/libc/arch/ppc32/src/fibril.S
2780 5962 d 9 h cejka /trunk/ Fixed broken context_offset.h symlinks for mips32eb and ia32xen.  
/trunk/kernel/arch/ia32xen/include/context_offset.h
/trunk/uspace/lib/libc/arch/mips32eb/include/context_offset.h