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:
Paolo Bonzini 2013-03-18 17:36:02 +01:00
parent 8d8b636d28
commit 47b43a1f41
141 changed files with 169 additions and 169 deletions

View File

@ -10,7 +10,7 @@
#include "elf.h" #include "elf.h"
#include "hw/loader.h" #include "hw/loader.h"
#include "hw/boards.h" #include "hw/boards.h"
#include "hw/alpha_sys.h" #include "alpha_sys.h"
#include "sysemu/sysemu.h" #include "sysemu/sysemu.h"
#include "hw/timer/mc146818rtc.h" #include "hw/timer/mc146818rtc.h"
#include "hw/ide.h" #include "hw/ide.h"

View File

@ -7,7 +7,7 @@
*/ */
#include "config.h" #include "config.h"
#include "hw/alpha_sys.h" #include "alpha_sys.h"
#include "qemu/log.h" #include "qemu/log.h"
#include "sysemu/sysemu.h" #include "sysemu/sysemu.h"

View File

@ -11,7 +11,7 @@
#include "hw/hw.h" #include "hw/hw.h"
#include "hw/arm/devices.h" #include "hw/arm/devices.h"
#include "sysemu/sysemu.h" #include "sysemu/sysemu.h"
#include "hw/alpha_sys.h" #include "alpha_sys.h"
#include "exec/address-spaces.h" #include "exec/address-spaces.h"

View File

@ -12,7 +12,7 @@
#include "hw/sysbus.h" #include "hw/sysbus.h"
#include "hw/boards.h" #include "hw/boards.h"
#include "hw/arm/devices.h" #include "hw/arm/devices.h"
#include "hw/strongarm.h" #include "strongarm.h"
#include "hw/arm.h" #include "hw/arm.h"
#include "hw/block/flash.h" #include "hw/block/flash.h"
#include "sysemu/blockdev.h" #include "sysemu/blockdev.h"

View File

@ -27,7 +27,7 @@
* GNU GPL, version 2 or (at your option) any later version. * GNU GPL, version 2 or (at your option) any later version.
*/ */
#include "hw/sysbus.h" #include "hw/sysbus.h"
#include "hw/strongarm.h" #include "strongarm.h"
#include "qemu/error-report.h" #include "qemu/error-report.h"
#include "hw/arm.h" #include "hw/arm.h"
#include "char/char.h" #include "char/char.h"

View File

@ -47,7 +47,7 @@
void YMF262UpdateOneQEMU (int which, INT16 *dst, int length); void YMF262UpdateOneQEMU (int which, INT16 *dst, int length);
#define SHIFT 2 #define SHIFT 2
#else #else
#include "hw/fmopl.h" #include "fmopl.h"
#define SHIFT 1 #define SHIFT 1
#endif #endif

View File

@ -39,7 +39,7 @@
#include <stdarg.h> #include <stdarg.h>
#include <math.h> #include <math.h>
//#include "driver.h" /* use M.A.M.E. */ //#include "driver.h" /* use M.A.M.E. */
#include "hw/fmopl.h" #include "fmopl.h"
#ifndef PI #ifndef PI
#define PI 3.14159265358979323846 #define PI 3.14159265358979323846

View File

@ -25,8 +25,8 @@
#include "hw/audio/audio.h" #include "hw/audio/audio.h"
#include "audio/audio.h" #include "audio/audio.h"
#include "hw/isa/isa.h" #include "hw/isa/isa.h"
#include "hw/gusemu.h" #include "gusemu.h"
#include "hw/gustate.h" #include "gustate.h"
#define dolog(...) AUD_log ("audio", __VA_ARGS__) #define dolog(...) AUD_log ("audio", __VA_ARGS__)
#ifdef DEBUG #ifdef DEBUG

View File

@ -26,8 +26,8 @@
* TODO: check mixer: see 7.20 of sdk for panning pos (applies to all gus models?)? * TODO: check mixer: see 7.20 of sdk for panning pos (applies to all gus models?)?
*/ */
#include "hw/gustate.h" #include "gustate.h"
#include "hw/gusemu.h" #include "gusemu.h"
#define GUSregb(position) (* (gusptr+(position))) #define GUSregb(position) (* (gusptr+(position)))
#define GUSregw(position) (*(GUSword *) (gusptr+(position))) #define GUSregw(position) (*(GUSword *) (gusptr+(position)))

View File

@ -22,8 +22,8 @@
* THE SOFTWARE. * THE SOFTWARE.
*/ */
#include "hw/gusemu.h" #include "gusemu.h"
#include "hw/gustate.h" #include "gustate.h"
#define GUSregb(position) (* (gusptr+(position))) #define GUSregb(position) (* (gusptr+(position)))
#define GUSregw(position) (*(GUSword *) (gusptr+(position))) #define GUSregw(position) (*(GUSword *) (gusptr+(position)))

View File

@ -19,8 +19,8 @@
#include "hw/hw.h" #include "hw/hw.h"
#include "hw/pci/pci.h" #include "hw/pci/pci.h"
#include "hw/intel-hda.h" #include "intel-hda.h"
#include "hw/intel-hda-defs.h" #include "intel-hda-defs.h"
#include "audio/audio.h" #include "audio/audio.h"
/* -------------------------------------------------------------------------- */ /* -------------------------------------------------------------------------- */

View File

@ -22,8 +22,8 @@
#include "hw/pci/msi.h" #include "hw/pci/msi.h"
#include "qemu/timer.h" #include "qemu/timer.h"
#include "hw/audio/audio.h" #include "hw/audio/audio.h"
#include "hw/intel-hda.h" #include "intel-hda.h"
#include "hw/intel-hda-defs.h" #include "intel-hda-defs.h"
#include "sysemu/dma.h" #include "sysemu/dma.h"
/* --------------------------------------------------------------------- */ /* --------------------------------------------------------------------- */

View File

@ -15,7 +15,7 @@
#include "hw/hw.h" #include "hw/hw.h"
#include "audio/audio.h" #include "audio/audio.h"
#include "hw/lm4549.h" #include "lm4549.h"
#if 0 #if 0
#define LM4549_DEBUG 1 #define LM4549_DEBUG 1

View File

@ -22,8 +22,8 @@
#include "hw/sysbus.h" #include "hw/sysbus.h"
#include "hw/pl041.h" #include "pl041.h"
#include "hw/lm4549.h" #include "lm4549.h"
#if 0 #if 0
#define PL041_DEBUG_LEVEL 1 #define PL041_DEBUG_LEVEL 1

View File

@ -37,7 +37,7 @@
#include "hw/hw.h" #include "hw/hw.h"
#include "hw/xen/xen_backend.h" #include "hw/xen/xen_backend.h"
#include "hw/xen_blkif.h" #include "xen_blkif.h"
#include "sysemu/blockdev.h" #include "sysemu/blockdev.h"
/* ------------------------------------------------------------- */ /* ------------------------------------------------------------- */

View File

@ -8,7 +8,7 @@
* later version. * later version.
*/ */
#include "hw/ipack.h" #include "ipack.h"
IPackDevice *ipack_device_find(IPackBus *bus, int32_t slot) IPackDevice *ipack_device_find(IPackBus *bus, int32_t slot)
{ {

View File

@ -8,7 +8,7 @@
* later version. * later version.
*/ */
#include "hw/ipack.h" #include "ipack.h"
#include "qemu/bitops.h" #include "qemu/bitops.h"
#include "char/char.h" #include "char/char.h"

View File

@ -8,7 +8,7 @@
* later version. * later version.
*/ */
#include "hw/ipack.h" #include "ipack.h"
#include "hw/pci/pci.h" #include "hw/pci/pci.h"
#include "qemu/bitops.h" #include "qemu/bitops.h"
#include <stdio.h> #include <stdio.h>

View File

@ -46,7 +46,7 @@
#include "disas/disas.h" #include "disas/disas.h"
#include "monitor/monitor.h" #include "monitor/monitor.h"
#include "sysemu/sysemu.h" #include "sysemu/sysemu.h"
#include "hw/uboot_image.h" #include "uboot_image.h"
#include "hw/loader.h" #include "hw/loader.h"
#include "hw/nvram/fw_cfg.h" #include "hw/nvram/fw_cfg.h"
#include "exec/memory.h" #include "exec/memory.h"

View File

@ -29,7 +29,7 @@
#include "hw/cris/etraxfs.h" #include "hw/cris/etraxfs.h"
#include "hw/loader.h" #include "hw/loader.h"
#include "elf.h" #include "elf.h"
#include "hw/cris-boot.h" #include "boot.h"
#include "sysemu/blockdev.h" #include "sysemu/blockdev.h"
#include "exec/address-spaces.h" #include "exec/address-spaces.h"

View File

@ -25,7 +25,7 @@
#include "hw/hw.h" #include "hw/hw.h"
#include "hw/loader.h" #include "hw/loader.h"
#include "elf.h" #include "elf.h"
#include "hw/cris-boot.h" #include "boot.h"
static void main_cpu_reset(void *opaque) static void main_cpu_reset(void *opaque)
{ {

View File

@ -21,7 +21,7 @@
#include "qemu-common.h" #include "qemu-common.h"
#include "ui/console.h" #include "ui/console.h"
#include "hw/arm/devices.h" #include "hw/arm/devices.h"
#include "hw/vga_int.h" #include "vga_int.h"
#include "ui/pixel_ops.h" #include "ui/pixel_ops.h"
typedef void (*blizzard_fn_t)(uint8_t *, const uint8_t *, unsigned int); 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 #define DEPTH 8
#include "hw/blizzard_template.h" #include "blizzard_template.h"
#define DEPTH 15 #define DEPTH 15
#include "hw/blizzard_template.h" #include "blizzard_template.h"
#define DEPTH 16 #define DEPTH 16
#include "hw/blizzard_template.h" #include "blizzard_template.h"
#define DEPTH 24 #define DEPTH 24
#include "hw/blizzard_template.h" #include "blizzard_template.h"
#define DEPTH 32 #define DEPTH 32
#include "hw/blizzard_template.h" #include "blizzard_template.h"
void *s1d13745_init(qemu_irq gpio_int) void *s1d13745_init(qemu_irq gpio_int)
{ {

View File

@ -29,7 +29,7 @@
#include "hw/hw.h" #include "hw/hw.h"
#include "hw/pci/pci.h" #include "hw/pci/pci.h"
#include "ui/console.h" #include "ui/console.h"
#include "hw/vga_int.h" #include "vga_int.h"
#include "hw/loader.h" #include "hw/loader.h"
/* /*
@ -288,63 +288,63 @@ static void cirrus_bitblt_fill_nop(CirrusVGAState *s,
#define ROP_NAME 0 #define ROP_NAME 0
#define ROP_FN(d, s) 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_NAME src_and_dst
#define ROP_FN(d, s) (s) & (d) #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_NAME src_and_notdst
#define ROP_FN(d, s) (s) & (~(d)) #define ROP_FN(d, s) (s) & (~(d))
#include "hw/cirrus_vga_rop.h" #include "cirrus_vga_rop.h"
#define ROP_NAME notdst #define ROP_NAME notdst
#define ROP_FN(d, s) ~(d) #define ROP_FN(d, s) ~(d)
#include "hw/cirrus_vga_rop.h" #include "cirrus_vga_rop.h"
#define ROP_NAME src #define ROP_NAME src
#define ROP_FN(d, s) s #define ROP_FN(d, s) s
#include "hw/cirrus_vga_rop.h" #include "cirrus_vga_rop.h"
#define ROP_NAME 1 #define ROP_NAME 1
#define ROP_FN(d, s) ~0 #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_NAME notsrc_and_dst
#define ROP_FN(d, s) (~(s)) & (d) #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_NAME src_xor_dst
#define ROP_FN(d, s) (s) ^ (d) #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_NAME src_or_dst
#define ROP_FN(d, s) (s) | (d) #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_NAME notsrc_or_notdst
#define ROP_FN(d, s) (~(s)) | (~(d)) #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_NAME src_notxor_dst
#define ROP_FN(d, s) ~((s) ^ (d)) #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_NAME src_or_notdst
#define ROP_FN(d, s) (s) | (~(d)) #define ROP_FN(d, s) (s) | (~(d))
#include "hw/cirrus_vga_rop.h" #include "cirrus_vga_rop.h"
#define ROP_NAME notsrc #define ROP_NAME notsrc
#define ROP_FN(d, s) (~(s)) #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_NAME notsrc_or_dst
#define ROP_FN(d, s) (~(s)) | (d) #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_NAME notsrc_and_notdst
#define ROP_FN(d, s) (~(s)) & (~(d)) #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] = { static const cirrus_bitblt_rop_t cirrus_fwd_rop[16] = {
cirrus_bitblt_rop_fwd_0, cirrus_bitblt_rop_fwd_0,
@ -2166,13 +2166,13 @@ static void cirrus_cursor_invalidate(VGACommonState *s1)
} }
#define DEPTH 8 #define DEPTH 8
#include "hw/cirrus_vga_template.h" #include "cirrus_vga_template.h"
#define DEPTH 16 #define DEPTH 16
#include "hw/cirrus_vga_template.h" #include "cirrus_vga_template.h"
#define DEPTH 32 #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) static void cirrus_cursor_draw_line(VGACommonState *s1, uint8_t *d1, int scr_y)
{ {

View File

@ -191,16 +191,16 @@ glue(glue(cirrus_bitblt_rop_bkwd_transp_, ROP_NAME),_16)(CirrusVGAState *s,
} }
#define DEPTH 8 #define DEPTH 8
#include "hw/cirrus_vga_rop2.h" #include "cirrus_vga_rop2.h"
#define DEPTH 16 #define DEPTH 16
#include "hw/cirrus_vga_rop2.h" #include "cirrus_vga_rop2.h"
#define DEPTH 24 #define DEPTH 24
#include "hw/cirrus_vga_rop2.h" #include "cirrus_vga_rop2.h"
#define DEPTH 32 #define DEPTH 32
#include "hw/cirrus_vga_rop2.h" #include "cirrus_vga_rop2.h"
#undef ROP_NAME #undef ROP_NAME
#undef ROP_OP #undef ROP_OP

View File

@ -19,7 +19,7 @@
#include "hw/hw.h" #include "hw/hw.h"
#include "ui/console.h" #include "ui/console.h"
#include "hw/framebuffer.h" #include "framebuffer.h"
/* Render an image from a shared memory framebuffer. */ /* Render an image from a shared memory framebuffer. */

View File

@ -26,20 +26,20 @@
#include "hw/sysbus.h" #include "hw/sysbus.h"
#include "trace.h" #include "trace.h"
#include "ui/console.h" #include "ui/console.h"
#include "hw/framebuffer.h" #include "framebuffer.h"
#include "ui/pixel_ops.h" #include "ui/pixel_ops.h"
#include "qemu/error-report.h" #include "qemu/error-report.h"
#define BITS 8 #define BITS 8
#include "hw/milkymist-vgafb_template.h" #include "milkymist-vgafb_template.h"
#define BITS 15 #define BITS 15
#include "hw/milkymist-vgafb_template.h" #include "milkymist-vgafb_template.h"
#define BITS 16 #define BITS 16
#include "hw/milkymist-vgafb_template.h" #include "milkymist-vgafb_template.h"
#define BITS 24 #define BITS 24
#include "hw/milkymist-vgafb_template.h" #include "milkymist-vgafb_template.h"
#define BITS 32 #define BITS 32
#include "hw/milkymist-vgafb_template.h" #include "milkymist-vgafb_template.h"
enum { enum {
R_CTRL = 0, R_CTRL = 0,

View File

@ -19,7 +19,7 @@
#include "hw/hw.h" #include "hw/hw.h"
#include "ui/console.h" #include "ui/console.h"
#include "hw/arm/omap.h" #include "hw/arm/omap.h"
#include "hw/framebuffer.h" #include "framebuffer.h"
#include "ui/pixel_ops.h" #include "ui/pixel_ops.h"
struct omap_lcd_panel_s { 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 draw_line_func drawfn
#define DEPTH 8 #define DEPTH 8
#include "hw/omap_lcd_template.h" #include "omap_lcd_template.h"
#define DEPTH 15 #define DEPTH 15
#include "hw/omap_lcd_template.h" #include "omap_lcd_template.h"
#define DEPTH 16 #define DEPTH 16
#include "hw/omap_lcd_template.h" #include "omap_lcd_template.h"
#define DEPTH 32 #define DEPTH 32
#include "hw/omap_lcd_template.h" #include "omap_lcd_template.h"
static draw_line_func draw_line_table2[33] = { static draw_line_func draw_line_table2[33] = {
[0 ... 32] = NULL, [0 ... 32] = NULL,

View File

@ -9,7 +9,7 @@
#include "hw/sysbus.h" #include "hw/sysbus.h"
#include "ui/console.h" #include "ui/console.h"
#include "hw/framebuffer.h" #include "framebuffer.h"
#include "ui/pixel_ops.h" #include "ui/pixel_ops.h"
#define PL110_CR_EN 0x001 #define PL110_CR_EN 0x001
@ -111,15 +111,15 @@ static const unsigned char *idregs[] = {
}; };
#define BITS 8 #define BITS 8
#include "hw/pl110_template.h" #include "pl110_template.h"
#define BITS 15 #define BITS 15
#include "hw/pl110_template.h" #include "pl110_template.h"
#define BITS 16 #define BITS 16
#include "hw/pl110_template.h" #include "pl110_template.h"
#define BITS 24 #define BITS 24
#include "hw/pl110_template.h" #include "pl110_template.h"
#define BITS 32 #define BITS 32
#include "hw/pl110_template.h" #include "pl110_template.h"
static int pl110_enabled(pl110_state *s) static int pl110_enabled(pl110_state *s)
{ {

View File

@ -27,20 +27,20 @@
#undef RGB #undef RGB
#define BORDER bgr #define BORDER bgr
#define ORDER 0 #define ORDER 0
#include "hw/pl110_template.h" #include "pl110_template.h"
#define ORDER 1 #define ORDER 1
#include "hw/pl110_template.h" #include "pl110_template.h"
#define ORDER 2 #define ORDER 2
#include "hw/pl110_template.h" #include "pl110_template.h"
#undef BORDER #undef BORDER
#define RGB #define RGB
#define BORDER rgb #define BORDER rgb
#define ORDER 0 #define ORDER 0
#include "hw/pl110_template.h" #include "pl110_template.h"
#define ORDER 1 #define ORDER 1
#include "hw/pl110_template.h" #include "pl110_template.h"
#define ORDER 2 #define ORDER 2
#include "hw/pl110_template.h" #include "pl110_template.h"
#undef BORDER #undef BORDER
static drawfn glue(pl110_draw_fn_,BITS)[48] = static drawfn glue(pl110_draw_fn_,BITS)[48] =

View File

@ -16,7 +16,7 @@
#include "ui/pixel_ops.h" #include "ui/pixel_ops.h"
/* FIXME: For graphic_rotate. Should probably be done in common code. */ /* FIXME: For graphic_rotate. Should probably be done in common code. */
#include "sysemu/sysemu.h" #include "sysemu/sysemu.h"
#include "hw/framebuffer.h" #include "framebuffer.h"
struct DMAChannel { struct DMAChannel {
uint32_t branch; uint32_t branch;
@ -981,15 +981,15 @@ static const VMStateDescription vmstate_pxa2xx_lcdc = {
}; };
#define BITS 8 #define BITS 8
#include "hw/pxa2xx_template.h" #include "pxa2xx_template.h"
#define BITS 15 #define BITS 15
#include "hw/pxa2xx_template.h" #include "pxa2xx_template.h"
#define BITS 16 #define BITS 16
#include "hw/pxa2xx_template.h" #include "pxa2xx_template.h"
#define BITS 24 #define BITS 24
#include "hw/pxa2xx_template.h" #include "pxa2xx_template.h"
#define BITS 32 #define BITS 32
#include "hw/pxa2xx_template.h" #include "pxa2xx_template.h"
PXA2xxLCDState *pxa2xx_lcdc_init(MemoryRegion *sysmem, PXA2xxLCDState *pxa2xx_lcdc_init(MemoryRegion *sysmem,
hwaddr base, qemu_irq irq) hwaddr base, qemu_irq irq)

View File

@ -20,7 +20,7 @@
*/ */
#include "qemu/timer.h" #include "qemu/timer.h"
#include "hw/qxl.h" #include "qxl.h"
static const char *qxl_type[] = { static const char *qxl_type[] = {
[ QXL_CMD_NOP ] = "nop", [ QXL_CMD_NOP ] = "nop",

View File

@ -19,7 +19,7 @@
* along with this program; if not, see <http://www.gnu.org/licenses/>. * 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) static void qxl_blit(PCIQXLDevice *qxl, QXLRect *rect)
{ {

View File

@ -27,7 +27,7 @@
#include "sysemu/sysemu.h" #include "sysemu/sysemu.h"
#include "trace.h" #include "trace.h"
#include "hw/qxl.h" #include "qxl.h"
/* /*
* NOTE: SPICE_RING_PROD_ITEM accesses memory on the pci bar and as * NOTE: SPICE_RING_PROD_ITEM accesses memory on the pci bar and as

View File

@ -6,7 +6,7 @@
#include "ui/console.h" #include "ui/console.h"
#include "hw/hw.h" #include "hw/hw.h"
#include "hw/pci/pci.h" #include "hw/pci/pci.h"
#include "hw/vga_int.h" #include "vga_int.h"
#include "qemu/thread.h" #include "qemu/thread.h"
#include "ui/qemu-spice.h" #include "ui/qemu-spice.h"

View File

@ -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); int c_y, uint8_t *d, int width);
#define DEPTH 8 #define DEPTH 8
#include "hw/sm501_template.h" #include "sm501_template.h"
#define DEPTH 15 #define DEPTH 15
#include "hw/sm501_template.h" #include "sm501_template.h"
#define BGR_FORMAT #define BGR_FORMAT
#define DEPTH 15 #define DEPTH 15
#include "hw/sm501_template.h" #include "sm501_template.h"
#define DEPTH 16 #define DEPTH 16
#include "hw/sm501_template.h" #include "sm501_template.h"
#define BGR_FORMAT #define BGR_FORMAT
#define DEPTH 16 #define DEPTH 16
#include "hw/sm501_template.h" #include "sm501_template.h"
#define DEPTH 32 #define DEPTH 32
#include "hw/sm501_template.h" #include "sm501_template.h"
#define BGR_FORMAT #define BGR_FORMAT
#define DEPTH 32 #define DEPTH 32
#include "hw/sm501_template.h" #include "sm501_template.h"
static draw_line_func * draw_line8_funcs[] = { static draw_line_func * draw_line8_funcs[] = {
draw_line8_8, draw_line8_8,

View File

@ -421,15 +421,15 @@ static void tc6393xb_nand_writeb(TC6393xbState *s, hwaddr addr, uint32_t value)
} }
#define BITS 8 #define BITS 8
#include "hw/tc6393xb_template.h" #include "tc6393xb_template.h"
#define BITS 15 #define BITS 15
#include "hw/tc6393xb_template.h" #include "tc6393xb_template.h"
#define BITS 16 #define BITS 16
#include "hw/tc6393xb_template.h" #include "tc6393xb_template.h"
#define BITS 24 #define BITS 24
#include "hw/tc6393xb_template.h" #include "tc6393xb_template.h"
#define BITS 32 #define BITS 32
#include "hw/tc6393xb_template.h" #include "tc6393xb_template.h"
static void tc6393xb_draw_graphic(TC6393xbState *s, int full_update) static void tc6393xb_draw_graphic(TC6393xbState *s, int full_update)
{ {

View File

@ -24,7 +24,7 @@
#include "hw/hw.h" #include "hw/hw.h"
#include "ui/console.h" #include "ui/console.h"
#include "hw/i386/pc.h" #include "hw/i386/pc.h"
#include "hw/vga_int.h" #include "vga_int.h"
#include "ui/pixel_ops.h" #include "ui/pixel_ops.h"
#include "qemu/timer.h" #include "qemu/timer.h"

View File

@ -26,7 +26,7 @@
#include "hw/hw.h" #include "hw/hw.h"
#include "ui/console.h" #include "ui/console.h"
#include "hw/i386/pc.h" #include "hw/i386/pc.h"
#include "hw/vga_int.h" #include "vga_int.h"
#include "ui/pixel_ops.h" #include "ui/pixel_ops.h"
#include "qemu/timer.h" #include "qemu/timer.h"
#include "hw/loader.h" #include "hw/loader.h"

View File

@ -26,7 +26,7 @@
#include "hw/hw.h" #include "hw/hw.h"
#include "ui/console.h" #include "ui/console.h"
#include "hw/pci/pci.h" #include "hw/pci/pci.h"
#include "hw/vga_int.h" #include "vga_int.h"
#include "ui/pixel_ops.h" #include "ui/pixel_ops.h"
#include "qemu/timer.h" #include "qemu/timer.h"
#include "hw/loader.h" #include "hw/loader.h"

View File

@ -22,11 +22,11 @@
* THE SOFTWARE. * THE SOFTWARE.
*/ */
#include "hw/hw.h" #include "hw/hw.h"
#include "hw/vga.h" #include "vga.h"
#include "ui/console.h" #include "ui/console.h"
#include "hw/i386/pc.h" #include "hw/i386/pc.h"
#include "hw/pci/pci.h" #include "hw/pci/pci.h"
#include "hw/vga_int.h" #include "vga_int.h"
#include "ui/pixel_ops.h" #include "ui/pixel_ops.h"
#include "qemu/timer.h" #include "qemu/timer.h"
#include "hw/xen/xen.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); const uint8_t *s, int width);
#define DEPTH 8 #define DEPTH 8
#include "hw/vga_template.h" #include "vga_template.h"
#define DEPTH 15 #define DEPTH 15
#include "hw/vga_template.h" #include "vga_template.h"
#define BGR_FORMAT #define BGR_FORMAT
#define DEPTH 15 #define DEPTH 15
#include "hw/vga_template.h" #include "vga_template.h"
#define DEPTH 16 #define DEPTH 16
#include "hw/vga_template.h" #include "vga_template.h"
#define BGR_FORMAT #define BGR_FORMAT
#define DEPTH 16 #define DEPTH 16
#include "hw/vga_template.h" #include "vga_template.h"
#define DEPTH 32 #define DEPTH 32
#include "hw/vga_template.h" #include "vga_template.h"
#define BGR_FORMAT #define BGR_FORMAT
#define DEPTH 32 #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) static unsigned int rgb_to_pixel8_dup(unsigned int r, unsigned int g, unsigned b)
{ {

View File

@ -31,7 +31,7 @@
#define HW_FILL_ACCEL #define HW_FILL_ACCEL
#define HW_MOUSE_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 */ /* See http://vmware-svga.sf.net/ for some documentation on VMWare SVGA */

View File

@ -10,7 +10,7 @@
* GNU GPL, version 2 or (at your option) any later version. * GNU GPL, version 2 or (at your option) any later version.
*/ */
#include "hw/hw.h" #include "hw/hw.h"
#include "hw/bitbang_i2c.h" #include "bitbang_i2c.h"
#include "hw/sysbus.h" #include "hw/sysbus.h"
//#define DEBUG_BITBANG_I2C //#define DEBUG_BITBANG_I2C

View File

@ -22,7 +22,7 @@
*/ */
#include "hw/sysbus.h" #include "hw/sysbus.h"
#include "hw/bitbang_i2c.h" #include "bitbang_i2c.h"
typedef struct { typedef struct {
SysBusDevice busdev; SysBusDevice busdev;

View File

@ -24,7 +24,7 @@
#include "hw/hw.h" #include "hw/hw.h"
#include "hw/nvram/fw_cfg.h" #include "hw/nvram/fw_cfg.h"
#include "hw/multiboot.h" #include "multiboot.h"
#include "hw/loader.h" #include "hw/loader.h"
#include "elf.h" #include "elf.h"
#include "sysemu/sysemu.h" #include "sysemu/sysemu.h"

View File

@ -34,7 +34,7 @@
#include "hw/i386/smbios.h" #include "hw/i386/smbios.h"
#include "hw/loader.h" #include "hw/loader.h"
#include "elf.h" #include "elf.h"
#include "hw/multiboot.h" #include "multiboot.h"
#include "hw/timer/mc146818rtc.h" #include "hw/timer/mc146818rtc.h"
#include "hw/timer/i8254.h" #include "hw/timer/i8254.h"
#include "hw/audio/pcspk.h" #include "hw/audio/pcspk.h"

View File

@ -1,6 +1,6 @@
#include <signal.h> #include <signal.h>
#include "hw/xen/xen_backend.h" #include "hw/xen/xen_backend.h"
#include "hw/xen_domainbuild.h" #include "xen_domainbuild.h"
#include "qemu/timer.h" #include "qemu/timer.h"
#include "qemu/log.h" #include "qemu/log.h"

View File

@ -26,7 +26,7 @@
#include "hw/i386/pc.h" #include "hw/i386/pc.h"
#include "hw/boards.h" #include "hw/boards.h"
#include "hw/xen/xen_backend.h" #include "hw/xen/xen_backend.h"
#include "hw/xen_domainbuild.h" #include "xen_domainbuild.h"
#include "sysemu/blockdev.h" #include "sysemu/blockdev.h"
static void xen_init_pv(QEMUMachineInitArgs *args) static void xen_init_pv(QEMUMachineInitArgs *args)

View File

@ -19,7 +19,7 @@
*/ */
#include "hw/sysbus.h" #include "hw/sysbus.h"
#include "hw/arm_gic_internal.h" #include "gic_internal.h"
//#define DEBUG_GIC //#define DEBUG_GIC

View File

@ -18,7 +18,7 @@
* with this program; if not, see <http://www.gnu.org/licenses/>. * 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) static void gic_pre_save(void *opaque)
{ {

View File

@ -21,7 +21,7 @@
#include "hw/sysbus.h" #include "hw/sysbus.h"
#include "sysemu/kvm.h" #include "sysemu/kvm.h"
#include "kvm_arm.h" #include "kvm_arm.h"
#include "hw/arm_gic_internal.h" #include "gic_internal.h"
#define TYPE_KVM_ARM_GIC "kvm-arm-gic" #define TYPE_KVM_ARM_GIC "kvm-arm-gic"
#define KVM_ARM_GIC(obj) \ #define KVM_ARM_GIC(obj) \

View File

@ -14,7 +14,7 @@
#include "qemu/timer.h" #include "qemu/timer.h"
#include "hw/arm.h" #include "hw/arm.h"
#include "exec/address-spaces.h" #include "exec/address-spaces.h"
#include "hw/arm_gic_internal.h" #include "gic_internal.h"
typedef struct { typedef struct {
GICState gic; GICState gic;

View File

@ -25,8 +25,8 @@
#include "hw/loader.h" #include "hw/loader.h"
#include "sysemu/blockdev.h" #include "sysemu/blockdev.h"
#include "elf.h" #include "elf.h"
#include "hw/lm32_hwsetup.h" #include "lm32_hwsetup.h"
#include "hw/lm32.h" #include "lm32.h"
#include "exec/address-spaces.h" #include "exec/address-spaces.h"
typedef struct { typedef struct {

View File

@ -26,8 +26,8 @@
#include "hw/loader.h" #include "hw/loader.h"
#include "elf.h" #include "elf.h"
#include "sysemu/blockdev.h" #include "sysemu/blockdev.h"
#include "hw/milkymist-hw.h" #include "milkymist-hw.h"
#include "hw/lm32.h" #include "lm32.h"
#include "exec/address-spaces.h" #include "exec/address-spaces.h"
#define BIOS_FILENAME "mmone-bios.bin" #define BIOS_FILENAME "mmone-bios.bin"

View File

@ -31,7 +31,7 @@
#include "hw/loader.h" #include "hw/loader.h"
#include "elf.h" #include "elf.h"
#include "hw/microblaze_boot.h" #include "boot.h"
static struct static struct
{ {

View File

@ -38,8 +38,8 @@
#include "exec/address-spaces.h" #include "exec/address-spaces.h"
#include "hw/ssi.h" #include "hw/ssi.h"
#include "hw/microblaze_boot.h" #include "boot.h"
#include "hw/microblaze_pic_cpu.h" #include "pic_cpu.h"
#include "hw/stream.h" #include "hw/stream.h"

View File

@ -34,8 +34,8 @@
#include "sysemu/blockdev.h" #include "sysemu/blockdev.h"
#include "exec/address-spaces.h" #include "exec/address-spaces.h"
#include "hw/microblaze_boot.h" #include "boot.h"
#include "hw/microblaze_pic_cpu.h" #include "pic_cpu.h"
#define LMB_BRAM_SIZE (128 * 1024) #define LMB_BRAM_SIZE (128 * 1024)
#define FLASH_SIZE (16 * 1024 * 1024) #define FLASH_SIZE (16 * 1024 * 1024)

View File

@ -23,7 +23,7 @@
*/ */
#include "hw/hw.h" #include "hw/hw.h"
#include "hw/microblaze_pic_cpu.h" #include "pic_cpu.h"
#define D(x) #define D(x)

View File

@ -20,7 +20,7 @@
#include "hw/hw.h" #include "hw/hw.h"
#include "hw/i2c/i2c.h" #include "hw/i2c/i2c.h"
#include "hw/tmp105.h" #include "tmp105.h"
#include "qapi/visitor.h" #include "qapi/visitor.h"
static void tmp105_interrupt_update(TMP105State *s) static void tmp105_interrupt_update(TMP105State *s)

View File

@ -33,7 +33,7 @@
#include "sysemu/sysemu.h" #include "sysemu/sysemu.h"
#include "sysemu/dma.h" #include "sysemu/dma.h"
#include "hw/e1000_hw.h" #include "e1000_regs.h"
#define E1000_DEBUG #define E1000_DEBUG

View File

@ -40,7 +40,7 @@
#include "qemu/timer.h" #include "qemu/timer.h"
#include "qemu/sockets.h" #include "qemu/sockets.h"
#include "hw/sparc/sun4m.h" #include "hw/sparc/sun4m.h"
#include "hw/pcnet.h" #include "pcnet.h"
#include "trace.h" #include "trace.h"
typedef struct { typedef struct {

View File

@ -26,7 +26,7 @@
#include "hw/isa/isa.h" #include "hw/isa/isa.h"
#include "hw/qdev.h" #include "hw/qdev.h"
#include "net/net.h" #include "net/net.h"
#include "hw/ne2000.h" #include "ne2000.h"
#include "exec/address-spaces.h" #include "exec/address-spaces.h"
typedef struct ISANE2000State { typedef struct ISANE2000State {

View File

@ -24,7 +24,7 @@
#include "hw/hw.h" #include "hw/hw.h"
#include "hw/pci/pci.h" #include "hw/pci/pci.h"
#include "net/net.h" #include "net/net.h"
#include "hw/ne2000.h" #include "ne2000.h"
#include "hw/loader.h" #include "hw/loader.h"
#include "sysemu/sysemu.h" #include "sysemu/sysemu.h"

View File

@ -33,7 +33,7 @@
#include "qemu/timer.h" #include "qemu/timer.h"
#include "sysemu/dma.h" #include "sysemu/dma.h"
#include "hw/pcnet.h" #include "pcnet.h"
//#define PCNET_DEBUG //#define PCNET_DEBUG
//#define PCNET_DEBUG_IO //#define PCNET_DEBUG_IO

Some files were not shown because too many files have changed in this diff Show More