mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
involves taking the existing parts of the XCOFF loader and putting them into a new loader file xcoff_load.c. Also fix a dependency order change these changes introduce when building openbios-unix. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk> git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@720 f158a5a8-5612-0410-a976-696ce0be7e32
32 lines
690 B
C
32 lines
690 B
C
/*
|
|
*
|
|
* <xcoff-loader.c>
|
|
*
|
|
* XCOFF file loader
|
|
*
|
|
* Copyright (C) 2009 Laurent Vivier (Laurent@vivier.eu)
|
|
*
|
|
* from original XCOFF loader by Steven Noonan <steven@uplinklabs.net>
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* version 2
|
|
*
|
|
*/
|
|
|
|
#include "config.h"
|
|
#include "libopenbios/bindings.h"
|
|
#include "libopenbios/xcoff_load.h"
|
|
#include "packages.h"
|
|
|
|
DECLARE_NODE(xcoff_loader, INSTALL_OPEN, 0, "+/packages/xcoff-loader" );
|
|
|
|
NODE_METHODS( xcoff_loader ) = {
|
|
{ "init-program", xcoff_init_program },
|
|
};
|
|
|
|
void xcoff_loader_init( void )
|
|
{
|
|
REGISTER_NODE( xcoff_loader );
|
|
}
|