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
1886 6494 d 11 h jermar /trunk/uspace/fb/ Mapping framebuffer as cacheable was identified to cause the sparc64 port not work on Sun Ultra 5.  
/trunk/uspace/fb/fb.c
1885 6494 d 15 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 6495 d 9 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 6495 d 10 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 6495 d 11 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 6496 d 11 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 6498 d 3 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 6499 d 11 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 6499 d 13 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 6499 d 14 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 6499 d 14 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 6501 d 4 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 6501 d 4 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 6501 d 4 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 6502 d 2 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 6502 d 15 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 6503 d 3 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 6503 d 7 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 6503 d 9 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 6504 d 3 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

Show All