1894 |
6671 d 22 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
|