Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
4311 |
5601 d 12 h |
decky |
/trunk/ |
change the way how input devices are wired together according to ticket #44
(also the proposal http://lists.modry.cz/cgi-bin/private/helenos-devel/2009-March/002507.html) |
|
/trunk/kernel/arch/ia64/include/drivers/ski.h /trunk/kernel/arch/ia64/src/drivers/ski.c /trunk/kernel/genarch/include/drivers/via-cuda /trunk/kernel/genarch/include/drivers/via-cuda/cuda.h /trunk/kernel/genarch/src/drivers/via-cuda /trunk/kernel/genarch/src/drivers/via-cuda/cuda.c
/trunk/kernel/arch/arm32/include/console.h /trunk/kernel/arch/arm32/src/console.c /trunk/kernel/arch/ia64/include/ski /trunk/kernel/arch/ia64/src/ski /trunk/kernel/arch/mips32/include/console.h /trunk/kernel/arch/mips32/src/console.c /trunk/kernel/arch/ppc32/include/drivers/cuda.h /trunk/kernel/arch/ppc32/src/drivers/cuda.c
/trunk/kernel/arch/amd64/src/amd64.c /trunk/kernel/arch/arm32/Makefile.inc /trunk/kernel/arch/arm32/src/arm32.c /trunk/kernel/arch/ia32/src/ia32.c /trunk/kernel/arch/ia64/Makefile.inc /trunk/kernel/arch/ia64/include/arch.h /trunk/kernel/arch/ia64/src/ia64.c /trunk/kernel/arch/ia64/src/smp/smp.c /trunk/kernel/arch/mips32/Makefile.inc /trunk/kernel/arch/mips32/src/mips32.c /trunk/kernel/arch/ppc32/Makefile.inc /trunk/kernel/arch/ppc32/include/drivers/pic.h /trunk/kernel/arch/ppc32/src/drivers/pic.c /trunk/kernel/arch/ppc32/src/dummy.s /trunk/kernel/arch/ppc32/src/interrupt.c /trunk/kernel/arch/ppc32/src/ppc32.c /trunk/kernel/arch/sparc64/include/drivers/kbd.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/Makefile.inc /trunk/kernel/genarch/include/drivers/dsrln/dsrlnin.h /trunk/kernel/genarch/include/drivers/i8042/i8042.h /trunk/kernel/genarch/include/drivers/ns16550/ns16550.h /trunk/kernel/genarch/include/drivers/z8530/z8530.h /trunk/kernel/genarch/include/kbrd/kbrd.h /trunk/kernel/genarch/include/srln/srln.h /trunk/kernel/genarch/src/drivers/dsrln/dsrlnin.c /trunk/kernel/genarch/src/drivers/i8042/i8042.c /trunk/kernel/genarch/src/drivers/ns16550/ns16550.c /trunk/kernel/genarch/src/drivers/z8530/z8530.c /trunk/kernel/genarch/src/kbrd/kbrd.c /trunk/kernel/genarch/src/srln/srln.c /trunk/uspace/srv/kbd/port/sun.c
|
4251 |
5616 d 8 h |
decky |
/trunk/kernel/ |
ia32, amd64: do not reboot via a triple fault (which is nasty), but use the i8042 controller to trigger CPU reset |
|
/trunk/kernel/arch/amd64/src/amd64.c /trunk/kernel/arch/amd64/src/pm.c /trunk/kernel/arch/ia32/src/ia32.c /trunk/kernel/arch/ia32/src/pm.c /trunk/kernel/genarch/include/drivers/i8042/i8042.h /trunk/kernel/genarch/src/drivers/i8042/i8042.c
|
4223 |
5619 d 9 h |
decky |
/trunk/kernel/ |
represent special keystrokes (cursor arrows, page up/down, delete, etc.) as appropriate Unicode characters
do not parse ANSI control sequences in kconsole, but in serial line driver |
|
/trunk/kernel/arch/arm32/src/arm32.c /trunk/kernel/arch/ia64/src/ski/ski.c /trunk/kernel/arch/ppc32/src/drivers/cuda.c /trunk/kernel/arch/sparc64/src/drivers/sgcn.c /trunk/kernel/arch/sparc64/src/mm/page.c /trunk/kernel/genarch/include/kbrd/scanc.h /trunk/kernel/genarch/include/kbrd/scanc_pc.h /trunk/kernel/genarch/include/kbrd/scanc_sun.h /trunk/kernel/genarch/src/drivers/dsrln/dsrlnout.c /trunk/kernel/genarch/src/drivers/ega/ega.c /trunk/kernel/genarch/src/drivers/i8042/i8042.c /trunk/kernel/genarch/src/fb/fb.c /trunk/kernel/genarch/src/kbrd/kbrd.c /trunk/kernel/genarch/src/kbrd/scanc_pc.c /trunk/kernel/genarch/src/kbrd/scanc_sun.c /trunk/kernel/genarch/src/srln/srln.c /trunk/kernel/generic/include/string.h /trunk/kernel/generic/include/sysinfo/sysinfo.h /trunk/kernel/generic/src/console/kconsole.c /trunk/kernel/generic/src/lib/string.c /trunk/kernel/generic/src/printf/printf_core.c
|
4148 |
5635 d 14 h |
decky |
/trunk/ |
as kernel little brother drivers are not needed anymore, the device numbers do not have to be correlated between kernel and uspace in any way
introduce new syscall sys_device_assign_devno() for generating system-wide unique device numbers for uspace |
|
/trunk/kernel/arch/amd64/src/amd64.c /trunk/kernel/arch/arm32/src/arm32.c /trunk/kernel/arch/ia32/src/drivers/i8254.c /trunk/kernel/arch/ia32/src/ia32.c /trunk/kernel/arch/ia32/src/smp/apic.c /trunk/kernel/arch/ia64/src/drivers/it.c /trunk/kernel/arch/ia64/src/ia64.c /trunk/kernel/arch/mips32/src/mips32.c /trunk/kernel/arch/ppc32/include/drivers/cuda.h /trunk/kernel/arch/ppc32/src/drivers/cuda.c /trunk/kernel/arch/ppc32/src/ppc32.c /trunk/kernel/arch/sparc64/src/drivers/kbd.c /trunk/kernel/genarch/include/drivers/dsrln/dsrlnin.h /trunk/kernel/genarch/include/drivers/i8042/i8042.h /trunk/kernel/genarch/include/drivers/ns16550/ns16550.h /trunk/kernel/genarch/include/drivers/z8530/z8530.h /trunk/kernel/genarch/src/drivers/dsrln/dsrlnin.c /trunk/kernel/genarch/src/drivers/i8042/i8042.c /trunk/kernel/genarch/src/drivers/ns16550/ns16550.c /trunk/kernel/genarch/src/drivers/z8530/z8530.c /trunk/kernel/generic/include/ddi/device.h /trunk/kernel/generic/include/syscall/syscall.h /trunk/kernel/generic/src/console/kconsole.c /trunk/kernel/generic/src/ddi/device.c /trunk/kernel/generic/src/syscall/syscall.c /trunk/uspace/app/klog/klog.c /trunk/uspace/lib/libc/generic/ddi.c /trunk/uspace/lib/libc/include/ddi.h /trunk/uspace/srv/console/console.c /trunk/uspace/srv/kbd/port/gxemul.c /trunk/uspace/srv/kbd/port/i8042.c /trunk/uspace/srv/kbd/port/msim.c /trunk/uspace/srv/kbd/port/ns16550.c /trunk/uspace/srv/kbd/port/z8530.c
|
4119 |
5640 d 16 h |
decky |
/trunk/ |
get back support for framebuffer and keyboard for sparc64 (generic) |
|
/trunk/HelenOS.config /trunk/kernel/arch/sparc64/Makefile.inc /trunk/kernel/arch/sparc64/src/console.c /trunk/kernel/arch/sparc64/src/drivers/kbd.c /trunk/kernel/genarch/include/drivers/z8530/z8530.h /trunk/kernel/genarch/src/drivers/dsrln/dsrlnin.c /trunk/kernel/genarch/src/drivers/i8042/i8042.c /trunk/kernel/genarch/src/drivers/ns16550/ns16550.c /trunk/kernel/genarch/src/drivers/z8530/z8530.c
|
4094 |
5641 d 7 h |
decky |
/trunk/kernel/genarch/ |
update for the new scheme of wiring device drivers to keyboard/serial modules |
|
/trunk/kernel/genarch/include/drivers/i8042/i8042.h /trunk/kernel/genarch/include/drivers/ns16550/ns16550.h /trunk/kernel/genarch/include/drivers/z8530/z8530.h /trunk/kernel/genarch/src/drivers/i8042/i8042.c /trunk/kernel/genarch/src/drivers/ns16550/ns16550.c /trunk/kernel/genarch/src/drivers/z8530/z8530.c
|
4042 |
5646 d 9 h |
jermar |
/trunk/ |
Complete emancipation of kernel serial controller drivers (i8042, ns16550 and
z8530). Provide a common keyboard module for PC and Sun keyboards. The serial
line module is still to follow. |
|
/trunk/kernel/genarch/include/drivers/i8042 /trunk/kernel/genarch/include/drivers/i8042/i8042.h /trunk/kernel/genarch/include/drivers/ns16550 /trunk/kernel/genarch/include/drivers/ns16550/ns16550.h /trunk/kernel/genarch/include/drivers/z8530 /trunk/kernel/genarch/include/drivers/z8530/z8530.h /trunk/kernel/genarch/include/kbrd /trunk/kernel/genarch/include/kbrd/kbrd.h /trunk/kernel/genarch/src/drivers/i8042 /trunk/kernel/genarch/src/drivers/i8042/i8042.c /trunk/kernel/genarch/src/drivers/ns16550 /trunk/kernel/genarch/src/drivers/ns16550/ns16550.c /trunk/kernel/genarch/src/drivers/z8530 /trunk/kernel/genarch/src/drivers/z8530/z8530.c /trunk/kernel/genarch/src/kbrd /trunk/kernel/genarch/src/kbrd/kbrd.c
/trunk/kernel/genarch/include/kbd /trunk/kernel/genarch/include/kbrd/i8042.h /trunk/kernel/genarch/include/kbrd/key.h /trunk/kernel/genarch/include/kbrd/ns16550.h /trunk/kernel/genarch/include/kbrd/z8530.h /trunk/kernel/genarch/src/kbd /trunk/kernel/genarch/src/kbrd/i8042.c /trunk/kernel/genarch/src/kbrd/key.c /trunk/kernel/genarch/src/kbrd/ns16550.c /trunk/kernel/genarch/src/kbrd/z8530.c
/trunk/HelenOS.config /trunk/kernel/arch/amd64/src/amd64.c /trunk/kernel/arch/ia32/src/ia32.c /trunk/kernel/arch/ia64/src/ia64.c /trunk/kernel/arch/ia64/src/smp/smp.c /trunk/kernel/arch/sparc64/src/console.c /trunk/kernel/arch/sparc64/src/drivers/kbd.c /trunk/kernel/arch/sparc64/src/sparc64.c /trunk/kernel/genarch/Makefile.inc /trunk/kernel/genarch/src/kbrd/scanc_pc.c /trunk/kernel/genarch/src/kbrd/scanc_sun.c /trunk/kernel/generic/include/console/console.h /trunk/kernel/generic/src/console/console.c /trunk/kernel/generic/src/main/main.c
|
3982 |
5653 d 6 h |
jermar |
/trunk/kernel/ |
Do not set sysinfo for uspace drivers directly in the kernel drivers. |
|
/trunk/kernel/arch/amd64/src/amd64.c /trunk/kernel/arch/ia32/src/ia32.c /trunk/kernel/arch/ia64/src/ia64.c /trunk/kernel/arch/sparc64/src/drivers/kbd.c /trunk/kernel/genarch/src/kbd/i8042.c /trunk/kernel/genarch/src/kbd/ns16550.c /trunk/kernel/genarch/src/kbd/z8530.c
|
3981 |
5653 d 7 h |
jermar |
/trunk/kernel/genarch/src/kbd/ |
Get rid of unused variable. |
|
/trunk/kernel/genarch/src/kbd/i8042.c
|
3963 |
5659 d 9 h |
jermar |
/trunk/kernel/ |
The kernel i8042 driver should be instance-neutral. |
|
/trunk/kernel/arch/amd64/src/amd64.c /trunk/kernel/arch/ia32/src/ia32.c /trunk/kernel/arch/ia64/src/ia64.c /trunk/kernel/genarch/include/kbd/i8042.h /trunk/kernel/genarch/src/kbd/i8042.c
|
3958 |
5660 d 3 h |
jermar |
/trunk/kernel/genarch/src/kbd/ |
Do not include the IPC stuff in the i8042 kernel driver. |
|
/trunk/kernel/genarch/src/kbd/i8042.c
|
3947 |
5660 d 7 h |
jermar |
/trunk/ |
This is the evil commit. In particular, it does:
- introduces more powerful pseudo code for userspace IRQ top-half handlers
- changes the internals of IRQ dispatching
- simplifies the kernel's i8042 driver
- adapts the uspace i8042 driver to make use of the new pseudocode
- breaks all other architectures except ia32
- breaks almost all existing drivers
- breaks switching between uspace and kernel drivers |
|
/trunk/kernel/arch/ia32/src/ia32.c /trunk/kernel/genarch/src/kbd/i8042.c /trunk/kernel/generic/include/ddi/irq.h /trunk/kernel/generic/include/ipc/irq.h /trunk/kernel/generic/src/ddi/irq.c /trunk/kernel/generic/src/ipc/irq.c /trunk/uspace/srv/kbd/port/i8042.c
|
3941 |
5661 d 4 h |
jermar |
/trunk/kernel/ |
Let IRQ claim methods take irq_t * instead of the instance argument. |
|
/trunk/kernel/arch/arm32/src/drivers/gxemul.c /trunk/kernel/arch/ia32/src/drivers/i8254.c /trunk/kernel/arch/ia32/src/smp/apic.c /trunk/kernel/arch/ia64/src/drivers/it.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/interrupt.c /trunk/kernel/arch/ppc32/src/drivers/cuda.c /trunk/kernel/arch/sparc64/src/drivers/sgcn.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
|
3934 |
5662 d 1 h |
jermar |
/trunk/kernel/ |
Improve the ns16550 driver.
- The driver support multiple instances.
- It still remembers the last registered IRQ in a global structure (cannot be
easily fixed now)
- Was converted to use PIO directly |
|
/trunk/kernel/arch/ia64/src/ia64.c /trunk/kernel/arch/ia64/src/smp/smp.c /trunk/kernel/genarch/include/drivers/legacy/ia32/io.h /trunk/kernel/genarch/include/kbd/i8042.h /trunk/kernel/genarch/include/kbd/ns16550.h /trunk/kernel/genarch/src/kbd/i8042.c /trunk/kernel/genarch/src/kbd/ns16550.c
|
3932 |
5662 d 2 h |
jermar |
/trunk/kernel/ |
Kill arch/drivers/ega.h. Provide one-stop shopping
place for architectures with ia32 legacy I/O space. |
|
/trunk/kernel/genarch/include/drivers/legacy /trunk/kernel/genarch/include/drivers/legacy/ia32 /trunk/kernel/genarch/include/drivers/legacy/ia32/io.h
/trunk/kernel/arch/ia32/include/drivers/ega.h /trunk/kernel/arch/ia64/include/drivers/ega.h
/trunk/kernel/arch/amd64/src/amd64.c /trunk/kernel/arch/ia32/src/ia32.c /trunk/kernel/arch/ia64/src/ia64.c /trunk/kernel/genarch/src/kbd/i8042.c
|
3931 |
5662 d 3 h |
jermar |
/trunk/kernel/genarch/ |
Improve the i8042 kernel driver (phase I).
- Convert the code to be instance-aware
- Still using hardcoded initialization from legacy IO address
- Use elegant i8042 register map for PIO |
|
/trunk/kernel/genarch/include/kbd/i8042.h /trunk/kernel/genarch/src/kbd/i8042.c
|
3928 |
5662 d 5 h |
jermar |
/trunk/kernel/ |
Kill arch/drivers/i8042.h. |
|
/trunk/kernel/arch/ia32/include/drivers/i8042.h /trunk/kernel/arch/ia64/include/drivers/i8042.h
/trunk/kernel/genarch/src/kbd/i8042.c
|
3927 |
5662 d 5 h |
jermar |
/trunk/kernel/genarch/ |
Nuke i8042_poll(). |
|
/trunk/kernel/genarch/include/kbd/i8042.h /trunk/kernel/genarch/src/kbd/i8042.c
|
3906 |
5666 d 1 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
|
3877 |
5669 d 5 h |
decky |
/trunk/kernel/genarch/ |
remove (almost all) platform dependent code from drivers |
|
/trunk/kernel/genarch/Makefile.inc /trunk/kernel/genarch/src/kbd/i8042.c /trunk/kernel/genarch/src/kbd/key.c /trunk/kernel/genarch/src/kbd/ns16550.c
|