1895 |
6542 d 6 h |
jermar |
/trunk/ |
More ofw_tree work and fixes.
Add ofw_tree_lookup().
Every ofw_tree_node now also contains a disambigued name which is essential for tree lookups. |
|
/trunk/boot/genarch/ofw.c /trunk/boot/genarch/ofw.h /trunk/boot/genarch/ofw_tree.c /trunk/boot/genarch/ofw_tree.h /trunk/kernel/arch/sparc64/Makefile.inc /trunk/kernel/arch/sparc64/src/sparc64.c /trunk/kernel/genarch/Makefile.inc /trunk/kernel/genarch/include/ofw/ofw_tree.h /trunk/kernel/genarch/src/ofw/ofw_tree.c
|
1894 |
6543 d 3 h |
jermar |
/trunk/ |
Add balloc() (a.k.a boot allocator):
- balloc() only needs to know how to allocate memory.
- Memory allocated via balloc() is supposed to be passed to kernel and never freed by boot itself.
- make kernel aware of boot allocations
More work on OFW device tree:
- use balloc() to efficiently and safely allocate memory for the canonical copy of the device tree
sparc64 boot:
- pass OFW device tree root node pointer to kernel |
|
/trunk/boot/genarch/balloc.c /trunk/boot/genarch/balloc.h /trunk/kernel/genarch/include/ofw /trunk/kernel/genarch/include/ofw/ofw_tree.h /trunk/kernel/genarch/src/ofw /trunk/kernel/genarch/src/ofw/ofw_tree.c
/trunk/boot/arch/sparc64/loader/Makefile /trunk/boot/arch/sparc64/loader/main.c /trunk/boot/arch/sparc64/loader/main.h /trunk/boot/genarch/ofw_tree.c /trunk/boot/genarch/ofw_tree.h /trunk/kernel/arch/sparc64/include/boot/boot.h /trunk/kernel/arch/sparc64/src/sparc64.c /trunk/kernel/genarch/Makefile.inc /trunk/kernel/generic/include/config.h /trunk/kernel/generic/src/main/main.c /trunk/kernel/generic/src/mm/frame.c
|