mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 18:44:58 -06:00
hw: move private headers to hw/ subdirectories.
Many headers are used only in a single directory. These can be kept in hw/. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
8d8b636d28
commit
47b43a1f41
141 changed files with 169 additions and 169 deletions
|
@ -24,7 +24,7 @@
|
|||
|
||||
#include "hw/hw.h"
|
||||
#include "hw/nvram/fw_cfg.h"
|
||||
#include "hw/multiboot.h"
|
||||
#include "multiboot.h"
|
||||
#include "hw/loader.h"
|
||||
#include "elf.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
|
|
12
hw/i386/multiboot.h
Normal file
12
hw/i386/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
|
|
@ -34,7 +34,7 @@
|
|||
#include "hw/i386/smbios.h"
|
||||
#include "hw/loader.h"
|
||||
#include "elf.h"
|
||||
#include "hw/multiboot.h"
|
||||
#include "multiboot.h"
|
||||
#include "hw/timer/mc146818rtc.h"
|
||||
#include "hw/timer/i8254.h"
|
||||
#include "hw/audio/pcspk.h"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include <signal.h>
|
||||
#include "hw/xen/xen_backend.h"
|
||||
#include "hw/xen_domainbuild.h"
|
||||
#include "xen_domainbuild.h"
|
||||
#include "qemu/timer.h"
|
||||
#include "qemu/log.h"
|
||||
|
||||
|
|
13
hw/i386/xen_domainbuild.h
Normal file
13
hw/i386/xen_domainbuild.h
Normal file
|
@ -0,0 +1,13 @@
|
|||
#ifndef QEMU_HW_XEN_DOMAINBUILD_H
|
||||
#define QEMU_HW_XEN_DOMAINBUILD_H 1
|
||||
|
||||
#include "hw/xen/xen_common.h"
|
||||
|
||||
int xenstore_domain_init1(const char *kernel, const char *ramdisk,
|
||||
const char *cmdline);
|
||||
int xenstore_domain_init2(int xenstore_port, int xenstore_mfn,
|
||||
int console_port, int console_mfn);
|
||||
int xen_domain_build_pv(const char *kernel, const char *ramdisk,
|
||||
const char *cmdline);
|
||||
|
||||
#endif /* QEMU_HW_XEN_DOMAINBUILD_H */
|
|
@ -26,7 +26,7 @@
|
|||
#include "hw/i386/pc.h"
|
||||
#include "hw/boards.h"
|
||||
#include "hw/xen/xen_backend.h"
|
||||
#include "hw/xen_domainbuild.h"
|
||||
#include "xen_domainbuild.h"
|
||||
#include "sysemu/blockdev.h"
|
||||
|
||||
static void xen_init_pv(QEMUMachineInitArgs *args)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue