Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
1991 |
6484 d 10 h |
jermar |
/trunk/kernel/genarch/src/fb/ |
The prefered switch statement indentation is the one replaced by the previous commit :-) |
|
/trunk/kernel/genarch/src/fb/fb.c
|
1990 |
6484 d 13 h |
decky |
/trunk/kernel/genarch/src/fb/ |
framebuffer cleanup |
|
/trunk/kernel/genarch/src/fb/fb.c
|
1981 |
6487 d 17 h |
jermar |
/trunk/kernel/ |
Indentation, formatting and minor changes. |
|
/trunk/kernel/genarch/src/fb/fb.c /trunk/kernel/generic/src/mm/frame.c
|
1974 |
6498 d 11 h |
jermar |
/trunk/kernel/genarch/src/ofw/ |
Rewrite OFW device tree traversal algorithms to iterate over the list of peers rather than recurse on each
peer node. This saves us from big troubles with stack overflows. |
|
/trunk/kernel/genarch/src/ofw/ofw_tree.c
|
1972 |
6500 d 16 h |
jermar |
/trunk/ |
Modify selected function to consume less stack space.
Avoid flushw instruction in the sparc64 loader. |
|
/trunk/boot/arch/sparc64/loader/boot.S /trunk/boot/arch/sparc64/loader/main.c /trunk/kernel/genarch/src/ofw/ofw_tree.c /trunk/kernel/generic/src/console/kconsole.c
|
1957 |
6509 d 17 h |
decky |
/trunk/kernel/ |
ia32: mouse support, mouse regrab is still broken |
|
/trunk/kernel/arch/ia32/include/interrupt.h /trunk/kernel/arch/ia32/src/ia32.c /trunk/kernel/genarch/include/kbd/i8042.h /trunk/kernel/genarch/src/kbd/i8042.c
|
1956 |
6509 d 18 h |
decky |
/trunk/kernel/ |
ia32: adopt new IRQ interface, mouse not tested yet |
|
/trunk/kernel/arch/ia32/include/interrupt.h /trunk/kernel/arch/ia32/src/drivers/i8254.c /trunk/kernel/arch/ia32/src/ia32.c /trunk/kernel/arch/ia32/src/interrupt.c /trunk/kernel/arch/ia32/src/mm/page.c /trunk/kernel/arch/ia32/src/pm.c /trunk/kernel/genarch/include/kbd/i8042.h /trunk/kernel/genarch/src/kbd/i8042.c
|
1944 |
6517 d 12 h |
jermar |
/trunk/kernel/ |
Add mutual exclusion to keyboard grab and release
functions on sparc64, ppc32, mips32 and ia64. |
|
/trunk/kernel/arch/ia64/src/ski/ski.c /trunk/kernel/arch/mips32/src/drivers/msim.c /trunk/kernel/arch/ppc32/src/drivers/cuda.c /trunk/kernel/arch/ppc32/src/drivers/pic.c /trunk/kernel/genarch/src/kbd/ns16550.c /trunk/kernel/genarch/src/kbd/z8530.c
|
1932 |
6519 d 9 h |
jermar |
/trunk/kernel/ |
Do not copy notification config out of the IRQ structure.
Add the notify member, that toggles notifications on and off instead.
This is good for preventing other tasks from registering the notification
while the notification config is stored outside the IRQ structure.
It should also help to implement the cleanup code. |
|
/trunk/kernel/arch/ppc32/src/drivers/cuda.c /trunk/kernel/genarch/src/kbd/ns16550.c /trunk/kernel/genarch/src/kbd/z8530.c /trunk/kernel/generic/include/ipc/irq.h /trunk/kernel/generic/src/ipc/irq.c
|
1931 |
6519 d 10 h |
jermar |
/trunk/ |
Add support for IPC notifications even for polled ns16550 based keyboard. |
|
/trunk/kernel/arch/sparc64/src/console.c /trunk/kernel/genarch/src/kbd/ns16550.c /trunk/kernel/genarch/src/kbd/z8530.c /trunk/uspace/kbd/arch/sparc64/src/kbd.c
|
1925 |
6520 d 8 h |
jermar |
/trunk/kernel/genarch/src/kbd/ |
Support for grabbing and releasing z8530 keyboard for sparc64.
We might later add some locking. |
|
/trunk/kernel/genarch/src/kbd/z8530.c
|
1923 |
6520 d 9 h |
jermar |
/trunk/ |
Replace the old IRQ dispatcher and IPC notifier with new implementation.
Note that all architectures except for sparc64 are now broken
and don't even compile. |
|
/trunk/kernel/arch/sparc64/src/trap/interrupt.c /trunk/kernel/genarch/src/kbd/z8530.c /trunk/kernel/generic/include/ddi/irq.h /trunk/kernel/generic/include/ipc/ipc.h /trunk/kernel/generic/include/ipc/irq.h /trunk/kernel/generic/include/ipc/sysipc.h /trunk/kernel/generic/include/typedefs.h /trunk/kernel/generic/src/console/cmd.c /trunk/kernel/generic/src/console/klog.c /trunk/kernel/generic/src/ddi/irq.c /trunk/kernel/generic/src/ipc/ipc.c /trunk/kernel/generic/src/ipc/irq.c /trunk/kernel/generic/src/ipc/sysipc.c /trunk/uspace/kbd/arch/sparc64/src/kbd.c /trunk/uspace/klog/klog.c /trunk/uspace/libc/generic/async.c /trunk/uspace/libc/generic/ipc.c /trunk/uspace/libc/include/ipc/ipc.h
|
1921 |
6522 d 10 h |
jermar |
/trunk/kernel/ |
Changes in ns16550 and z8530 drivers.
Add some stuff for IRQ notifications to irq_t. |
|
/trunk/kernel/arch/sparc64/include/drivers/kbd.h /trunk/kernel/arch/sparc64/include/drivers/ns16550.h /trunk/kernel/arch/sparc64/include/drivers/z8530.h /trunk/kernel/arch/sparc64/src/drivers/kbd.c /trunk/kernel/genarch/include/kbd/ns16550.h /trunk/kernel/genarch/include/kbd/z8530.h /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/ddi/irq.c
|
1920 |
6522 d 18 h |
jermar |
/trunk/kernel/ |
Move the new IRQ redirector to ddi/.
Add function for assigning unique device numbers.
Change sparc64/drivers/kbd.c to assign devno to keyboard. |
|
/trunk/kernel/generic/include/ddi/device.h /trunk/kernel/generic/include/ddi/irq.h /trunk/kernel/generic/src/ddi/device.c /trunk/kernel/generic/src/ddi/irq.c
/trunk/kernel/generic/include/irq.h /trunk/kernel/generic/src/interrupt/irq.c
/trunk/kernel/Makefile /trunk/kernel/arch/sparc64/src/drivers/kbd.c /trunk/kernel/arch/sparc64/src/sparc64.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/ns16550.c /trunk/kernel/genarch/src/kbd/z8530.c /trunk/kernel/generic/include/typedefs.h
|
1919 |
6523 d 9 h |
jermar |
/trunk/kernel/ |
Prototypical implementation of new IRQ redirector in sparc64.
The new code can support shared IRQs in kernel (and multiple IRQs per device).
Userspace support is yet to be written.
The only architecture that uses this code is actually sparc64 only. |
|
/trunk/kernel/generic/include/irq.h /trunk/kernel/generic/src/interrupt/irq.c
/trunk/kernel/Makefile /trunk/kernel/arch/sparc64/src/drivers/kbd.c /trunk/kernel/arch/sparc64/src/sparc64.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/ns16550.c /trunk/kernel/genarch/src/kbd/z8530.c /trunk/kernel/generic/include/ipc/irq.h
|
1912 |
6529 d 18 h |
jermar |
/trunk/kernel/ |
Separate mapping of EBUS interrupts into two parts: EBUS and PCI. |
|
/trunk/kernel/arch/sparc64/src/drivers/kbd.c /trunk/kernel/genarch/include/ofw/ofw_tree.h /trunk/kernel/genarch/src/ofw/ebus.c /trunk/kernel/genarch/src/ofw/fhc.c /trunk/kernel/genarch/src/ofw/pci.c
|
1911 |
6530 d 7 h |
jermar |
/trunk/kernel/ |
Add support for interrupt mapping in the Sabre PCI controller.
Add support for PCI and EBUS interrupt mapping via the OpenFirmware device tree.
Unfortunatelly, the code is not capable enough to earn single ns16550 interrupt.
I suspect something needs to be enabled in the EBUS registers. |
|
/trunk/kernel/arch/sparc64/include/drivers/pci.h /trunk/kernel/arch/sparc64/src/drivers/pci.c
/trunk/kernel/arch/sparc64/Makefile.inc /trunk/kernel/arch/sparc64/include/asm.h /trunk/kernel/arch/sparc64/include/drivers/ns16550.h /trunk/kernel/arch/sparc64/include/trap/interrupt.h /trunk/kernel/arch/sparc64/src/drivers/kbd.c /trunk/kernel/genarch/src/kbd/ns16550.c /trunk/kernel/genarch/src/ofw/ebus.c /trunk/kernel/genarch/src/ofw/upa.c
|
1910 |
6533 d 7 h |
jermar |
/trunk/kernel/ |
Rename INO to INR, for the sake of consistency with manuals. |
|
/trunk/kernel/arch/sparc64/include/drivers/fhc.h /trunk/kernel/arch/sparc64/src/drivers/fhc.c /trunk/kernel/genarch/include/ofw/ofw_tree.h /trunk/kernel/genarch/src/ofw/ebus.c /trunk/kernel/genarch/src/ofw/fhc.c
|
1909 |
6534 d 8 h |
jermar |
/trunk/ |
Extend the OFW device tree node with a void pointer. The boot loader is
supposed to reset all pointers in all nodes. The kernel uses the pointer
to recognize that a particular device has already been visited and initialized.
Read interrupt mapping from the OFW device tree for FHC devices (z8530) and
EBUS devices (ns16550). In case of FHC devices, remove hardwired values from
the code and use only values read from the tree. FHC initialization is started
when a FHC device wants to map its interrupt. In case of EBUS devices, map
the interrupt to INO. Interrupt enabling in the interrupt controller for that
specific interrupt is not implemented yet. |
|
/trunk/boot/genarch/ofw_tree.c /trunk/boot/genarch/ofw_tree.h /trunk/kernel/arch/sparc64/include/drivers/fhc.h /trunk/kernel/arch/sparc64/src/drivers/fhc.c /trunk/kernel/arch/sparc64/src/drivers/kbd.c /trunk/kernel/arch/sparc64/src/trap/interrupt.c /trunk/kernel/genarch/include/ofw/ofw_tree.h /trunk/kernel/genarch/src/kbd/z8530.c /trunk/kernel/genarch/src/ofw/ebus.c /trunk/kernel/genarch/src/ofw/fhc.c
|
1908 |
6536 d 19 h |
jermar |
/trunk/kernel/genarch/ |
Add function to find OFW tree node by handle. |
|
/trunk/kernel/genarch/include/ofw/ofw_tree.h /trunk/kernel/genarch/src/ofw/ofw_tree.c
|