Subversion Repositories HelenOS

Rev

Go to most recent revision | Hide changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff Changes
1894 6465 d 21 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