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
3954 5627 d 3 h jermar /trunk/uspace/srv/kbd/port/ Adapt the userspace ns16550 driver to the new pseudocode.  
/trunk/uspace/srv/kbd/port/ns16550.c
3953 5627 d 4 h jermar /trunk/kernel/arch/mips32/include/ Add missing PIO functions for mips32.  
/trunk/kernel/arch/mips32/include/asm.h
3952 5627 d 4 h jermar /trunk/kernel/arch/arm32/ Remove unnecessary stuff from arm32.  
/trunk/kernel/arch/arm32/include/machine.h
/trunk/kernel/arch/arm32/src/console.c
/trunk/kernel/arch/arm32/src/drivers/gxemul.c
3951 5627 d 5 h jermar /trunk/ Unreak arm32 (as far as breakage introduced by 3947 goes) and
adapt the uspace GXemul kbd IRQ driver to use the new pseudo code.
 
/trunk/kernel/arch/arm32/src/drivers/gxemul.c
/trunk/uspace/srv/kbd/port/gxemul.c
3950 5627 d 5 h jermar /trunk/kernel/generic/src/ddi/ Fix UP builds.  
/trunk/kernel/generic/src/ddi/irq.c
3949 5627 d 5 h jermar /trunk/kernel/arch/arm32/include/ PIO functions for arm32.  
/trunk/kernel/arch/arm32/include/asm.h
3948 5627 d 6 h jermar /trunk/kernel/arch/amd64/ Unbreak amd64.  
/trunk/kernel/arch/amd64/include/asm.h
/trunk/kernel/arch/amd64/src/amd64.c
3947 5627 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
3946 5627 d 7 h jermar /trunk/kernel/arch/ia32/include/ Fix ia32's pio_{read,write}_32().  
/trunk/kernel/arch/ia32/include/asm.h
3945 5627 d 12 h svoboda /trunk/uspace/app/bdsh/cmds/modules/ls/ Fix file size display when doing 'ls' of another directory.  
/trunk/uspace/app/bdsh/cmds/modules/ls/ls.c
/trunk/uspace/app/bdsh/cmds/modules/ls/ls.h
3944 5627 d 13 h svoboda /trunk/uspace/srv/kbd/ Support Shift modifier in stty and gxe_fb drivers.  
/trunk/uspace/srv/kbd/ctl/gxe_fb.c
/trunk/uspace/srv/kbd/ctl/stty.c
/trunk/uspace/srv/kbd/generic/kbd.c
3943 5628 d 1 h svoboda /trunk/uspace/srv/kbd/ Tackle scroll lock and cope with lock-key hardware auto-repeat.  
/trunk/uspace/srv/kbd/ctl/pc.c
/trunk/uspace/srv/kbd/generic/kbd.c
3942 5628 d 3 h svoboda /trunk/uspace/srv/kbd/ e0-prefixed pc scancodes. Num Lock and numeric keyboard.  
/trunk/uspace/srv/kbd/ctl/pc.c
/trunk/uspace/srv/kbd/generic/kbd.c
/trunk/uspace/srv/kbd/layout/us_qwerty.c
3941 5628 d 3 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
3940 5628 d 7 h decky /trunk/kernel/ make hw_area API more generic
this allows mapping of EGA VRAM on ia32/amd64
 
/trunk/kernel/arch/amd64/include/mm/tlb.h
/trunk/kernel/arch/amd64/src/mm/page.c
/trunk/kernel/arch/arm32/include/mm/tlb.h
/trunk/kernel/arch/arm32/src/mm/page.c
/trunk/kernel/arch/arm32/src/mm/tlb.c
/trunk/kernel/arch/ia32/include/mm/tlb.h
/trunk/kernel/arch/ia32/src/mm/page.c
/trunk/kernel/arch/ia32/src/mm/tlb.c
/trunk/kernel/arch/ia64/include/mm/tlb.h
/trunk/kernel/arch/ia64/src/mm/page.c
/trunk/kernel/arch/ia64/src/mm/tlb.c
/trunk/kernel/arch/mips32/src/mm/page.c
/trunk/kernel/arch/ppc32/src/mm/page.c
/trunk/kernel/arch/sparc64/src/mm/page.c
/trunk/kernel/genarch/include/drivers/ega/ega.h
/trunk/kernel/genarch/include/drivers/legacy/ia32/io.h
/trunk/kernel/genarch/src/drivers/ega/ega.c
/trunk/kernel/generic/include/mm/page.h
/trunk/kernel/generic/src/ddi/ddi.c
3939 5628 d 7 h decky /trunk/uspace/srv/kbd/ctl/ remove forgotten argument  
/trunk/uspace/srv/kbd/ctl/gxe_fb.c
3938 5628 d 7 h jermar /trunk/kernel/genarch/ Embed the ns16550 irq structure into the ns16550 instance structure.  
/trunk/kernel/genarch/include/kbd/ns16550.h
/trunk/kernel/genarch/src/kbd/ns16550.c
3937 5628 d 8 h decky /trunk/tools/ use three-state logic for deduced defaults  
/trunk/tools/config.py
3936 5628 d 8 h decky /trunk/ dash is not a safe character for C preprocessor, use underscore instead  
/trunk/HelenOS.config
/trunk/kernel/arch/ia32/Makefile.inc
3935 5629 d 0 h jermar /trunk/kernel/arch/sparc64/src/drivers/ Fix sparc64 build.  
/trunk/kernel/arch/sparc64/src/drivers/kbd.c
3934 5629 d 0 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
3933 5629 d 1 h svoboda /trunk/uspace/ Basic support for key modifiers.  
/trunk/uspace/lib/libc/include/kbd/keycode.h
/trunk/uspace/srv/kbd/ctl/gxe_fb.c
/trunk/uspace/srv/kbd/ctl/pc.c
/trunk/uspace/srv/kbd/ctl/stty.c
/trunk/uspace/srv/kbd/ctl/sun.c
/trunk/uspace/srv/kbd/generic/kbd.c
/trunk/uspace/srv/kbd/include/kbd.h
/trunk/uspace/srv/kbd/layout/us_dvorak.c
/trunk/uspace/srv/kbd/layout/us_qwerty.c
3932 5629 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 5629 d 2 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
3930 5629 d 2 h jermar /trunk/kernel/ Adapt most of the kernel to ioport8_t, ioport16_t and ioport32_t types.  
/trunk/kernel/arch/ia32/include/drivers/ega.h
/trunk/kernel/arch/ia32/include/drivers/i8259.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/drivers/ega.h
/trunk/kernel/genarch/include/drivers/ega/ega.h
/trunk/kernel/genarch/src/drivers/ega/ega.c
/trunk/kernel/generic/src/ipc/irq.c
3929 5629 d 2 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
3928 5629 d 4 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 5629 d 4 h jermar /trunk/kernel/genarch/ Nuke i8042_poll().  
/trunk/kernel/genarch/include/kbd/i8042.h
/trunk/kernel/genarch/src/kbd/i8042.c
3926 5630 d 1 h svoboda /trunk/uspace/srv/kbd/ Compile i8042+pc for ia64.  
/trunk/uspace/srv/kbd/Makefile
3925 5630 d 2 h svoboda /trunk/uspace/srv/kbd/ Fix typos. Remove old makefile parts.  
/trunk/uspace/srv/kbd/Makefile
/trunk/uspace/srv/kbd/port/sgcn.c
/trunk/uspace/srv/kbd/port/z8530.c
3924 5630 d 2 h svoboda /trunk/uspace/srv/ Add some missing ports and controllers (untested). Remove old parts of keyboard driver.  
/trunk/uspace/srv/kbd/ctl/sun.c
/trunk/uspace/srv/kbd/port/ns16550.c
/trunk/uspace/srv/kbd/port/sgcn.c
/trunk/uspace/srv/kbd/port/z8530.c
/trunk/uspace/srv/kbd/arch
/trunk/uspace/srv/kbd/genarch
/trunk/uspace/srv/kbd/include/keys.h
/trunk/uspace/srv/console/console.c
/trunk/uspace/srv/kbd/Makefile
/trunk/uspace/srv/kbd/ctl/gxe_fb.c
/trunk/uspace/srv/kbd/ctl/pc.c
/trunk/uspace/srv/kbd/ctl/stty.c
/trunk/uspace/srv/kbd/port/dummy.c
/trunk/uspace/srv/kbd/port/gxemul.c
/trunk/uspace/srv/kbd/port/i8042.c
/trunk/uspace/srv/kbd/port/i8042.h
/trunk/uspace/srv/kbd/port/msim.c
3923 5631 d 1 h svoboda /trunk/ Keyboard driver overhaul -- organize by hardware structure. This is w.i.p. Modifier keys, as well as ppc32, ia64 and sparc64 will not work yet.  
/trunk/uspace/srv/kbd/ctl
/trunk/uspace/srv/kbd/ctl/gxe_fb.c
/trunk/uspace/srv/kbd/ctl/pc.c
/trunk/uspace/srv/kbd/ctl/stty.c
/trunk/uspace/srv/kbd/include/kbd_ctl.h
/trunk/uspace/srv/kbd/include/kbd_port.h
/trunk/uspace/srv/kbd/include/layout.h
/trunk/uspace/srv/kbd/layout
/trunk/uspace/srv/kbd/layout/us_dvorak.c
/trunk/uspace/srv/kbd/layout/us_qwerty.c
/trunk/uspace/srv/kbd/port
/trunk/uspace/srv/kbd/port/dummy.c
/trunk/uspace/srv/kbd/port/gxemul.c
/trunk/uspace/srv/kbd/port/i8042.c
/trunk/uspace/srv/kbd/port/i8042.h
/trunk/uspace/srv/kbd/port/msim.c
/trunk/HelenOS.config
/trunk/uspace/lib/libc/generic/io/stream.c
/trunk/uspace/lib/libc/generic/kbd.c
/trunk/uspace/lib/libc/include/kbd/keycode.h
/trunk/uspace/srv/console/console.c
/trunk/uspace/srv/kbd/Makefile
/trunk/uspace/srv/kbd/generic/kbd.c
/trunk/uspace/srv/kbd/include/kbd.h
3922 5631 d 1 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
3921 5631 d 1 h decky /trunk/boot/generic/ add min and max macros  
/trunk/boot/generic/align.h
/trunk/boot/generic/macros.h
3920 5631 d 1 h decky /trunk/kernel/generic/include/ add min3 and max3 macros  
/trunk/kernel/generic/include/macros.h
3919 5631 d 1 h decky /trunk/kernel/generic/include/ cstyle  
/trunk/kernel/generic/include/config.h
3918 5631 d 1 h decky /trunk/kernel/ avoid ugly ifdefs in fpu1 test  
/trunk/kernel/test/fpu/fpu1_ia64.c
/trunk/kernel/test/fpu/fpu1_x86.c
/trunk/kernel/test/fpu/fpu1.c
/trunk/kernel/Makefile
3917 5631 d 2 h decky /trunk/ remove non-standard define  
/trunk/HelenOS.config
/trunk/kernel/arch/arm32/Makefile.inc
/trunk/kernel/arch/arm32/_link.ld.in
/trunk/kernel/arch/arm32/include/machine.h
3916 5631 d 2 h decky /trunk/tools/ fix a flaw in deduction algorithm  
/trunk/tools/config.py
3915 5631 d 3 h decky /trunk/ fix conditions (actually only CNF and DNF is supported, not arbitrary logical forms)  
/trunk/HelenOS.config