mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
This includes a few headers to fix some missing function declarations. ../grub-upstream/stage2/builtins.c:1728:3: warning: implicit declaration of function ‘do_exit’ [-Wimplicit-function-declaration] stubdom/include/xen/libelf/libelf.h:453:5: warning: implicit declaration of function ‘memcpy’ [-Wimplicit-function-declaration] Reported-by: IAN DELANEY <della5@iinet.com.au> Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Acked-by: Ian Campbell <ian.campbell@citrix.com>
13 lines
399 B
C
13 lines
399 B
C
#include <stdio.h>
|
|
#undef putchar
|
|
#include <ctype.h>
|
|
#include <string.h>
|
|
#include <kernel.h>
|
|
#define debug _debug
|
|
#define grub_halt(a) do_exit()
|
|
#define printf grub_printf
|
|
void kexec(void *kernel, long kernel_size, void *module, long module_size, char *cmdline, unsigned long flags);
|
|
struct fbfront_dev *fb_open(void *fb, int width, int height, int depth);
|
|
void fb_close(void);
|
|
void pv_boot (void);
|