Create an initialisation function called openbios_init(), similar to modules_init(), for use by libopenbios and make sure all

architectures are updated to use it. This is required to allow binding of C functions into Forth by libopenbios (i.e. cross 
architecture) rather than having to update everything in every arch/*/ initialisation file.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>


git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@725 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
Mark Cave-Ayland
2010-04-02 11:41:35 +00:00
committed by Mark Cave-Ayland
parent 075e485628
commit 9661f91432
12 changed files with 64 additions and 0 deletions

24
libopenbios/init.c Normal file
View File

@@ -0,0 +1,24 @@
/*
* Creation Date: <2010/04/02 12:00:00 mcayland>
* Time-stamp: <2010/04/02 12:00:00 mcayland>
*
* <init.c>
*
* OpenBIOS intialization
*
* Copyright (C) 2010 Mark Cave-Ayland (mark.cave-ayland@siriusit.co.uk)
*
* 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/openbios.h"
void
openbios_init( void )
{
// TODO
}