In order to support openfirmware calls in dom0 I would like to insert a Xen aware "ROM" image into dom0 from the booting Xen core. This image a relocatable freestanding executable image that is linked on its own and is capable of groking data structures created by the Xen core. Much of the code is shared with code used by Xen. After it is built I''d like to objcopy this image into a relocatable object (.o) mark it as __init and link it into xen. * I agree that we could build it and have it handed to Xen in something like a "grub multiboot module", but since we most likely came from openfirmware there is probably not much (if any) grub support. So the question is, where to locate the source and build it? I''d like to create a new directory under xeno-unstable/xen that contains the source to such programs. Some ideas are: xeno-unstable/xen/images xeno-unstable/xen/ROMs xeno-unstable/xen/plugins All comments appreciated. -JX -JX _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On 3 Apr 2005, at 15:39, Jimi Xenidis wrote:> So the question is, where to locate the source and build it? > I''d like to create a new directory under xeno-unstable/xen that > contains the source to such programs.Are we likely to have multiple such ROMs/plugins? Since it''s also arch-specific, something like xen/arch/ppc/of_rom would probably be most appropriate. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
>>>>> "KF" == Keir Fraser <Keir.Fraser@cl.cam.ac.uk> writes:KF> On 3 Apr 2005, at 15:39, Jimi Xenidis wrote: >> So the question is, where to locate the source and build it? >> I''d like to create a new directory under xeno-unstable/xen that >> contains the source to such programs. KF> Are we likely to have multiple such ROMs/plugins? Dunno about other pluggins for other processors/platforms. FK> Since it''s also arch-specific, something like xen/arch/ppc/of_rom FK> would probably be most appropriate. I''ve been doing the openfirmware support in expectation that it could be used by other processors (SPARC, StrongARM) but am happy to keep it a PPC thing. -JX _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel