Subversion Repositories HelenOS

Rev

Go to most recent revision | Hide changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff Changes
1885 6626 d 17 h jermar /trunk/kernel/arch/sparc64/include/ On sparc64, get_stack_base() must use the unbiased %sp (i.e. %sp + 2047).  
/trunk/kernel/arch/sparc64/include/asm.h
1884 6627 d 12 h jermar /trunk/kernel/arch/sparc64/src/ Unfortunatelly, the sparc64's FPRS register is writable by non-privileged software
so we cannot save only half of the FPU context depending on FPRS dirty bits.
Instead, we must save the entire FPU register file.
 
/trunk/kernel/arch/sparc64/src/fpu_context.c
1883 6627 d 12 h jermar /trunk/kernel/arch/sparc64/ More sparc64 FPU trap handlers.  
/trunk/kernel/arch/sparc64/include/trap/exception.h
/trunk/kernel/arch/sparc64/src/trap/exception.c
/trunk/kernel/arch/sparc64/src/trap/trap_table.S
1882 6627 d 13 h jermar /trunk/kernel/ Support for sparc64 FPU context.  
/trunk/kernel/arch/sparc64/src/fpu_context.c
/trunk/kernel/arch/amd64/include/arch.h
/trunk/kernel/arch/ia32/include/arch.h
/trunk/kernel/arch/ia64/include/arch.h
/trunk/kernel/arch/ia64/src/interrupt.c
/trunk/kernel/arch/mips32/include/arch.h
/trunk/kernel/arch/mips32/src/fpu_context.c
/trunk/kernel/arch/ppc32/include/arch.h
/trunk/kernel/arch/ppc64/include/arch.h
/trunk/kernel/arch/sparc64/Makefile.inc
/trunk/kernel/arch/sparc64/include/asm.h
/trunk/kernel/arch/sparc64/include/fpu_context.h
/trunk/kernel/arch/sparc64/include/regdef.h
/trunk/kernel/arch/sparc64/include/register.h
/trunk/kernel/arch/sparc64/include/trap/exception.h
/trunk/kernel/arch/sparc64/src/asm.S
/trunk/kernel/arch/sparc64/src/dummy.s
/trunk/kernel/arch/sparc64/src/trap/exception.c
/trunk/kernel/arch/sparc64/src/trap/trap_table.S
/trunk/kernel/generic/include/fpu_context.h
/trunk/kernel/generic/src/proc/scheduler.c
/trunk/kernel/kernel.config
/trunk/kernel/test/fpu/fpu1/test.c
1881 6628 d 13 h jermar /trunk/ sparc64 work:
- find a CPU node and read its clock_frequency attribute
- implement asm_delay_loop()
- set TICK_COMPARE register according to processor frequency
- small improvements at random places

OpenFirmware work:
- two new functions for walking the device tree

Generic boot loader work:
- added basic string functions

Usual pile of indentation and formatting fixes.
 
/trunk/boot/generic/string.c
/trunk/boot/generic/string.h
/trunk/boot/arch/sparc64/loader/Makefile
/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/ofwarch.h
/trunk/boot/genarch/ofw.c
/trunk/boot/genarch/ofw.h
/trunk/boot/generic/gentypes.h
/trunk/kernel/arch/ia64/src/drivers/it.c
/trunk/kernel/arch/mips32/include/asm.h
/trunk/kernel/arch/mips32/src/interrupt.c
/trunk/kernel/arch/sparc64/include/asm.h
/trunk/kernel/arch/sparc64/include/boot/boot.h
/trunk/kernel/arch/sparc64/include/cpu.h
/trunk/kernel/arch/sparc64/include/drivers/tick.h
/trunk/kernel/arch/sparc64/src/cpu/cpu.c
/trunk/kernel/arch/sparc64/src/drivers/tick.c
/trunk/kernel/arch/sparc64/src/dummy.s
/trunk/kernel/arch/sparc64/src/sparc64.c
/trunk/kernel/arch/sparc64/src/start.S
/trunk/kernel/generic/include/arch.h
/trunk/kernel/generic/include/cpu.h
/trunk/kernel/generic/include/time/clock.h
/trunk/kernel/generic/include/time/delay.h
/trunk/kernel/generic/include/time/timeout.h
/trunk/kernel/generic/include/typedefs.h
/trunk/kernel/generic/src/cpu/cpu.c
1880 6630 d 5 h jermar /trunk/ Small improvements here and there.  
/trunk/kernel/arch/sparc64/_link.ld.in
/trunk/kernel/arch/sparc64/include/asm.h
/trunk/kernel/arch/sparc64/include/trap/exception.h
/trunk/kernel/arch/sparc64/src/asm.S
/trunk/kernel/arch/sparc64/src/console.c
/trunk/kernel/arch/sparc64/src/mm/tlb.c
/trunk/kernel/arch/sparc64/src/start.S
/trunk/kernel/arch/sparc64/src/trap/exception.c
/trunk/kernel/arch/sparc64/src/trap/trap_table.S
/trunk/kernel/genarch/src/kbd/ns16550.c
/trunk/kernel/generic/src/printf/printf_core.c
/trunk/kernel/generic/src/proc/task.c
/trunk/kernel/generic/src/sysinfo/sysinfo.c
/trunk/uspace/ns/ns.c
1879 6631 d 14 h jermar /trunk/kernel/arch/sparc64/src/ Revert last change.
The register window save area is automatically allocated by the SAVE instruction.
 
/trunk/kernel/arch/sparc64/src/proc/scheduler.c
/trunk/kernel/arch/sparc64/src/sparc64.c
1878 6631 d 15 h jermar /trunk/kernel/arch/sparc64/src/ Even the first kernel register window after the switch from userspace stack needs
proper register window save area [sparc64].
 
/trunk/kernel/arch/sparc64/src/proc/scheduler.c
/trunk/kernel/arch/sparc64/src/sparc64.c
1877 6631 d 17 h jermar /trunk/kernel/ Coding style fixes.
Remove unneeded sparc64 dummy functions.
 
/trunk/kernel/arch/amd64/src/fpu_context.c
/trunk/kernel/arch/ia32/src/fpu_context.c
/trunk/kernel/arch/ia64/src/fpu_context.c
/trunk/kernel/arch/ia64/src/start.S
/trunk/kernel/arch/sparc64/src/dummy.s
/trunk/kernel/generic/include/ipc/ipc.h
1876 6631 d 17 h jermar /trunk/kernel/arch/sparc64/src/trap/ Fixes for sparc64's preemptible_handler().
Resynchronize CWP with that of TL=0.
 
/trunk/kernel/arch/sparc64/src/trap/trap_table.S
1875 6633 d 6 h jermar /trunk/ sparc64 work.
- Changes to enable userspace keyboard drivers.
- Fix z8530 initialization (i.e. clear any pending Tx interrupts).
- Experimental support for framebuffers with inverted colors.
 
/trunk/kernel/arch/sparc64/Makefile.inc
/trunk/kernel/arch/sparc64/include/drivers/z8530.h
/trunk/kernel/arch/sparc64/src/console.c
/trunk/kernel/arch/sparc64/src/drivers/fhc.c
/trunk/kernel/arch/sparc64/src/sparc64.c
/trunk/kernel/arch/sparc64/src/trap/interrupt.c
/trunk/kernel/genarch/include/kbd/z8530.h
/trunk/kernel/genarch/src/fb/fb.c
/trunk/kernel/genarch/src/kbd/key.c
/trunk/kernel/genarch/src/kbd/z8530.c
/trunk/kernel/generic/src/ipc/irq.c
/trunk/kernel/generic/src/ipc/sysipc.c
/trunk/uspace/fb/fb.c
1874 6633 d 6 h jermar /trunk/uspace/kbd/ Cleanup and reorganize the kbd service a bit.  
/trunk/uspace/kbd/arch/ia32/include/scanc.h
/trunk/uspace/kbd/arch/ia32/src/scanc.c
/trunk/uspace/kbd/arch/ia32/include/kbd.h
/trunk/uspace/kbd/arch/ia32/src/kbd.c
/trunk/uspace/kbd/arch/ia64/include/kbd.h
/trunk/uspace/kbd/arch/ia64/src/kbd.c
/trunk/uspace/kbd/arch/mips32/include/kbd.h
/trunk/uspace/kbd/arch/mips32/src/kbd.c
/trunk/uspace/kbd/arch/ppc32/include/kbd.h
/trunk/uspace/kbd/arch/ppc64/include/kbd.h
/trunk/uspace/kbd/include/kbd.h
/trunk/uspace/kbd/include/keys.h
1873 6633 d 6 h jermar /trunk/uspace/kbd/ sparc64 support for the kbd userspace service.  
/trunk/uspace/kbd/arch/sparc64/include/scanc.h
/trunk/uspace/kbd/arch/sparc64/src/scanc.c
/trunk/uspace/kbd/genarch
/trunk/uspace/kbd/genarch/include
/trunk/uspace/kbd/genarch/include/kbd.h
/trunk/uspace/kbd/genarch/include/scanc.h
/trunk/uspace/kbd/genarch/src
/trunk/uspace/kbd/genarch/src/kbd.c
/trunk/uspace/kbd/Makefile
/trunk/uspace/kbd/arch/sparc64/include/kbd.h
/trunk/uspace/kbd/arch/sparc64/src/kbd.c
1872 6634 d 4 h jermar /trunk/uspace/libc/generic/io/ read() and write() now check if the virtual function they want to
call exists. Thus, these calls will not kill the whole task
if called for instance from a driver task but gracefully fail.
 
/trunk/uspace/libc/generic/io/stream.c
1871 6634 d 17 h jermar /trunk/ Replace FB_BIG_ENDIAN with FB_INVERT_ENDIAN.
Omit tests for architecture endianness in deciding framebuffer endianness.
 
/trunk/kernel/arch/mips32/Makefile.inc
/trunk/kernel/genarch/src/fb/fb.c
/trunk/uspace/fb/Makefile
/trunk/uspace/fb/fb.c
1870 6635 d 5 h jermar /trunk/kernel/ Handle more sparc64 traps and improve handling of already handled traps.  
/trunk/kernel/arch/sparc64/include/trap/exception.h
/trunk/kernel/arch/sparc64/include/trap/mmu.h
/trunk/kernel/arch/sparc64/src/mm/tlb.c
/trunk/kernel/arch/sparc64/src/trap/exception.c
/trunk/kernel/arch/sparc64/src/trap/interrupt.c
/trunk/kernel/arch/sparc64/src/trap/mmu.S
/trunk/kernel/arch/sparc64/src/trap/trap_table.S
/trunk/kernel/generic/include/interrupt.h
1869 6635 d 9 h jermar /trunk/ Pass "fb.bpp-align" property to userspace so that our fb task works properly even on
framebuffers used in some Sun hardware.
 
/trunk/kernel/genarch/src/fb/fb.c
/trunk/uspace/fb/fb.c
1868 6635 d 11 h jermar /trunk/ sparc64 work.
- the syscall wrapper needs to use the "memory"
clobber specifier to prevent over-optimization.
- on sparc64, the user address space spans the whole
64-bit space and therefore the macro
USER_ADDRESS_SPACE_SIZE_ARCH, as it was defined,
overflows to 0
- stop using USER_ADDRESS_SPACE_SIZE_ARCH and define
MAX_HEAP_SIZE instead
- in our situation when kernel and user address spaces
are separate, the G (global) bit cannot be used
(there is no point in it anymore)
- add the DEBUG() macro to stdio.h; DEBUG() uses
SYS_IO and is a good debugging tool for getting
early userspace to work
 
/trunk/kernel/arch/sparc64/src/mm/tlb.c
/trunk/kernel/arch/sparc64/src/start.S
/trunk/kernel/generic/include/mm/as.h
/trunk/uspace/libc/arch/sparc64/include/syscall.h
/trunk/uspace/libc/generic/as.c
/trunk/uspace/libc/generic/psthread.c
/trunk/uspace/libc/include/as.h
/trunk/uspace/libc/include/stdio.h
1867 6636 d 6 h jermar /trunk/uspace/ Prototype for mmap() should be in mman.h.
Anyway, is there any common sense behind naming of mman.h and mman.c?
 
/trunk/uspace/libc/generic/mman.c
/trunk/uspace/libc/include/sys/mman.h
/trunk/uspace/libc/generic/mmap.c
/trunk/uspace/libc/include/sys/mmap.h
/trunk/uspace/console/console.c
/trunk/uspace/console/gcons.c
/trunk/uspace/libc/Makefile
/trunk/uspace/libc/malloc/malloc.c
1866 6636 d 6 h jermar /trunk/uspace/ Indentation and formatting facelift for libc.
Libc headers now have C99 compliant guards.
 
/trunk/uspace/libc/include/sys/mmap.h
/trunk/uspace/libc/include/sys/mman.h
/trunk/uspace/console/console.c
/trunk/uspace/console/gcons.c
/trunk/uspace/libc/arch/amd64/include/atomic.h
/trunk/uspace/libc/arch/amd64/include/endian.h
/trunk/uspace/libc/arch/amd64/include/limits.h
/trunk/uspace/libc/arch/amd64/include/psthread.h
/trunk/uspace/libc/arch/amd64/include/stackarg.h
/trunk/uspace/libc/arch/amd64/include/thread.h
/trunk/uspace/libc/arch/amd64/include/types.h
/trunk/uspace/libc/arch/amd64/src/thread.c
/trunk/uspace/libc/arch/ia32/include/atomic.h
/trunk/uspace/libc/arch/ia32/include/ddi.h
/trunk/uspace/libc/arch/ia32/include/endian.h
/trunk/uspace/libc/arch/ia32/include/limits.h
/trunk/uspace/libc/arch/ia32/include/psthread.h
/trunk/uspace/libc/arch/ia32/include/stackarg.h
/trunk/uspace/libc/arch/ia32/include/thread.h
/trunk/uspace/libc/arch/ia32/include/types.h
/trunk/uspace/libc/arch/ia32/src/syscall.c
/trunk/uspace/libc/arch/ia64/include/atomic.h
/trunk/uspace/libc/arch/ia64/include/endian.h
/trunk/uspace/libc/arch/ia64/include/limits.h
/trunk/uspace/libc/arch/ia64/include/psthread.h
/trunk/uspace/libc/arch/ia64/include/stack.h
/trunk/uspace/libc/arch/ia64/include/stackarg.h
/trunk/uspace/libc/arch/ia64/include/thread.h
/trunk/uspace/libc/arch/ia64/src/thread.c
/trunk/uspace/libc/arch/mips32/include/atomic.h
/trunk/uspace/libc/arch/mips32/include/context_offset.h
/trunk/uspace/libc/arch/mips32/include/endian.h
/trunk/uspace/libc/arch/mips32/include/limits.h
/trunk/uspace/libc/arch/mips32/include/psthread.h
/trunk/uspace/libc/arch/mips32/include/stackarg.h
/trunk/uspace/libc/arch/mips32/include/thread.h
/trunk/uspace/libc/arch/mips32/src/thread.c
/trunk/uspace/libc/arch/mips32eb/include/endian.h
/trunk/uspace/libc/arch/ppc32/include/atomic.h
/trunk/uspace/libc/arch/ppc32/include/context_offset.h
/trunk/uspace/libc/arch/ppc32/include/endian.h
/trunk/uspace/libc/arch/ppc32/include/limits.h
/trunk/uspace/libc/arch/ppc32/include/psthread.h
/trunk/uspace/libc/arch/ppc32/include/regname.h
/trunk/uspace/libc/arch/ppc32/include/stackarg.h
/trunk/uspace/libc/arch/ppc32/include/thread.h
/trunk/uspace/libc/arch/ppc32/src/syscall.c
/trunk/uspace/libc/arch/ppc32/src/thread.c
/trunk/uspace/libc/arch/ppc64/include/atomic.h
/trunk/uspace/libc/arch/ppc64/include/context_offset.h
/trunk/uspace/libc/arch/ppc64/include/endian.h
/trunk/uspace/libc/arch/ppc64/include/limits.h
/trunk/uspace/libc/arch/ppc64/include/psthread.h
/trunk/uspace/libc/arch/ppc64/include/regname.h
/trunk/uspace/libc/arch/ppc64/include/stackarg.h
/trunk/uspace/libc/arch/ppc64/include/thread.h
/trunk/uspace/libc/arch/ppc64/src/syscall.c
/trunk/uspace/libc/arch/ppc64/src/thread.c
/trunk/uspace/libc/arch/sparc64/include/context_offset.h
/trunk/uspace/libc/arch/sparc64/include/endian.h
/trunk/uspace/libc/arch/sparc64/include/limits.h
/trunk/uspace/libc/generic/async.c
/trunk/uspace/libc/generic/cap.c
/trunk/uspace/libc/generic/ddi.c
/trunk/uspace/libc/generic/err.c
/trunk/uspace/libc/generic/futex.c
/trunk/uspace/libc/generic/io/io.c
/trunk/uspace/libc/generic/io/printf.c
/trunk/uspace/libc/generic/io/printf_core.c
/trunk/uspace/libc/generic/io/snprintf.c
/trunk/uspace/libc/generic/io/sprintf.c
/trunk/uspace/libc/generic/io/stream.c
/trunk/uspace/libc/generic/io/vprintf.c
/trunk/uspace/libc/generic/io/vsnprintf.c
/trunk/uspace/libc/generic/io/vsprintf.c
/trunk/uspace/libc/generic/ipc.c
/trunk/uspace/libc/generic/libadt/hash_table.c
/trunk/uspace/libc/generic/libadt/list.c
/trunk/uspace/libc/generic/mmap.c
/trunk/uspace/libc/generic/psthread.c
/trunk/uspace/libc/generic/stdlib.c
/trunk/uspace/libc/generic/string.c
/trunk/uspace/libc/generic/sysinfo.c
/trunk/uspace/libc/generic/task.c
/trunk/uspace/libc/generic/thread.c
/trunk/uspace/libc/generic/time.c
/trunk/uspace/libc/include/align.h
/trunk/uspace/libc/include/as.h
/trunk/uspace/libc/include/assert.h
/trunk/uspace/libc/include/async.h
/trunk/uspace/libc/include/atomic.h
/trunk/uspace/libc/include/cap.h
/trunk/uspace/libc/include/ctype.h
/trunk/uspace/libc/include/ddi.h
/trunk/uspace/libc/include/endian.h
/trunk/uspace/libc/include/err.h
/trunk/uspace/libc/include/errno.h
/trunk/uspace/libc/include/futex.h
/trunk/uspace/libc/include/io/io.h
/trunk/uspace/libc/include/io/printf_core.h
/trunk/uspace/libc/include/io/stream.h
/trunk/uspace/libc/include/ipc/ipc.h
/trunk/uspace/libc/include/ipc/ns.h
/trunk/uspace/libc/include/ipc/services.h
/trunk/uspace/libc/include/libadt/fifo.h
/trunk/uspace/libc/include/libadt/hash_table.h
/trunk/uspace/libc/include/libadt/list.h
/trunk/uspace/libc/include/libc.h
/trunk/uspace/libc/include/limits.h
/trunk/uspace/libc/include/psthread.h
/trunk/uspace/libc/include/stdarg.h
/trunk/uspace/libc/include/stddef.h
/trunk/uspace/libc/include/stdint.h
/trunk/uspace/libc/include/stdio.h
/trunk/uspace/libc/include/stdlib.h
/trunk/uspace/libc/include/string.h
/trunk/uspace/libc/include/sys/time.h
/trunk/uspace/libc/include/sys/types.h
/trunk/uspace/libc/include/sysinfo.h
/trunk/uspace/libc/include/task.h
/trunk/uspace/libc/include/thread.h
/trunk/uspace/libc/include/time.h
/trunk/uspace/libc/include/unistd.h
/trunk/uspace/libc/malloc/malloc.c

Show All