K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-05-16T16:19:53.381511Z K 7 svn:log V 713 Keep track of useful information like where preloaded metadata and modules are. On some firmwares (SLOF) OF_claim() does not reduce the size of the available array, meaning that these data (a) can be overwritten and (b) are not mapped into the kernel's address space except by accident in the direct-mapped case. loader provides the kernel with the end of the metadata + modules, mapped immediately after the kernel, so just replace endkernel by loader's KERNEND variable, if available. The kernel now boots on emulated POWER7 hardware to probing the device tree (where it stops due to lack of drivers) without any hacks. Note: this patch also affects PS3, and should be merged to HEAD after some more testing. END