Files
openbios/libopenbios/load.c
Mark Cave-Ayland db474e634c Move Forth loader into the new C load implementation.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>


git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@800 f158a5a8-5612-0410-a976-696ce0be7e32
2010-06-27 13:14:03 +00:00

38 lines
755 B
C

/*
* Creation Date: <2010/06/25 20:00:00 mcayland>
* Time-stamp: <2010/06/25 20:00:00 mcayland>
*
* <load.c>
*
* C implementation of load
*
* 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 "kernel/kernel.h"
#include "libopenbios/bindings.h"
#include "libopenbios/load.h"
#include "libopenbios/fcode_load.h"
#include "libopenbios/forth_load.h"
void load(ihandle_t dev)
{
/* Invoke the loaders on the specified device */
#ifdef CONFIG_LOADER_FCODE
fcode_load(dev);
#endif
#ifdef CONFIG_LOADER_FORTH
forth_load(dev);
#endif
}