mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-22 23:32:39 +00:00
add missing files
This commit is contained in:
1 parent
725396942e
commit
7ad9681655
4 files changed
+130
No files matched your search
@@ -0,0 +1,42 @@
|
||||
#include <config.h>
|
||||
#include <grub/emu/misc.h>
|
||||
|
||||
#ifndef GRUB_MACHINE_EMU
|
||||
#error "This source is only meant for grub-emu platform"
|
||||
#endif
|
||||
|
||||
#if defined(GRUB_CPU_I386)
|
||||
#include "../i386/dl.c"
|
||||
#elif defined(GRUB_CPU_X86_64)
|
||||
#include "../x86_64/dl.c"
|
||||
#elif defined(GRUB_CPU_SPARC64)
|
||||
#include "../sparc64/dl.c"
|
||||
#elif defined(GRUB_CPU_MIPS)
|
||||
#include "../mips/dl.c"
|
||||
#elif defined(GRUB_CPU_MIPSEL)
|
||||
#include "../mips/dl.c"
|
||||
#elif defined(GRUB_CPU_POWERPC)
|
||||
#include "../powerpc/dl.c"
|
||||
#else
|
||||
#error "No target cpu type is defined"
|
||||
#endif
|
||||
|
||||
/* grub-emu-lite supports dynamic module loading, so it won't have any
|
||||
embedded modules. */
|
||||
void
|
||||
grub_init_all (void)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
void
|
||||
grub_fini_all (void)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
void
|
||||
grub_emu_init (void)
|
||||
{
|
||||
return;
|
||||
}
|
||||
Reference in new issue
Block a user