mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
multiboot: Separate multiboot loading into separate file
Move multiboot loading code into separate files as suggested by Alex Graf. Signed-off-by: Adam Lackorzynski <adam@os.inf.tu-dresden.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
ee0216275b
commit
52001445c9
4 changed files with 347 additions and 303 deletions
12
hw/multiboot.h
Normal file
12
hw/multiboot.h
Normal file
|
@ -0,0 +1,12 @@
|
|||
#ifndef QEMU_MULTIBOOT_H
|
||||
#define QEMU_MULTIBOOT_H
|
||||
|
||||
int load_multiboot(void *fw_cfg,
|
||||
FILE *f,
|
||||
const char *kernel_filename,
|
||||
const char *initrd_filename,
|
||||
const char *kernel_cmdline,
|
||||
int kernel_file_size,
|
||||
uint8_t *header);
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue