1909 |
6529 d 14 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
|
1896 |
6539 d 13 h |
jermar |
/trunk/ |
Convert sparc64 to detect keyboard and determine
its physical address by walking the memory representation
of the OpenFirmware device tree.
Add bus-specific functions that know how to apply the
"ranges" property to one component of the "reg" property.
Buses supported so far include FHC, EBUS and PCI. |
|
/trunk/kernel/genarch/src/ofw/ebus.c /trunk/kernel/genarch/src/ofw/fhc.c /trunk/kernel/genarch/src/ofw/pci.c
/trunk/boot/arch/sparc64/loader/main.c /trunk/boot/arch/sparc64/loader/main.h /trunk/boot/arch/sparc64/loader/ofwarch.c /trunk/boot/genarch/ofw_tree.c /trunk/boot/generic/string.c /trunk/boot/generic/string.h /trunk/kernel/Makefile /trunk/kernel/arch/sparc64/Makefile.inc /trunk/kernel/arch/sparc64/include/boot/boot.h /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/trap/interrupt.c /trunk/kernel/genarch/Makefile.inc /trunk/kernel/genarch/include/kbd/i8042.h /trunk/kernel/genarch/include/kbd/key.h /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/i8042.c /trunk/kernel/genarch/src/kbd/key.c /trunk/kernel/genarch/src/kbd/ns16550.c /trunk/kernel/genarch/src/kbd/z8530.c /trunk/kernel/genarch/src/ofw/ofw_tree.c /trunk/kernel/generic/include/func.h /trunk/kernel/generic/src/lib/func.c /trunk/kernel/kernel.config
|