mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -06:00
hw: include hw header files with full paths
Done with this script: cd hw for i in `find . -name '*.h' | sed 's/^..//'`; do echo '\,^#.*include.*["<]'$i'[">], s,'$i',hw/&,' done | sed -i -f - `find . -type f` This is so that paths remain valid as files are moved. Instead, files in hw/dataplane are referenced with the relative path. We know they are not going to move to include/, and they are the only include files that are in subdirectories _and_ move. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
7948b4b009
commit
83c9f4ca79
487 changed files with 1604 additions and 1604 deletions
|
@ -26,11 +26,11 @@
|
|||
* Reference: Finn Thogersons' VGADOC4b
|
||||
* available at http://home.worldonline.dk/~finth/
|
||||
*/
|
||||
#include "hw.h"
|
||||
#include "pci/pci.h"
|
||||
#include "hw/hw.h"
|
||||
#include "hw/pci/pci.h"
|
||||
#include "ui/console.h"
|
||||
#include "vga_int.h"
|
||||
#include "loader.h"
|
||||
#include "hw/vga_int.h"
|
||||
#include "hw/loader.h"
|
||||
|
||||
/*
|
||||
* TODO:
|
||||
|
@ -288,63 +288,63 @@ static void cirrus_bitblt_fill_nop(CirrusVGAState *s,
|
|||
|
||||
#define ROP_NAME 0
|
||||
#define ROP_FN(d, s) 0
|
||||
#include "cirrus_vga_rop.h"
|
||||
#include "hw/cirrus_vga_rop.h"
|
||||
|
||||
#define ROP_NAME src_and_dst
|
||||
#define ROP_FN(d, s) (s) & (d)
|
||||
#include "cirrus_vga_rop.h"
|
||||
#include "hw/cirrus_vga_rop.h"
|
||||
|
||||
#define ROP_NAME src_and_notdst
|
||||
#define ROP_FN(d, s) (s) & (~(d))
|
||||
#include "cirrus_vga_rop.h"
|
||||
#include "hw/cirrus_vga_rop.h"
|
||||
|
||||
#define ROP_NAME notdst
|
||||
#define ROP_FN(d, s) ~(d)
|
||||
#include "cirrus_vga_rop.h"
|
||||
#include "hw/cirrus_vga_rop.h"
|
||||
|
||||
#define ROP_NAME src
|
||||
#define ROP_FN(d, s) s
|
||||
#include "cirrus_vga_rop.h"
|
||||
#include "hw/cirrus_vga_rop.h"
|
||||
|
||||
#define ROP_NAME 1
|
||||
#define ROP_FN(d, s) ~0
|
||||
#include "cirrus_vga_rop.h"
|
||||
#include "hw/cirrus_vga_rop.h"
|
||||
|
||||
#define ROP_NAME notsrc_and_dst
|
||||
#define ROP_FN(d, s) (~(s)) & (d)
|
||||
#include "cirrus_vga_rop.h"
|
||||
#include "hw/cirrus_vga_rop.h"
|
||||
|
||||
#define ROP_NAME src_xor_dst
|
||||
#define ROP_FN(d, s) (s) ^ (d)
|
||||
#include "cirrus_vga_rop.h"
|
||||
#include "hw/cirrus_vga_rop.h"
|
||||
|
||||
#define ROP_NAME src_or_dst
|
||||
#define ROP_FN(d, s) (s) | (d)
|
||||
#include "cirrus_vga_rop.h"
|
||||
#include "hw/cirrus_vga_rop.h"
|
||||
|
||||
#define ROP_NAME notsrc_or_notdst
|
||||
#define ROP_FN(d, s) (~(s)) | (~(d))
|
||||
#include "cirrus_vga_rop.h"
|
||||
#include "hw/cirrus_vga_rop.h"
|
||||
|
||||
#define ROP_NAME src_notxor_dst
|
||||
#define ROP_FN(d, s) ~((s) ^ (d))
|
||||
#include "cirrus_vga_rop.h"
|
||||
#include "hw/cirrus_vga_rop.h"
|
||||
|
||||
#define ROP_NAME src_or_notdst
|
||||
#define ROP_FN(d, s) (s) | (~(d))
|
||||
#include "cirrus_vga_rop.h"
|
||||
#include "hw/cirrus_vga_rop.h"
|
||||
|
||||
#define ROP_NAME notsrc
|
||||
#define ROP_FN(d, s) (~(s))
|
||||
#include "cirrus_vga_rop.h"
|
||||
#include "hw/cirrus_vga_rop.h"
|
||||
|
||||
#define ROP_NAME notsrc_or_dst
|
||||
#define ROP_FN(d, s) (~(s)) | (d)
|
||||
#include "cirrus_vga_rop.h"
|
||||
#include "hw/cirrus_vga_rop.h"
|
||||
|
||||
#define ROP_NAME notsrc_and_notdst
|
||||
#define ROP_FN(d, s) (~(s)) & (~(d))
|
||||
#include "cirrus_vga_rop.h"
|
||||
#include "hw/cirrus_vga_rop.h"
|
||||
|
||||
static const cirrus_bitblt_rop_t cirrus_fwd_rop[16] = {
|
||||
cirrus_bitblt_rop_fwd_0,
|
||||
|
@ -2165,13 +2165,13 @@ static void cirrus_cursor_invalidate(VGACommonState *s1)
|
|||
}
|
||||
|
||||
#define DEPTH 8
|
||||
#include "cirrus_vga_template.h"
|
||||
#include "hw/cirrus_vga_template.h"
|
||||
|
||||
#define DEPTH 16
|
||||
#include "cirrus_vga_template.h"
|
||||
#include "hw/cirrus_vga_template.h"
|
||||
|
||||
#define DEPTH 32
|
||||
#include "cirrus_vga_template.h"
|
||||
#include "hw/cirrus_vga_template.h"
|
||||
|
||||
static void cirrus_cursor_draw_line(VGACommonState *s1, uint8_t *d1, int scr_y)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue