Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
3934 |
5658 d 5 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 |
5658 d 7 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 |
5658 d 7 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 |
5658 d 7 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
|
3927 |
5658 d 10 h |
jermar |
/trunk/kernel/genarch/ |
Nuke i8042_poll(). |
|
/trunk/kernel/genarch/include/kbd/i8042.h /trunk/kernel/genarch/src/kbd/i8042.c
|
3907 |
5661 d 19 h |
decky |
/trunk/kernel/ |
remove forgotten #ifdef arch |
|
/trunk/kernel/test/debug/mips1_skip.c /trunk/kernel/test/mm/purge1_skip.c
/trunk/kernel/Makefile /trunk/kernel/genarch/include/kbd/ns16550.h /trunk/kernel/test/debug/mips1.c /trunk/kernel/test/debug/mips1.def /trunk/kernel/test/mm/purge1.c /trunk/kernel/test/mm/purge1.def
|
3906 |
5662 d 6 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 |
5662 d 14 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
|
3876 |
5665 d 9 h |
decky |
/trunk/kernel/genarch/ |
add BGR 888 visual, remove FB_INVERT_ENDIAN |
|
/trunk/kernel/genarch/include/fb/fb.h /trunk/kernel/genarch/include/fb/visuals.h /trunk/kernel/genarch/src/fb/fb.c
|
3779 |
5704 d 15 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
|
3710 |
5723 d 8 h |
decky |
/trunk/ |
resurrect kernel logo |
|
/trunk/kernel/genarch/include/fb/logo-196x66.h /trunk/kernel/genarch/src/fb/logo-196x66.c
/trunk/kernel/genarch/Makefile.inc /trunk/kernel/genarch/src/fb/fb.c /trunk/kernel/genarch/src/fb/font-8x16.c /trunk/kernel/generic/include/macros.h /trunk/uspace/srv/fb/fb.c
|
3707 |
5723 d 10 h |
decky |
/trunk/ |
kconsole is optional
kernel & uspace framebuffer rewrite with speedups (some things are slightly broken yet) |
|
/trunk/kernel/genarch/src/fb/helenos.xbm
/trunk/kernel/arch/amd64/src/debugger.c /trunk/kernel/arch/ia32/include/drivers/ega.h /trunk/kernel/arch/ia32/include/drivers/vesa.h /trunk/kernel/arch/ia32/src/cpu/cpu.c /trunk/kernel/arch/ia32/src/drivers/vesa.c /trunk/kernel/arch/ia32/src/ia32.c /trunk/kernel/arch/mips32/src/cpu/cpu.c /trunk/kernel/arch/mips32/src/debugger.c /trunk/kernel/arch/mips32/src/exception.c /trunk/kernel/genarch/include/fb/fb.h /trunk/kernel/genarch/include/fb/font-8x16.h /trunk/kernel/genarch/include/fb/visuals.h /trunk/kernel/genarch/src/acpi/acpi.c /trunk/kernel/genarch/src/fb/fb.c /trunk/kernel/genarch/src/fb/font-8x16.c /trunk/kernel/genarch/src/mm/asid.c /trunk/kernel/generic/include/console/kconsole.h /trunk/kernel/generic/src/console/cmd.c /trunk/kernel/generic/src/console/console.c /trunk/kernel/generic/src/console/kconsole.c /trunk/kernel/generic/src/cpu/cpu.c /trunk/kernel/generic/src/interrupt/interrupt.c /trunk/kernel/generic/src/lib/func.c /trunk/kernel/generic/src/main/kinit.c /trunk/kernel/generic/src/main/main.c /trunk/kernel/generic/src/mm/as.c /trunk/kernel/generic/src/syscall/syscall.c /trunk/uspace/lib/libc/include/ipc/fb.h /trunk/uspace/srv/console/console.c /trunk/uspace/srv/console/gcons.c /trunk/uspace/srv/console/gcons.h /trunk/uspace/srv/console/screenbuffer.h /trunk/uspace/srv/fb/fb.c /trunk/uspace/srv/fb/fb.h /trunk/uspace/srv/fb/font-8x16.c /trunk/uspace/srv/fb/font-8x16.h /trunk/uspace/srv/fb/main.c /trunk/uspace/srv/fb/ppm.c
|
3704 |
5723 d 10 h |
decky |
/trunk/kernel/genarch/include/kbd/ |
add header |
|
/trunk/kernel/genarch/include/kbd/i8042.h
|
3679 |
5733 d 5 h |
rimsky |
/trunk/ |
Added forgotten stuff related to framebuffers with offsets. Got rid of VISUAL_SB1500_PALETTE. |
|
/trunk/kernel/arch/sparc64/src/drivers/scr.c /trunk/kernel/genarch/include/fb/visuals.h /trunk/kernel/genarch/src/fb/fb.c /trunk/uspace/srv/fb/fb.c
|
3672 |
5734 d 9 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 |
5740 d 9 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
|
3646 |
5741 d 10 h |
jermar |
/trunk/kernel/ |
Initial support for interrupt driven driver for ns16550. |
|
/trunk/kernel/Makefile /trunk/kernel/arch/sparc64/src/console.c /trunk/kernel/arch/sparc64/src/drivers/kbd.c /trunk/kernel/genarch/include/kbd/ns16550.h /trunk/kernel/genarch/src/kbd/ns16550.c /trunk/kernel/kernel.config
|
3577 |
5758 d 21 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
|
3240 |
5861 d 19 h |
decky |
/ |
move unfinished ObjC support to a separate branch |
|
/branches/cs
/trunk/kernel/generic/include/lib/objc.h /trunk/kernel/generic/include/lib/objc_ext.h /trunk/kernel/generic/src/lib/objc.c /trunk/kernel/generic/src/lib/objc_ext.c
/trunk/kernel/Makefile /trunk/kernel/arch/ia32/src/mm/as.c /trunk/kernel/genarch/include/mm/page_pt.h /trunk/kernel/genarch/src/mm/as_pt.c /trunk/kernel/generic/include/mm/as.h /trunk/kernel/generic/src/mm/as.c /trunk/kernel/kernel.config
|
3071 |
5919 d 14 h |
decky |
/trunk/kernel/ |
reflect changes in generic code
proper formatting directives
coding style |
|
/trunk/kernel/arch/amd64/src/debugger.c /trunk/kernel/arch/amd64/src/proc/thread.c /trunk/kernel/arch/ia32/include/mm/page.h /trunk/kernel/arch/ia32/include/smp/apic.h /trunk/kernel/arch/ia32/src/debug/panic.s /trunk/kernel/arch/ia32xen/src/smp/smp.c /trunk/kernel/arch/mips32/src/debugger.c /trunk/kernel/arch/mips32/src/exception.c /trunk/kernel/arch/ppc32/include/boot/boot.h /trunk/kernel/arch/ppc32/include/drivers/cuda.h /trunk/kernel/arch/ppc32/include/exception.h /trunk/kernel/arch/ppc32/include/mm/tlb.h /trunk/kernel/arch/ppc32/src/interrupt.c /trunk/kernel/arch/ppc32/src/mm/page.c /trunk/kernel/arch/ppc64/include/exception.h /trunk/kernel/arch/ppc64/src/cpu/cpu.c /trunk/kernel/arch/ppc64/src/interrupt.c /trunk/kernel/arch/ppc64/src/mm/page.c /trunk/kernel/arch/sparc64/include/asm.h /trunk/kernel/arch/sparc64/include/cpu.h /trunk/kernel/arch/sparc64/src/cpu/cpu.c /trunk/kernel/arch/sparc64/src/smp/smp.c /trunk/kernel/arch/sparc64/src/trap/exception.c /trunk/kernel/arch/sparc64/src/trap/interrupt.c /trunk/kernel/genarch/include/ofw/ofw_tree.h /trunk/kernel/genarch/src/acpi/acpi.c /trunk/kernel/genarch/src/acpi/madt.c
|