mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
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:
committed by
Mark Cave-Ayland
parent
075e485628
commit
9661f91432
@@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "libopenbios/openbios.h"
|
||||
#include "libopenbios/bindings.h"
|
||||
#include "asm/types.h"
|
||||
#include "dict.h"
|
||||
@@ -50,6 +51,7 @@ arch_init( void )
|
||||
{
|
||||
void setup_timers(void);
|
||||
|
||||
openbios_init();
|
||||
modules_init();
|
||||
#ifdef CONFIG_DRIVER_PCI
|
||||
arch = &default_pci_host;
|
||||
|
||||
Reference in New Issue
Block a user