Add qemu 2.4.0
[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 #include <stdbool.h>
6 #include <inttypes.h>
7
8 GArray *bios_linker_loader_init(void);
9
10 void bios_linker_loader_alloc(GArray *linker,
11                               const char *file,
12                               uint32_t alloc_align,
13                               bool alloc_fseg);
14
15 void bios_linker_loader_add_checksum(GArray *linker, const char *file,
16                                      void *table,
17                                      void *start, unsigned size,
18                                      uint8_t *checksum);
19
20 void bios_linker_loader_add_pointer(GArray *linker,
21                                     const char *dest_file,
22                                     const char *src_file,
23                                     GArray *table, void *pointer,
24                                     uint8_t pointer_size);
25
26 void *bios_linker_loader_cleanup(GArray *linker);
27 #endif