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
3961 5614 d 7 h jermar /trunk/ Unbreak sparc64.
Due to the lack of userspace bus drivers for the z8530 and ns16550,
we are currently handling exactly one interrupt from these devices
in userspace.
 
/trunk/kernel/arch/sparc64/include/drivers/z8530.h
/trunk/kernel/arch/sparc64/src/console.c
/trunk/kernel/arch/sparc64/src/drivers/kbd.c
/trunk/kernel/arch/sparc64/src/drivers/sgcn.c
/trunk/kernel/genarch/include/kbd/z8530.h
/trunk/kernel/genarch/src/kbd/z8530.c
/trunk/uspace/srv/kbd/port/z8530.c
3929 5617 d 1 h jermar /trunk/kernel/arch/ Introduce ioport8_t, ioport16_t and ioport32_t. These types are to be used with
pio_read_n() and pio_write_n() functions. This breaks everything.
 
/trunk/kernel/arch/amd64/include/asm.h
/trunk/kernel/arch/amd64/include/types.h
/trunk/kernel/arch/arm32/include/asm.h
/trunk/kernel/arch/arm32/include/types.h
/trunk/kernel/arch/ia32/include/asm.h
/trunk/kernel/arch/ia32/include/types.h
/trunk/kernel/arch/ia64/include/asm.h
/trunk/kernel/arch/ia64/include/types.h
/trunk/kernel/arch/mips32/include/asm.h
/trunk/kernel/arch/mips32/include/types.h
/trunk/kernel/arch/ppc32/include/asm.h
/trunk/kernel/arch/ppc32/include/types.h
/trunk/kernel/arch/sparc64/include/asm.h
/trunk/kernel/arch/sparc64/include/types.h
3922 5619 d 0 h decky /trunk/ make arch_pre_main optional, don't force any specific prototype
simplify boot process
mips32: detect number of configured CPUs in msim
 
/trunk/kernel/arch/arm32/include/boot.h
/trunk/kernel/arch/mips32/include/boot.h
/trunk/boot/arch/arm32/loader/asm.h
/trunk/boot/arch/arm32/loader/boot.S
/trunk/boot/arch/arm32/loader/main.c
/trunk/boot/arch/arm32/loader/main.h
/trunk/boot/arch/mips32/loader/asm.h
/trunk/boot/arch/mips32/loader/boot.S
/trunk/boot/arch/mips32/loader/main.c
/trunk/boot/arch/mips32/loader/main.h
/trunk/kernel/arch/arm32/include/arch.h
/trunk/kernel/arch/arm32/include/asm/boot.h
/trunk/kernel/arch/arm32/src/arm32.c
/trunk/kernel/arch/arm32/src/start.S
/trunk/kernel/arch/ia64/include/arch.h
/trunk/kernel/arch/mips32/include/arch.h
/trunk/kernel/arch/mips32/include/asm/boot.h
/trunk/kernel/arch/mips32/src/mips32.c
/trunk/kernel/arch/mips32/src/smp/smp.c
/trunk/kernel/arch/mips32/src/start.S
/trunk/kernel/arch/ppc32/include/arch.h
/trunk/kernel/arch/ppc32/include/boot/boot.h
/trunk/kernel/arch/ppc32/src/boot/boot.S
/trunk/kernel/arch/ppc32/src/ppc32.c
/trunk/kernel/arch/sparc64/include/arch.h
/trunk/kernel/generic/include/arch.h
3908 5620 d 4 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
3906 5620 d 23 h jermar /trunk/kernel/ IRQ handlers are using one superfluous argument and an unused elipsis.
On the other hand, IRQ claim functions would need to be passed the instance
argument.
 
/trunk/kernel/arch/amd64/src/interrupt.c
/trunk/kernel/arch/arm32/src/drivers/gxemul.c
/trunk/kernel/arch/ia32/src/drivers/i8254.c
/trunk/kernel/arch/ia32/src/interrupt.c
/trunk/kernel/arch/ia32/src/smp/apic.c
/trunk/kernel/arch/ia64/src/drivers/it.c
/trunk/kernel/arch/ia64/src/interrupt.c
/trunk/kernel/arch/ia64/src/ski/ski.c
/trunk/kernel/arch/mips32/src/drivers/msim.c
/trunk/kernel/arch/mips32/src/drivers/serial.c
/trunk/kernel/arch/mips32/src/exception.c
/trunk/kernel/arch/mips32/src/interrupt.c
/trunk/kernel/arch/ppc32/src/drivers/cuda.c
/trunk/kernel/arch/ppc32/src/interrupt.c
/trunk/kernel/arch/sparc64/include/cpu_family.h
/trunk/kernel/arch/sparc64/include/cpu_node.h
/trunk/kernel/arch/sparc64/src/drivers/sgcn.c
/trunk/kernel/arch/sparc64/src/trap/interrupt.c
/trunk/kernel/genarch/include/kbd/ns16550.h
/trunk/kernel/genarch/include/kbd/z8530.h
/trunk/kernel/genarch/src/kbd/i8042.c
/trunk/kernel/genarch/src/kbd/ns16550.c
/trunk/kernel/genarch/src/kbd/z8530.c
/trunk/kernel/generic/include/ddi/irq.h
/trunk/kernel/generic/src/console/console.c
/trunk/kernel/generic/src/console/kconsole.c
/trunk/kernel/generic/src/ddi/irq.c
3902 5621 d 7 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 5624 d 2 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 5624 d 2 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
3779 5663 d 8 h jermar /trunk/kernel/ Only one kernel EGA driver to rule them all.  
/trunk/kernel/genarch/include/drivers
/trunk/kernel/genarch/include/drivers/ega
/trunk/kernel/genarch/include/drivers/ega/ega.h
/trunk/kernel/genarch/src/drivers
/trunk/kernel/genarch/src/drivers/ega
/trunk/kernel/genarch/src/drivers/ega/ega.c
/trunk/kernel/arch/ia32/src/drivers/ega.c
/trunk/kernel/arch/ia64/src/drivers/ega.c
/trunk/kernel/arch/amd64/Makefile.inc
/trunk/kernel/arch/amd64/include/types.h
/trunk/kernel/arch/amd64/src/amd64.c
/trunk/kernel/arch/ia32/Makefile.inc
/trunk/kernel/arch/ia32/include/types.h
/trunk/kernel/arch/ia32/src/ia32.c
/trunk/kernel/arch/ia64/Makefile.inc
/trunk/kernel/arch/ia64/include/asm.h
/trunk/kernel/arch/ia64/include/drivers/ega.h
/trunk/kernel/arch/ia64/include/types.h
/trunk/kernel/arch/ia64/src/asm.S
/trunk/kernel/arch/ia64/src/ia64.c
/trunk/kernel/arch/sparc64/include/types.h
/trunk/kernel/genarch/Makefile.inc
3740 5673 d 6 h jermar /trunk/kernel/arch/sparc64/ Fix typo.  
/trunk/kernel/arch/sparc64/include/drivers/scr.h
/trunk/kernel/arch/sparc64/src/console.c
/trunk/kernel/arch/sparc64/src/drivers/scr.c
3736 5674 d 9 h decky /trunk/kernel/arch/sparc64/ refresh kernel console during grab on sparc64  
/trunk/kernel/arch/sparc64/include/drivers/scr.h
/trunk/kernel/arch/sparc64/src/console.c
/trunk/kernel/arch/sparc64/src/drivers/scr.c
3722 5678 d 12 h rimsky /trunk/kernel/arch/sparc64/include/ SMC functions optimized for US3.  
/trunk/kernel/arch/sparc64/include/barrier.h
3672 5693 d 3 h jermar /trunk/ Merge sparc branch to trunk.  
/trunk/boot/arch/sparc64/silo/silo.patched.tar.gz
/trunk/contrib/util
/trunk/kernel/arch/sparc64/include/cpu_family.h
/trunk/kernel/arch/sparc64/include/cpu_node.h
/trunk/kernel/arch/sparc64/include/drivers/sgcn.h
/trunk/kernel/arch/sparc64/src/drivers/sgcn.c
/trunk/uspace/srv/fb/serial_console.c
/trunk/uspace/srv/fb/serial_console.h
/trunk/uspace/srv/fb/sgcn.c
/trunk/uspace/srv/fb/sgcn.h
/trunk/uspace/srv/kbd/arch/sparc64/include/sgcn.h
/trunk/uspace/srv/kbd/arch/sparc64/src/sgcn.c
/trunk/uspace/srv/kbd/genarch/include/nofb.h
/trunk/uspace/srv/kbd/genarch/src/nofb.c
/trunk/boot/arch/ppc64/Makefile.inc
/trunk/boot/arch/sparc64/Makefile.inc
/trunk/boot/arch/sparc64/loader/asm.S
/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/register.h
/trunk/boot/boot.config
/trunk/boot/genarch/balloc.h
/trunk/boot/genarch/ofw.c
/trunk/boot/genarch/ofw_tree.c
/trunk/kernel/arch/arm32/src/arm32.c
/trunk/kernel/arch/ia32/src/drivers/vesa.c
/trunk/kernel/arch/mips32/src/mips32.c
/trunk/kernel/arch/ppc32/src/ppc32.c
/trunk/kernel/arch/sparc64/Makefile.inc
/trunk/kernel/arch/sparc64/include/arch.h
/trunk/kernel/arch/sparc64/include/asm.h
/trunk/kernel/arch/sparc64/include/cpu.h
/trunk/kernel/arch/sparc64/include/drivers/kbd.h
/trunk/kernel/arch/sparc64/include/drivers/scr.h
/trunk/kernel/arch/sparc64/include/mm/cache.h
/trunk/kernel/arch/sparc64/include/mm/cache_spec.h
/trunk/kernel/arch/sparc64/include/mm/frame.h
/trunk/kernel/arch/sparc64/include/mm/mmu.h
/trunk/kernel/arch/sparc64/include/mm/tlb.h
/trunk/kernel/arch/sparc64/include/mm/tsb.h
/trunk/kernel/arch/sparc64/include/mm/tte.h
/trunk/kernel/arch/sparc64/include/regdef.h
/trunk/kernel/arch/sparc64/include/register.h
/trunk/kernel/arch/sparc64/include/trap/interrupt.h
/trunk/kernel/arch/sparc64/src/console.c
/trunk/kernel/arch/sparc64/src/cpu/cpu.c
/trunk/kernel/arch/sparc64/src/ddi/ddi.c
/trunk/kernel/arch/sparc64/src/drivers/scr.c
/trunk/kernel/arch/sparc64/src/drivers/tick.c
/trunk/kernel/arch/sparc64/src/mm/as.c
/trunk/kernel/arch/sparc64/src/mm/cache.S
/trunk/kernel/arch/sparc64/src/mm/page.c
/trunk/kernel/arch/sparc64/src/mm/tlb.c
/trunk/kernel/arch/sparc64/src/mm/tsb.c
/trunk/kernel/arch/sparc64/src/smp/ipi.c
/trunk/kernel/arch/sparc64/src/smp/smp.c
/trunk/kernel/arch/sparc64/src/sparc64.c
/trunk/kernel/arch/sparc64/src/start.S
/trunk/kernel/arch/sparc64/src/trap/interrupt.c
/trunk/kernel/genarch/include/fb/fb.h
/trunk/kernel/genarch/include/fb/visuals.h
/trunk/kernel/genarch/include/ofw/ofw_tree.h
/trunk/kernel/genarch/src/fb/fb.c
/trunk/kernel/genarch/src/ofw/ofw_tree.c
/trunk/kernel/kernel.config
/trunk/uspace/srv/console/console.c
/trunk/uspace/srv/fb/Makefile
/trunk/uspace/srv/fb/main.c
/trunk/uspace/srv/fb/msim.c
/trunk/uspace/srv/kbd/Makefile
/trunk/uspace/srv/kbd/arch/mips32/src/kbd.c
/trunk/uspace/srv/kbd/arch/sparc64/src/kbd.c
3655 5699 d 2 h jermar /trunk/kernel/ Add additional members to the irq_t structure so that an interrupt-driven driver
does not need to know how to clear the level interrupt. The z8530 was modified
in this way and is much more generic. The ns16550 driver has also been modified,
but awaits testing. The sparc64 interrupt mapping and dispatch code is now using
the new info and calls the clear-interrupt-routine itself.
 
/trunk/kernel/arch/sparc64/include/drivers/fhc.h
/trunk/kernel/arch/sparc64/include/drivers/pci.h
/trunk/kernel/arch/sparc64/src/drivers/fhc.c
/trunk/kernel/arch/sparc64/src/drivers/kbd.c
/trunk/kernel/arch/sparc64/src/drivers/pci.c
/trunk/kernel/arch/sparc64/src/trap/interrupt.c
/trunk/kernel/genarch/include/kbd/ns16550.h
/trunk/kernel/genarch/include/kbd/z8530.h
/trunk/kernel/genarch/include/ofw/ofw_tree.h
/trunk/kernel/genarch/src/kbd/ns16550.c
/trunk/kernel/genarch/src/kbd/z8530.c
/trunk/kernel/genarch/src/ofw/ebus.c
/trunk/kernel/genarch/src/ofw/fhc.c
/trunk/kernel/genarch/src/ofw/pci.c
/trunk/kernel/generic/include/ddi/irq.h
/trunk/kernel/generic/src/ddi/irq.c
3654 5699 d 4 h jermar /trunk/kernel/arch/sparc64/ After my effort yesterday, there are two rival psycho drivers.
Merge the two and remove the newer one.
 
/trunk/kernel/arch/sparc64/include/drivers/psycho.h
/trunk/kernel/arch/sparc64/src/drivers/psycho.c
/trunk/kernel/arch/sparc64/Makefile.inc
/trunk/kernel/arch/sparc64/src/drivers/pci.c
3647 5700 d 1 h jermar /trunk/kernel/arch/sparc64/ Improvized Psycho driver.  
/trunk/kernel/arch/sparc64/include/drivers/psycho.h
/trunk/kernel/arch/sparc64/src/drivers/psycho.c
/trunk/kernel/arch/sparc64/Makefile.inc
3580 5717 d 0 h jermar /trunk/kernel/arch/sparc64/include/ Accesses to memory mapped registers should use volatile pointers so that
the compiler doesn't even think of trying to be clever. Add memory barriers
and fixed cstyle.
 
/trunk/kernel/arch/sparc64/include/asm.h
/trunk/kernel/arch/sparc64/include/types.h
3577 5717 d 15 h vana /trunk/kernel/ Support for serial port console on IA64 as a compensation for keyboard - based on SPARC ns16550 driver  
/trunk/kernel/arch/ia64/include/asm.h
/trunk/kernel/arch/sparc64/include/asm.h
/trunk/kernel/arch/sparc64/include/drivers/ns16550.h
/trunk/kernel/arch/sparc64/src/drivers/kbd.c
/trunk/kernel/genarch/include/kbd/ns16550.h
/trunk/kernel/genarch/src/kbd/key.c
/trunk/kernel/genarch/src/kbd/ns16550.c
/trunk/kernel/kernel.config
3482 5757 d 2 h jermar /trunk/kernel/arch/sparc64/ Do not allocate full page for the uspace window buffer.
Instead, allocate only the bare minimum to fit NWINDOWS - 1
uspace windows and to satisfy alignment requirements.
 
/trunk/kernel/arch/sparc64/include/trap/regwin.h
/trunk/kernel/arch/sparc64/src/proc/thread.c
/trunk/kernel/arch/sparc64/src/trap/trap_table.S
3463 5769 d 7 h jermar /trunk/kernel/arch/sparc64/ Populate all sparc64 trap table slots belonging to trap_instruction_n.  
/trunk/kernel/arch/sparc64/include/trap/syscall.h
/trunk/kernel/arch/sparc64/src/trap/trap_table.S

Show All