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
@ -10,7 +10,7 @@
|
||||
#include "elf.h"
|
||||
#include "hw/loader.h"
|
||||
#include "hw/boards.h"
|
||||
#include "hw/alpha_sys.h"
|
||||
#include "alpha_sys.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
#include "hw/timer/mc146818rtc.h"
|
||||
#include "hw/ide.h"
|
||||
|
@ -7,7 +7,7 @@
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "hw/alpha_sys.h"
|
||||
#include "alpha_sys.h"
|
||||
#include "qemu/log.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
#include "hw/hw.h"
|
||||
#include "hw/arm/devices.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
#include "hw/alpha_sys.h"
|
||||
#include "alpha_sys.h"
|
||||
#include "exec/address-spaces.h"
|
||||
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
#include "hw/sysbus.h"
|
||||
#include "hw/boards.h"
|
||||
#include "hw/arm/devices.h"
|
||||
#include "hw/strongarm.h"
|
||||
#include "strongarm.h"
|
||||
#include "hw/arm.h"
|
||||
#include "hw/block/flash.h"
|
||||
#include "sysemu/blockdev.h"
|
||||
|
@ -27,7 +27,7 @@
|
||||
* GNU GPL, version 2 or (at your option) any later version.
|
||||
*/
|
||||
#include "hw/sysbus.h"
|
||||
#include "hw/strongarm.h"
|
||||
#include "strongarm.h"
|
||||
#include "qemu/error-report.h"
|
||||
#include "hw/arm.h"
|
||||
#include "char/char.h"
|
||||
|
@ -47,7 +47,7 @@
|
||||
void YMF262UpdateOneQEMU (int which, INT16 *dst, int length);
|
||||
#define SHIFT 2
|
||||
#else
|
||||
#include "hw/fmopl.h"
|
||||
#include "fmopl.h"
|
||||
#define SHIFT 1
|
||||
#endif
|
||||
|
||||
|
@ -39,7 +39,7 @@
|
||||
#include <stdarg.h>
|
||||
#include <math.h>
|
||||
//#include "driver.h" /* use M.A.M.E. */
|
||||
#include "hw/fmopl.h"
|
||||
#include "fmopl.h"
|
||||
|
||||
#ifndef PI
|
||||
#define PI 3.14159265358979323846
|
||||
|
@ -25,8 +25,8 @@
|
||||
#include "hw/audio/audio.h"
|
||||
#include "audio/audio.h"
|
||||
#include "hw/isa/isa.h"
|
||||
#include "hw/gusemu.h"
|
||||
#include "hw/gustate.h"
|
||||
#include "gusemu.h"
|
||||
#include "gustate.h"
|
||||
|
||||
#define dolog(...) AUD_log ("audio", __VA_ARGS__)
|
||||
#ifdef DEBUG
|
||||
|
@ -26,8 +26,8 @@
|
||||
* TODO: check mixer: see 7.20 of sdk for panning pos (applies to all gus models?)?
|
||||
*/
|
||||
|
||||
#include "hw/gustate.h"
|
||||
#include "hw/gusemu.h"
|
||||
#include "gustate.h"
|
||||
#include "gusemu.h"
|
||||
|
||||
#define GUSregb(position) (* (gusptr+(position)))
|
||||
#define GUSregw(position) (*(GUSword *) (gusptr+(position)))
|
||||
|
@ -22,8 +22,8 @@
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#include "hw/gusemu.h"
|
||||
#include "hw/gustate.h"
|
||||
#include "gusemu.h"
|
||||
#include "gustate.h"
|
||||
|
||||
#define GUSregb(position) (* (gusptr+(position)))
|
||||
#define GUSregw(position) (*(GUSword *) (gusptr+(position)))
|
||||
|
@ -19,8 +19,8 @@
|
||||
|
||||
#include "hw/hw.h"
|
||||
#include "hw/pci/pci.h"
|
||||
#include "hw/intel-hda.h"
|
||||
#include "hw/intel-hda-defs.h"
|
||||
#include "intel-hda.h"
|
||||
#include "intel-hda-defs.h"
|
||||
#include "audio/audio.h"
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
|
@ -22,8 +22,8 @@
|
||||
#include "hw/pci/msi.h"
|
||||
#include "qemu/timer.h"
|
||||
#include "hw/audio/audio.h"
|
||||
#include "hw/intel-hda.h"
|
||||
#include "hw/intel-hda-defs.h"
|
||||
#include "intel-hda.h"
|
||||
#include "intel-hda-defs.h"
|
||||
#include "sysemu/dma.h"
|
||||
|
||||
/* --------------------------------------------------------------------- */
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
#include "hw/hw.h"
|
||||
#include "audio/audio.h"
|
||||
#include "hw/lm4549.h"
|
||||
#include "lm4549.h"
|
||||
|
||||
#if 0
|
||||
#define LM4549_DEBUG 1
|
||||
|
@ -22,8 +22,8 @@
|
||||
|
||||
#include "hw/sysbus.h"
|
||||
|
||||
#include "hw/pl041.h"
|
||||
#include "hw/lm4549.h"
|
||||
#include "pl041.h"
|
||||
#include "lm4549.h"
|
||||
|
||||
#if 0
|
||||
#define PL041_DEBUG_LEVEL 1
|
||||
|
@ -37,7 +37,7 @@
|
||||
|
||||
#include "hw/hw.h"
|
||||
#include "hw/xen/xen_backend.h"
|
||||
#include "hw/xen_blkif.h"
|
||||
#include "xen_blkif.h"
|
||||
#include "sysemu/blockdev.h"
|
||||
|
||||
/* ------------------------------------------------------------- */
|
||||
|
@ -8,7 +8,7 @@
|
||||
* later version.
|
||||
*/
|
||||
|
||||
#include "hw/ipack.h"
|
||||
#include "ipack.h"
|
||||
|
||||
IPackDevice *ipack_device_find(IPackBus *bus, int32_t slot)
|
||||
{
|
||||
|
@ -8,7 +8,7 @@
|
||||
* later version.
|
||||
*/
|
||||
|
||||
#include "hw/ipack.h"
|
||||
#include "ipack.h"
|
||||
#include "qemu/bitops.h"
|
||||
#include "char/char.h"
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
* later version.
|
||||
*/
|
||||
|
||||
#include "hw/ipack.h"
|
||||
#include "ipack.h"
|
||||
#include "hw/pci/pci.h"
|
||||
#include "qemu/bitops.h"
|
||||
#include <stdio.h>
|
||||
|
@ -46,7 +46,7 @@
|
||||
#include "disas/disas.h"
|
||||
#include "monitor/monitor.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
#include "hw/uboot_image.h"
|
||||
#include "uboot_image.h"
|
||||
#include "hw/loader.h"
|
||||
#include "hw/nvram/fw_cfg.h"
|
||||
#include "exec/memory.h"
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include "hw/cris/etraxfs.h"
|
||||
#include "hw/loader.h"
|
||||
#include "elf.h"
|
||||
#include "hw/cris-boot.h"
|
||||
#include "boot.h"
|
||||
#include "sysemu/blockdev.h"
|
||||
#include "exec/address-spaces.h"
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include "hw/hw.h"
|
||||
#include "hw/loader.h"
|
||||
#include "elf.h"
|
||||
#include "hw/cris-boot.h"
|
||||
#include "boot.h"
|
||||
|
||||
static void main_cpu_reset(void *opaque)
|
||||
{
|
||||
|
@ -21,7 +21,7 @@
|
||||
#include "qemu-common.h"
|
||||
#include "ui/console.h"
|
||||
#include "hw/arm/devices.h"
|
||||
#include "hw/vga_int.h"
|
||||
#include "vga_int.h"
|
||||
#include "ui/pixel_ops.h"
|
||||
|
||||
typedef void (*blizzard_fn_t)(uint8_t *, const uint8_t *, unsigned int);
|
||||
@ -946,15 +946,15 @@ static void blizzard_screen_dump(void *opaque, const char *filename,
|
||||
}
|
||||
|
||||
#define DEPTH 8
|
||||
#include "hw/blizzard_template.h"
|
||||
#include "blizzard_template.h"
|
||||
#define DEPTH 15
|
||||
#include "hw/blizzard_template.h"
|
||||
#include "blizzard_template.h"
|
||||
#define DEPTH 16
|
||||
#include "hw/blizzard_template.h"
|
||||
#include "blizzard_template.h"
|
||||
#define DEPTH 24
|
||||
#include "hw/blizzard_template.h"
|
||||
#include "blizzard_template.h"
|
||||
#define DEPTH 32
|
||||
#include "hw/blizzard_template.h"
|
||||
#include "blizzard_template.h"
|
||||
|
||||
void *s1d13745_init(qemu_irq gpio_int)
|
||||
{
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include "hw/hw.h"
|
||||
#include "hw/pci/pci.h"
|
||||
#include "ui/console.h"
|
||||
#include "hw/vga_int.h"
|
||||
#include "vga_int.h"
|
||||
#include "hw/loader.h"
|
||||
|
||||
/*
|
||||
@ -288,63 +288,63 @@ static void cirrus_bitblt_fill_nop(CirrusVGAState *s,
|
||||
|
||||
#define ROP_NAME 0
|
||||
#define ROP_FN(d, s) 0
|
||||
#include "hw/cirrus_vga_rop.h"
|
||||
#include "cirrus_vga_rop.h"
|
||||
|
||||
#define ROP_NAME src_and_dst
|
||||
#define ROP_FN(d, s) (s) & (d)
|
||||
#include "hw/cirrus_vga_rop.h"
|
||||
#include "cirrus_vga_rop.h"
|
||||
|
||||
#define ROP_NAME src_and_notdst
|
||||
#define ROP_FN(d, s) (s) & (~(d))
|
||||
#include "hw/cirrus_vga_rop.h"
|
||||
#include "cirrus_vga_rop.h"
|
||||
|
||||
#define ROP_NAME notdst
|
||||
#define ROP_FN(d, s) ~(d)
|
||||
#include "hw/cirrus_vga_rop.h"
|
||||
#include "cirrus_vga_rop.h"
|
||||
|
||||
#define ROP_NAME src
|
||||
#define ROP_FN(d, s) s
|
||||
#include "hw/cirrus_vga_rop.h"
|
||||
#include "cirrus_vga_rop.h"
|
||||
|
||||
#define ROP_NAME 1
|
||||
#define ROP_FN(d, s) ~0
|
||||
#include "hw/cirrus_vga_rop.h"
|
||||
#include "cirrus_vga_rop.h"
|
||||
|
||||
#define ROP_NAME notsrc_and_dst
|
||||
#define ROP_FN(d, s) (~(s)) & (d)
|
||||
#include "hw/cirrus_vga_rop.h"
|
||||
#include "cirrus_vga_rop.h"
|
||||
|
||||
#define ROP_NAME src_xor_dst
|
||||
#define ROP_FN(d, s) (s) ^ (d)
|
||||
#include "hw/cirrus_vga_rop.h"
|
||||
#include "cirrus_vga_rop.h"
|
||||
|
||||
#define ROP_NAME src_or_dst
|
||||
#define ROP_FN(d, s) (s) | (d)
|
||||
#include "hw/cirrus_vga_rop.h"
|
||||
#include "cirrus_vga_rop.h"
|
||||
|
||||
#define ROP_NAME notsrc_or_notdst
|
||||
#define ROP_FN(d, s) (~(s)) | (~(d))
|
||||
#include "hw/cirrus_vga_rop.h"
|
||||
#include "cirrus_vga_rop.h"
|
||||
|
||||
#define ROP_NAME src_notxor_dst
|
||||
#define ROP_FN(d, s) ~((s) ^ (d))
|
||||
#include "hw/cirrus_vga_rop.h"
|
||||
#include "cirrus_vga_rop.h"
|
||||
|
||||
#define ROP_NAME src_or_notdst
|
||||
#define ROP_FN(d, s) (s) | (~(d))
|
||||
#include "hw/cirrus_vga_rop.h"
|
||||
#include "cirrus_vga_rop.h"
|
||||
|
||||
#define ROP_NAME notsrc
|
||||
#define ROP_FN(d, s) (~(s))
|
||||
#include "hw/cirrus_vga_rop.h"
|
||||
#include "cirrus_vga_rop.h"
|
||||
|
||||
#define ROP_NAME notsrc_or_dst
|
||||
#define ROP_FN(d, s) (~(s)) | (d)
|
||||
#include "hw/cirrus_vga_rop.h"
|
||||
#include "cirrus_vga_rop.h"
|
||||
|
||||
#define ROP_NAME notsrc_and_notdst
|
||||
#define ROP_FN(d, s) (~(s)) & (~(d))
|
||||
#include "hw/cirrus_vga_rop.h"
|
||||
#include "cirrus_vga_rop.h"
|
||||
|
||||
static const cirrus_bitblt_rop_t cirrus_fwd_rop[16] = {
|
||||
cirrus_bitblt_rop_fwd_0,
|
||||
@ -2166,13 +2166,13 @@ static void cirrus_cursor_invalidate(VGACommonState *s1)
|
||||
}
|
||||
|
||||
#define DEPTH 8
|
||||
#include "hw/cirrus_vga_template.h"
|
||||
#include "cirrus_vga_template.h"
|
||||
|
||||
#define DEPTH 16
|
||||
#include "hw/cirrus_vga_template.h"
|
||||
#include "cirrus_vga_template.h"
|
||||
|
||||
#define DEPTH 32
|
||||
#include "hw/cirrus_vga_template.h"
|
||||
#include "cirrus_vga_template.h"
|
||||
|
||||
static void cirrus_cursor_draw_line(VGACommonState *s1, uint8_t *d1, int scr_y)
|
||||
{
|
||||
|
@ -191,16 +191,16 @@ glue(glue(cirrus_bitblt_rop_bkwd_transp_, ROP_NAME),_16)(CirrusVGAState *s,
|
||||
}
|
||||
|
||||
#define DEPTH 8
|
||||
#include "hw/cirrus_vga_rop2.h"
|
||||
#include "cirrus_vga_rop2.h"
|
||||
|
||||
#define DEPTH 16
|
||||
#include "hw/cirrus_vga_rop2.h"
|
||||
#include "cirrus_vga_rop2.h"
|
||||
|
||||
#define DEPTH 24
|
||||
#include "hw/cirrus_vga_rop2.h"
|
||||
#include "cirrus_vga_rop2.h"
|
||||
|
||||
#define DEPTH 32
|
||||
#include "hw/cirrus_vga_rop2.h"
|
||||
#include "cirrus_vga_rop2.h"
|
||||
|
||||
#undef ROP_NAME
|
||||
#undef ROP_OP
|
@ -19,7 +19,7 @@
|
||||
|
||||
#include "hw/hw.h"
|
||||
#include "ui/console.h"
|
||||
#include "hw/framebuffer.h"
|
||||
#include "framebuffer.h"
|
||||
|
||||
/* Render an image from a shared memory framebuffer. */
|
||||
|
||||
|
@ -26,20 +26,20 @@
|
||||
#include "hw/sysbus.h"
|
||||
#include "trace.h"
|
||||
#include "ui/console.h"
|
||||
#include "hw/framebuffer.h"
|
||||
#include "framebuffer.h"
|
||||
#include "ui/pixel_ops.h"
|
||||
#include "qemu/error-report.h"
|
||||
|
||||
#define BITS 8
|
||||
#include "hw/milkymist-vgafb_template.h"
|
||||
#include "milkymist-vgafb_template.h"
|
||||
#define BITS 15
|
||||
#include "hw/milkymist-vgafb_template.h"
|
||||
#include "milkymist-vgafb_template.h"
|
||||
#define BITS 16
|
||||
#include "hw/milkymist-vgafb_template.h"
|
||||
#include "milkymist-vgafb_template.h"
|
||||
#define BITS 24
|
||||
#include "hw/milkymist-vgafb_template.h"
|
||||
#include "milkymist-vgafb_template.h"
|
||||
#define BITS 32
|
||||
#include "hw/milkymist-vgafb_template.h"
|
||||
#include "milkymist-vgafb_template.h"
|
||||
|
||||
enum {
|
||||
R_CTRL = 0,
|
||||
|
@ -19,7 +19,7 @@
|
||||
#include "hw/hw.h"
|
||||
#include "ui/console.h"
|
||||
#include "hw/arm/omap.h"
|
||||
#include "hw/framebuffer.h"
|
||||
#include "framebuffer.h"
|
||||
#include "ui/pixel_ops.h"
|
||||
|
||||
struct omap_lcd_panel_s {
|
||||
@ -70,13 +70,13 @@ static void omap_lcd_interrupts(struct omap_lcd_panel_s *s)
|
||||
#define draw_line_func drawfn
|
||||
|
||||
#define DEPTH 8
|
||||
#include "hw/omap_lcd_template.h"
|
||||
#include "omap_lcd_template.h"
|
||||
#define DEPTH 15
|
||||
#include "hw/omap_lcd_template.h"
|
||||
#include "omap_lcd_template.h"
|
||||
#define DEPTH 16
|
||||
#include "hw/omap_lcd_template.h"
|
||||
#include "omap_lcd_template.h"
|
||||
#define DEPTH 32
|
||||
#include "hw/omap_lcd_template.h"
|
||||
#include "omap_lcd_template.h"
|
||||
|
||||
static draw_line_func draw_line_table2[33] = {
|
||||
[0 ... 32] = NULL,
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
#include "hw/sysbus.h"
|
||||
#include "ui/console.h"
|
||||
#include "hw/framebuffer.h"
|
||||
#include "framebuffer.h"
|
||||
#include "ui/pixel_ops.h"
|
||||
|
||||
#define PL110_CR_EN 0x001
|
||||
@ -111,15 +111,15 @@ static const unsigned char *idregs[] = {
|
||||
};
|
||||
|
||||
#define BITS 8
|
||||
#include "hw/pl110_template.h"
|
||||
#include "pl110_template.h"
|
||||
#define BITS 15
|
||||
#include "hw/pl110_template.h"
|
||||
#include "pl110_template.h"
|
||||
#define BITS 16
|
||||
#include "hw/pl110_template.h"
|
||||
#include "pl110_template.h"
|
||||
#define BITS 24
|
||||
#include "hw/pl110_template.h"
|
||||
#include "pl110_template.h"
|
||||
#define BITS 32
|
||||
#include "hw/pl110_template.h"
|
||||
#include "pl110_template.h"
|
||||
|
||||
static int pl110_enabled(pl110_state *s)
|
||||
{
|
||||
|
@ -27,20 +27,20 @@
|
||||
#undef RGB
|
||||
#define BORDER bgr
|
||||
#define ORDER 0
|
||||
#include "hw/pl110_template.h"
|
||||
#include "pl110_template.h"
|
||||
#define ORDER 1
|
||||
#include "hw/pl110_template.h"
|
||||
#include "pl110_template.h"
|
||||
#define ORDER 2
|
||||
#include "hw/pl110_template.h"
|
||||
#include "pl110_template.h"
|
||||
#undef BORDER
|
||||
#define RGB
|
||||
#define BORDER rgb
|
||||
#define ORDER 0
|
||||
#include "hw/pl110_template.h"
|
||||
#include "pl110_template.h"
|
||||
#define ORDER 1
|
||||
#include "hw/pl110_template.h"
|
||||
#include "pl110_template.h"
|
||||
#define ORDER 2
|
||||
#include "hw/pl110_template.h"
|
||||
#include "pl110_template.h"
|
||||
#undef BORDER
|
||||
|
||||
static drawfn glue(pl110_draw_fn_,BITS)[48] =
|
@ -16,7 +16,7 @@
|
||||
#include "ui/pixel_ops.h"
|
||||
/* FIXME: For graphic_rotate. Should probably be done in common code. */
|
||||
#include "sysemu/sysemu.h"
|
||||
#include "hw/framebuffer.h"
|
||||
#include "framebuffer.h"
|
||||
|
||||
struct DMAChannel {
|
||||
uint32_t branch;
|
||||
@ -981,15 +981,15 @@ static const VMStateDescription vmstate_pxa2xx_lcdc = {
|
||||
};
|
||||
|
||||
#define BITS 8
|
||||
#include "hw/pxa2xx_template.h"
|
||||
#include "pxa2xx_template.h"
|
||||
#define BITS 15
|
||||
#include "hw/pxa2xx_template.h"
|
||||
#include "pxa2xx_template.h"
|
||||
#define BITS 16
|
||||
#include "hw/pxa2xx_template.h"
|
||||
#include "pxa2xx_template.h"
|
||||
#define BITS 24
|
||||
#include "hw/pxa2xx_template.h"
|
||||
#include "pxa2xx_template.h"
|
||||
#define BITS 32
|
||||
#include "hw/pxa2xx_template.h"
|
||||
#include "pxa2xx_template.h"
|
||||
|
||||
PXA2xxLCDState *pxa2xx_lcdc_init(MemoryRegion *sysmem,
|
||||
hwaddr base, qemu_irq irq)
|
||||
|
@ -20,7 +20,7 @@
|
||||
*/
|
||||
|
||||
#include "qemu/timer.h"
|
||||
#include "hw/qxl.h"
|
||||
#include "qxl.h"
|
||||
|
||||
static const char *qxl_type[] = {
|
||||
[ QXL_CMD_NOP ] = "nop",
|
||||
|
@ -19,7 +19,7 @@
|
||||
* along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "hw/qxl.h"
|
||||
#include "qxl.h"
|
||||
|
||||
static void qxl_blit(PCIQXLDevice *qxl, QXLRect *rect)
|
||||
{
|
||||
|
@ -27,7 +27,7 @@
|
||||
#include "sysemu/sysemu.h"
|
||||
#include "trace.h"
|
||||
|
||||
#include "hw/qxl.h"
|
||||
#include "qxl.h"
|
||||
|
||||
/*
|
||||
* NOTE: SPICE_RING_PROD_ITEM accesses memory on the pci bar and as
|
||||
|
@ -6,7 +6,7 @@
|
||||
#include "ui/console.h"
|
||||
#include "hw/hw.h"
|
||||
#include "hw/pci/pci.h"
|
||||
#include "hw/vga_int.h"
|
||||
#include "vga_int.h"
|
||||
#include "qemu/thread.h"
|
||||
|
||||
#include "ui/qemu-spice.h"
|
@ -1171,28 +1171,28 @@ typedef void draw_hwc_line_func(SM501State * s, int crt, uint8_t * palette,
|
||||
int c_y, uint8_t *d, int width);
|
||||
|
||||
#define DEPTH 8
|
||||
#include "hw/sm501_template.h"
|
||||
#include "sm501_template.h"
|
||||
|
||||
#define DEPTH 15
|
||||
#include "hw/sm501_template.h"
|
||||
#include "sm501_template.h"
|
||||
|
||||
#define BGR_FORMAT
|
||||
#define DEPTH 15
|
||||
#include "hw/sm501_template.h"
|
||||
#include "sm501_template.h"
|
||||
|
||||
#define DEPTH 16
|
||||
#include "hw/sm501_template.h"
|
||||
#include "sm501_template.h"
|
||||
|
||||
#define BGR_FORMAT
|
||||
#define DEPTH 16
|
||||
#include "hw/sm501_template.h"
|
||||
#include "sm501_template.h"
|
||||
|
||||
#define DEPTH 32
|
||||
#include "hw/sm501_template.h"
|
||||
#include "sm501_template.h"
|
||||
|
||||
#define BGR_FORMAT
|
||||
#define DEPTH 32
|
||||
#include "hw/sm501_template.h"
|
||||
#include "sm501_template.h"
|
||||
|
||||
static draw_line_func * draw_line8_funcs[] = {
|
||||
draw_line8_8,
|
||||
|
@ -421,15 +421,15 @@ static void tc6393xb_nand_writeb(TC6393xbState *s, hwaddr addr, uint32_t value)
|
||||
}
|
||||
|
||||
#define BITS 8
|
||||
#include "hw/tc6393xb_template.h"
|
||||
#include "tc6393xb_template.h"
|
||||
#define BITS 15
|
||||
#include "hw/tc6393xb_template.h"
|
||||
#include "tc6393xb_template.h"
|
||||
#define BITS 16
|
||||
#include "hw/tc6393xb_template.h"
|
||||
#include "tc6393xb_template.h"
|
||||
#define BITS 24
|
||||
#include "hw/tc6393xb_template.h"
|
||||
#include "tc6393xb_template.h"
|
||||
#define BITS 32
|
||||
#include "hw/tc6393xb_template.h"
|
||||
#include "tc6393xb_template.h"
|
||||
|
||||
static void tc6393xb_draw_graphic(TC6393xbState *s, int full_update)
|
||||
{
|
||||
|
@ -24,7 +24,7 @@
|
||||
#include "hw/hw.h"
|
||||
#include "ui/console.h"
|
||||
#include "hw/i386/pc.h"
|
||||
#include "hw/vga_int.h"
|
||||
#include "vga_int.h"
|
||||
#include "ui/pixel_ops.h"
|
||||
#include "qemu/timer.h"
|
||||
|
||||
|
@ -26,7 +26,7 @@
|
||||
#include "hw/hw.h"
|
||||
#include "ui/console.h"
|
||||
#include "hw/i386/pc.h"
|
||||
#include "hw/vga_int.h"
|
||||
#include "vga_int.h"
|
||||
#include "ui/pixel_ops.h"
|
||||
#include "qemu/timer.h"
|
||||
#include "hw/loader.h"
|
||||
|
@ -26,7 +26,7 @@
|
||||
#include "hw/hw.h"
|
||||
#include "ui/console.h"
|
||||
#include "hw/pci/pci.h"
|
||||
#include "hw/vga_int.h"
|
||||
#include "vga_int.h"
|
||||
#include "ui/pixel_ops.h"
|
||||
#include "qemu/timer.h"
|
||||
#include "hw/loader.h"
|
||||
|
@ -22,11 +22,11 @@
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
#include "hw/hw.h"
|
||||
#include "hw/vga.h"
|
||||
#include "vga.h"
|
||||
#include "ui/console.h"
|
||||
#include "hw/i386/pc.h"
|
||||
#include "hw/pci/pci.h"
|
||||
#include "hw/vga_int.h"
|
||||
#include "vga_int.h"
|
||||
#include "ui/pixel_ops.h"
|
||||
#include "qemu/timer.h"
|
||||
#include "hw/xen/xen.h"
|
||||
@ -986,28 +986,28 @@ typedef void vga_draw_line_func(VGACommonState *s1, uint8_t *d,
|
||||
const uint8_t *s, int width);
|
||||
|
||||
#define DEPTH 8
|
||||
#include "hw/vga_template.h"
|
||||
#include "vga_template.h"
|
||||
|
||||
#define DEPTH 15
|
||||
#include "hw/vga_template.h"
|
||||
#include "vga_template.h"
|
||||
|
||||
#define BGR_FORMAT
|
||||
#define DEPTH 15
|
||||
#include "hw/vga_template.h"
|
||||
#include "vga_template.h"
|
||||
|
||||
#define DEPTH 16
|
||||
#include "hw/vga_template.h"
|
||||
#include "vga_template.h"
|
||||
|
||||
#define BGR_FORMAT
|
||||
#define DEPTH 16
|
||||
#include "hw/vga_template.h"
|
||||
#include "vga_template.h"
|
||||
|
||||
#define DEPTH 32
|
||||
#include "hw/vga_template.h"
|
||||
#include "vga_template.h"
|
||||
|
||||
#define BGR_FORMAT
|
||||
#define DEPTH 32
|
||||
#include "hw/vga_template.h"
|
||||
#include "vga_template.h"
|
||||
|
||||
static unsigned int rgb_to_pixel8_dup(unsigned int r, unsigned int g, unsigned b)
|
||||
{
|
||||
|
@ -31,7 +31,7 @@
|
||||
#define HW_FILL_ACCEL
|
||||
#define HW_MOUSE_ACCEL
|
||||
|
||||
#include "hw/vga_int.h"
|
||||
#include "vga_int.h"
|
||||
|
||||
/* See http://vmware-svga.sf.net/ for some documentation on VMWare SVGA */
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
* GNU GPL, version 2 or (at your option) any later version.
|
||||
*/
|
||||
#include "hw/hw.h"
|
||||
#include "hw/bitbang_i2c.h"
|
||||
#include "bitbang_i2c.h"
|
||||
#include "hw/sysbus.h"
|
||||
|
||||
//#define DEBUG_BITBANG_I2C
|
||||
|
@ -22,7 +22,7 @@
|
||||
*/
|
||||
|
||||
#include "hw/sysbus.h"
|
||||
#include "hw/bitbang_i2c.h"
|
||||
#include "bitbang_i2c.h"
|
||||
|
||||
typedef struct {
|
||||
SysBusDevice busdev;
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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)
|
||||
|
@ -19,7 +19,7 @@
|
||||
*/
|
||||
|
||||
#include "hw/sysbus.h"
|
||||
#include "hw/arm_gic_internal.h"
|
||||
#include "gic_internal.h"
|
||||
|
||||
//#define DEBUG_GIC
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
* with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "hw/arm_gic_internal.h"
|
||||
#include "gic_internal.h"
|
||||
|
||||
static void gic_pre_save(void *opaque)
|
||||
{
|
||||
|
@ -21,7 +21,7 @@
|
||||
#include "hw/sysbus.h"
|
||||
#include "sysemu/kvm.h"
|
||||
#include "kvm_arm.h"
|
||||
#include "hw/arm_gic_internal.h"
|
||||
#include "gic_internal.h"
|
||||
|
||||
#define TYPE_KVM_ARM_GIC "kvm-arm-gic"
|
||||
#define KVM_ARM_GIC(obj) \
|
||||
|
@ -14,7 +14,7 @@
|
||||
#include "qemu/timer.h"
|
||||
#include "hw/arm.h"
|
||||
#include "exec/address-spaces.h"
|
||||
#include "hw/arm_gic_internal.h"
|
||||
#include "gic_internal.h"
|
||||
|
||||
typedef struct {
|
||||
GICState gic;
|
||||
|
@ -25,8 +25,8 @@
|
||||
#include "hw/loader.h"
|
||||
#include "sysemu/blockdev.h"
|
||||
#include "elf.h"
|
||||
#include "hw/lm32_hwsetup.h"
|
||||
#include "hw/lm32.h"
|
||||
#include "lm32_hwsetup.h"
|
||||
#include "lm32.h"
|
||||
#include "exec/address-spaces.h"
|
||||
|
||||
typedef struct {
|
||||
|
@ -26,8 +26,8 @@
|
||||
#include "hw/loader.h"
|
||||
#include "elf.h"
|
||||
#include "sysemu/blockdev.h"
|
||||
#include "hw/milkymist-hw.h"
|
||||
#include "hw/lm32.h"
|
||||
#include "milkymist-hw.h"
|
||||
#include "lm32.h"
|
||||
#include "exec/address-spaces.h"
|
||||
|
||||
#define BIOS_FILENAME "mmone-bios.bin"
|
||||
|
@ -31,7 +31,7 @@
|
||||
#include "hw/loader.h"
|
||||
#include "elf.h"
|
||||
|
||||
#include "hw/microblaze_boot.h"
|
||||
#include "boot.h"
|
||||
|
||||
static struct
|
||||
{
|
||||
|
@ -38,8 +38,8 @@
|
||||
#include "exec/address-spaces.h"
|
||||
#include "hw/ssi.h"
|
||||
|
||||
#include "hw/microblaze_boot.h"
|
||||
#include "hw/microblaze_pic_cpu.h"
|
||||
#include "boot.h"
|
||||
#include "pic_cpu.h"
|
||||
|
||||
#include "hw/stream.h"
|
||||
|
||||
|
@ -34,8 +34,8 @@
|
||||
#include "sysemu/blockdev.h"
|
||||
#include "exec/address-spaces.h"
|
||||
|
||||
#include "hw/microblaze_boot.h"
|
||||
#include "hw/microblaze_pic_cpu.h"
|
||||
#include "boot.h"
|
||||
#include "pic_cpu.h"
|
||||
|
||||
#define LMB_BRAM_SIZE (128 * 1024)
|
||||
#define FLASH_SIZE (16 * 1024 * 1024)
|
||||
|
@ -23,7 +23,7 @@
|
||||
*/
|
||||
|
||||
#include "hw/hw.h"
|
||||
#include "hw/microblaze_pic_cpu.h"
|
||||
#include "pic_cpu.h"
|
||||
|
||||
#define D(x)
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
#include "hw/hw.h"
|
||||
#include "hw/i2c/i2c.h"
|
||||
#include "hw/tmp105.h"
|
||||
#include "tmp105.h"
|
||||
#include "qapi/visitor.h"
|
||||
|
||||
static void tmp105_interrupt_update(TMP105State *s)
|
||||
|
@ -33,7 +33,7 @@
|
||||
#include "sysemu/sysemu.h"
|
||||
#include "sysemu/dma.h"
|
||||
|
||||
#include "hw/e1000_hw.h"
|
||||
#include "e1000_regs.h"
|
||||
|
||||
#define E1000_DEBUG
|
||||
|
||||
|
@ -40,7 +40,7 @@
|
||||
#include "qemu/timer.h"
|
||||
#include "qemu/sockets.h"
|
||||
#include "hw/sparc/sun4m.h"
|
||||
#include "hw/pcnet.h"
|
||||
#include "pcnet.h"
|
||||
#include "trace.h"
|
||||
|
||||
typedef struct {
|
||||
|
@ -26,7 +26,7 @@
|
||||
#include "hw/isa/isa.h"
|
||||
#include "hw/qdev.h"
|
||||
#include "net/net.h"
|
||||
#include "hw/ne2000.h"
|
||||
#include "ne2000.h"
|
||||
#include "exec/address-spaces.h"
|
||||
|
||||
typedef struct ISANE2000State {
|
||||
|
@ -24,7 +24,7 @@
|
||||
#include "hw/hw.h"
|
||||
#include "hw/pci/pci.h"
|
||||
#include "net/net.h"
|
||||
#include "hw/ne2000.h"
|
||||
#include "ne2000.h"
|
||||
#include "hw/loader.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
|
||||
|
@ -33,7 +33,7 @@
|
||||
#include "qemu/timer.h"
|
||||
#include "sysemu/dma.h"
|
||||
|
||||
#include "hw/pcnet.h"
|
||||
#include "pcnet.h"
|
||||
|
||||
//#define PCNET_DEBUG
|
||||
//#define PCNET_DEBUG_IO
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user