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
3071 5873 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 5873 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
3044 5874 d 13 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
3040 5874 d 21 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
2797 5934 d 14 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 5935 d 14 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 5949 d 13 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 5949 d 13 h jermar /trunk/kernel/arch/amd64/src/cpu/ Fix cstyle.  
/trunk/kernel/arch/amd64/src/cpu/cpu.c
2777 5954 d 0 h cejka /trunk/ Unified context handling code for amd64.  
/trunk/uspace/lib/libc/arch/amd64/include/context_offset.h
/trunk/kernel/arch/amd64/include/context_offset.h
/trunk/kernel/arch/amd64/src/context.S
/trunk/uspace/lib/libc/arch/amd64/src/fibril.S
2774 5954 d 1 h cejka /trunk/kernel/arch/ Context.s renamed to context.S for ia32 and fixed links for ia32xen.
Added asm macros for context save/restore and offset definitions.
 
/trunk/kernel/arch/ia32/include/context_offset.h
/trunk/kernel/arch/ia32xen/src/context.S
/trunk/kernel/arch/ia32xen/src/context.s
/trunk/kernel/arch/amd64/include/context.h
/trunk/kernel/arch/amd64/include/context_offset.h
/trunk/kernel/arch/ia32/Makefile.inc
/trunk/kernel/arch/ia32/include/context.h
/trunk/kernel/arch/ia32xen/Makefile.inc
2767 5958 d 14 h jermar /trunk/kernel/arch/amd64/src/ Fix breakage in non-debug amd64 build.  
/trunk/kernel/arch/amd64/src/debugger.c
2745 5970 d 22 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 5991 d 19 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
2723 5992 d 18 h decky /trunk/kernel/arch/ remove memory_print_map(), as it duplicates functionality of physmem_print()  
/trunk/kernel/arch/amd64/src/amd64.c
/trunk/kernel/arch/amd64/src/mm/memory_init.c
/trunk/kernel/arch/ia32/include/mm/memory_init.h
/trunk/kernel/arch/ia32/src/ia32.c
/trunk/kernel/arch/ia32/src/mm/frame.c
/trunk/kernel/arch/ia32/src/mm/memory_init.c
/trunk/kernel/arch/ia32xen/include/mm/frame.h
/trunk/kernel/arch/ia32xen/include/mm/memory_init.h
/trunk/kernel/arch/ia32xen/src/ia32xen.c
/trunk/kernel/arch/ia32xen/src/mm/frame.c
/trunk/kernel/arch/ia32xen/src/mm/memory_init.c
/trunk/kernel/arch/ppc32/include/mm/frame.h
/trunk/kernel/arch/ppc32/include/mm/memory_init.h
/trunk/kernel/arch/ppc32/src/mm/frame.c
/trunk/kernel/arch/ppc32/src/mm/memory_init.c
/trunk/kernel/arch/ppc32/src/ppc32.c
/trunk/kernel/arch/ppc64/include/mm/frame.h
/trunk/kernel/arch/ppc64/include/mm/memory_init.h
/trunk/kernel/arch/ppc64/src/mm/frame.c
/trunk/kernel/arch/ppc64/src/mm/memory_init.c
/trunk/kernel/arch/ppc64/src/ppc64.c
2721 5992 d 20 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
2713 5996 d 19 h decky /trunk/kernel/arch/amd64/src/boot/ remove fake tab  
/trunk/kernel/arch/amd64/src/boot/boot.S
2712 5996 d 20 h decky /trunk/kernel/ prettyprint output  
/trunk/kernel/arch/amd64/src/debugger.c
/trunk/kernel/arch/ia32/src/mm/frame.c
/trunk/kernel/generic/include/macros.h
/trunk/kernel/generic/src/interrupt/interrupt.c
/trunk/kernel/generic/src/mm/frame.c
/trunk/kernel/generic/src/printf/printf_core.c
/trunk/kernel/generic/src/proc/task.c
/trunk/kernel/generic/src/proc/thread.c
2703 6003 d 17 h jermar /trunk/kernel/arch/amd64/ Grow the initial identity mapping from 64M to 4G.
We should not allocate GDT's from above 4G or the amd64 will occassionally
triple-fault again.
 
/trunk/kernel/arch/amd64/_link.ld.in
/trunk/kernel/arch/amd64/src/boot/boot.S
/trunk/kernel/arch/amd64/src/smp/ap.S
2701 6003 d 22 h jermar /trunk/kernel/ Fix cstyle and (c) to 2008.  
/trunk/kernel/arch/amd64/src/pm.c
/trunk/kernel/arch/ia32/src/mm/frame.c
/trunk/kernel/arch/ia32/src/smp/mps.c
/trunk/kernel/arch/ia32/src/smp/smp.c
/trunk/kernel/generic/src/main/version.c
2697 6013 d 21 h decky /trunk/kernel/ amd64: shorten kernel address space by 2 GB to support proper mapping of more than 2 GB of physical memory  
/trunk/kernel/arch/amd64/include/mm/as.h
/trunk/kernel/arch/amd64/src/amd64.c
/trunk/kernel/arch/amd64/src/mm/page.c
/trunk/kernel/arch/ia32/src/mm/frame.c
/trunk/kernel/generic/src/console/console.c

Show All