source: grub-pc/trunk/fuentes/grub-core/kern/emu/lite.c @ 22

Last change on this file since 22 was 22, checked in by mabarracus, 4 years ago

updated version and apply net.ifnames=0 into debian/rules

File size: 891 bytes
Line 
1#include <config.h>
2#include <grub/emu/misc.h>
3
4#ifndef GRUB_MACHINE_EMU
5#error "This source is only meant for grub-emu platform"
6#endif
7
8#if defined(__i386__)
9#include "../i386/dl.c"
10#elif defined(__x86_64__)
11#include "../x86_64/dl.c"
12#elif defined(__sparc__)
13#include "../sparc64/dl.c"
14#elif defined(__mips__)
15#include "../mips/dl.c"
16#elif defined(__powerpc__)
17#include "../powerpc/dl.c"
18#elif defined(__ia64__)
19#include "../ia64/dl_helper.c"
20#include "../ia64/dl.c"
21#elif defined(__arm__)
22#include "../arm/dl_helper.c"
23#include "../arm/dl.c"
24#elif defined(__aarch64__)
25#include "../arm64/dl_helper.c"
26#include "../arm64/dl.c"
27#else
28#error "No target cpu type is defined"
29#endif
30
31const int grub_no_modules = 0;
32
33/* grub-emu-lite supports dynamic module loading, so it won't have any
34   embedded modules.  */
35void
36grub_init_all (void)
37{
38  return;
39}
40
41void
42grub_fini_all (void)
43{
44  return;
45}
Note: See TracBrowser for help on using the repository browser.