These changes are the raw update to qemu-2.6.
[kvmfornfv.git] / qemu / include / hw / acpi / bios-linker-loader.h
1 #ifndef BIOS_LINKER_LOADER_H
2 #define BIOS_LINKER_LOADER_H
3
4 #include <glib.h>
5
6 GArray *bios_linker_loader_init(void);
7
8 void bios_linker_loader_alloc(GArray *linker,
9                               const char *file,
10                               uint32_t alloc_align,
11                               bool alloc_fseg);
12
13 void bios_linker_loader_add_checksum(GArray *linker, const char *file,
14                                      GArray *table,
15                                      void *start, unsigned size,
16                                      uint8_t *checksum);
17
18 void bios_linker_loader_add_pointer(GArray *linker,
19                                     const char *dest_file,
20                                     const char *src_file,
21                                     GArray *table, void *pointer,
22                                     uint8_t pointer_size);
23
24 void *bios_linker_loader_cleanup(GArray *linker);
25 #endif