view stubdom/grub/config.h @ 20653:5f076dbdab6c

domain builder: multiboot-like module support

This defines how multiple modules can be passed to a domain by packing
them together into a "multiboot module" in a way very similar to the
multiboot standard. An SIF_ flag is added to announce such package.
This also adds a packing implementation to PV-GRUB.

Signed-Off-By: Samuel Thibault <>
author Keir Fraser <>
date Fri Dec 11 08:44:33 2009 +0000 (2009-12-11)
parents c8d9ade45781
line source
1 #include <stdio.h>
2 #undef putchar
3 #include <ctype.h>
4 #include <string.h>
5 #define debug _debug
6 #define grub_halt(a) do_exit()
7 #define printf grub_printf
8 void kexec(void *kernel, long kernel_size, void *module, long module_size, char *cmdline, unsigned long flags);
9 struct fbfront_dev *fb_open(void *fb, int width, int height, int depth);
10 void fb_close(void);
11 void pv_boot (void);