]> git.proxmox.com Git - qemu.git/blame - hw/i386/bios-linker-loader.h
s390x: fix flat file load on 32 bit systems
[qemu.git] / hw / i386 / bios-linker-loader.h
CommitLineData
bc702329
MT
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
8GArray *bios_linker_loader_init(void);
9
10void bios_linker_loader_alloc(GArray *linker,
11 const char *file,
12 uint32_t alloc_align,
13 bool alloc_fseg);
14
15void bios_linker_loader_add_checksum(GArray *linker, const char *file,
16 void *table,
17 void *start, unsigned size,
18 uint8_t *checksum);
19
20void 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
26void *bios_linker_loader_cleanup(GArray *linker);
27#endif