* fix some license headers
* add generic lib.h header for lib/ prototypes * fix some prototypes * put back return value parsing of stage2 Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Ronald G. Minnich <rminnich@gmail.com> git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@91 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
parent
592d34e1fc
commit
15dfcd2198
6 changed files with 113 additions and 65 deletions
|
|
@ -47,8 +47,9 @@ it with the version available from LANL.
|
|||
#include <arch/types.h>
|
||||
#include <string.h>
|
||||
#include <lar.h>
|
||||
#include <console/console.h>
|
||||
#include <console/loglevel.h>
|
||||
|
||||
#include <device/device.h>
|
||||
|
||||
/**
|
||||
* @brief Main function of the DRAM part of LinuxBIOS.
|
||||
|
|
@ -61,7 +62,7 @@ it with the version available from LANL.
|
|||
* Device Enumeration:
|
||||
* In the dev_enumerate() phase,
|
||||
*/
|
||||
void stage2(void)
|
||||
int stage2(void)
|
||||
{
|
||||
struct lb_memory *lb_mem;
|
||||
|
||||
|
|
@ -102,6 +103,6 @@ void stage2(void)
|
|||
|
||||
elfboot(lb_mem);
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue