mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07: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:
+1
-1
@@ -18,7 +18,7 @@
|
||||
* with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "sysbus.h"
|
||||
#include "hw/sysbus.h"
|
||||
|
||||
/* A15MP private memory region. */
|
||||
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@
|
||||
* This code is licensed under the GPL.
|
||||
*/
|
||||
|
||||
#include "sysbus.h"
|
||||
#include "hw/sysbus.h"
|
||||
|
||||
typedef struct A9MPPrivState {
|
||||
SysBusDevice busdev;
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@
|
||||
* This code is licensed under the GPL.
|
||||
*/
|
||||
|
||||
#include "sysbus.h"
|
||||
#include "hw/sysbus.h"
|
||||
|
||||
/* A9MP private memory region. */
|
||||
|
||||
|
||||
@@ -17,10 +17,10 @@
|
||||
* GNU GPL, version 2 or (at your option) any later version.
|
||||
*/
|
||||
|
||||
#include "hw.h"
|
||||
#include "audiodev.h"
|
||||
#include "hw/hw.h"
|
||||
#include "hw/audiodev.h"
|
||||
#include "audio/audio.h"
|
||||
#include "pci/pci.h"
|
||||
#include "hw/pci/pci.h"
|
||||
#include "sysemu/dma.h"
|
||||
|
||||
enum {
|
||||
|
||||
@@ -19,9 +19,9 @@
|
||||
* GNU GPL, version 2 or (at your option) any later version.
|
||||
*/
|
||||
#include "sysemu/sysemu.h"
|
||||
#include "hw.h"
|
||||
#include "pc.h"
|
||||
#include "acpi.h"
|
||||
#include "hw/hw.h"
|
||||
#include "hw/pc.h"
|
||||
#include "hw/acpi.h"
|
||||
#include "monitor/monitor.h"
|
||||
|
||||
struct acpi_table_header {
|
||||
|
||||
+5
-5
@@ -23,16 +23,16 @@
|
||||
* Contributions after 2012-01-13 are licensed under the terms of the
|
||||
* GNU GPL, version 2 or (at your option) any later version.
|
||||
*/
|
||||
#include "hw.h"
|
||||
#include "pc.h"
|
||||
#include "pci/pci.h"
|
||||
#include "hw/hw.h"
|
||||
#include "hw/pc.h"
|
||||
#include "hw/pci/pci.h"
|
||||
#include "qemu/timer.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
#include "acpi.h"
|
||||
#include "hw/acpi.h"
|
||||
#include "sysemu/kvm.h"
|
||||
#include "exec/address-spaces.h"
|
||||
|
||||
#include "ich9.h"
|
||||
#include "hw/ich9.h"
|
||||
|
||||
//#define DEBUG
|
||||
|
||||
|
||||
+1
-1
@@ -21,7 +21,7 @@
|
||||
#ifndef HW_ACPI_ICH9_H
|
||||
#define HW_ACPI_ICH9_H
|
||||
|
||||
#include "acpi.h"
|
||||
#include "hw/acpi.h"
|
||||
|
||||
typedef struct ICH9LPCPMRegs {
|
||||
/*
|
||||
|
||||
+7
-7
@@ -18,16 +18,16 @@
|
||||
* Contributions after 2012-01-13 are licensed under the terms of the
|
||||
* GNU GPL, version 2 or (at your option) any later version.
|
||||
*/
|
||||
#include "hw.h"
|
||||
#include "pc.h"
|
||||
#include "apm.h"
|
||||
#include "pm_smbus.h"
|
||||
#include "pci/pci.h"
|
||||
#include "acpi.h"
|
||||
#include "hw/hw.h"
|
||||
#include "hw/pc.h"
|
||||
#include "hw/apm.h"
|
||||
#include "hw/pm_smbus.h"
|
||||
#include "hw/pci/pci.h"
|
||||
#include "hw/acpi.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
#include "qemu/range.h"
|
||||
#include "exec/ioport.h"
|
||||
#include "fw_cfg.h"
|
||||
#include "hw/fw_cfg.h"
|
||||
#include "exec/address-spaces.h"
|
||||
|
||||
//#define DEBUG
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
#include "hw.h"
|
||||
#include "adb.h"
|
||||
#include "hw/hw.h"
|
||||
#include "hw/adb.h"
|
||||
#include "ui/console.h"
|
||||
|
||||
/* debug ADB */
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
#if !defined(__ADB_H__)
|
||||
#define __ADB_H__
|
||||
|
||||
#include "qdev.h"
|
||||
#include "hw/qdev.h"
|
||||
|
||||
#define MAX_ADB_DEVICES 16
|
||||
|
||||
|
||||
+4
-4
@@ -22,10 +22,10 @@
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#include "hw.h"
|
||||
#include "audiodev.h"
|
||||
#include "hw/hw.h"
|
||||
#include "hw/audiodev.h"
|
||||
#include "audio/audio.h"
|
||||
#include "isa.h"
|
||||
#include "hw/isa.h"
|
||||
|
||||
//#define DEBUG
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
void YMF262UpdateOneQEMU (int which, INT16 *dst, int length);
|
||||
#define SHIFT 2
|
||||
#else
|
||||
#include "fmopl.h"
|
||||
#include "hw/fmopl.h"
|
||||
#define SHIFT 1
|
||||
#endif
|
||||
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@
|
||||
* GNU GPL, version 2 or (at your option) any later version.
|
||||
*/
|
||||
|
||||
#include "ssi.h"
|
||||
#include "hw/ssi.h"
|
||||
#include "ui/console.h"
|
||||
|
||||
typedef struct {
|
||||
|
||||
+8
-8
@@ -6,16 +6,16 @@
|
||||
* that we need to emulate as well.
|
||||
*/
|
||||
|
||||
#include "hw.h"
|
||||
#include "hw/hw.h"
|
||||
#include "elf.h"
|
||||
#include "loader.h"
|
||||
#include "boards.h"
|
||||
#include "alpha_sys.h"
|
||||
#include "hw/loader.h"
|
||||
#include "hw/boards.h"
|
||||
#include "hw/alpha_sys.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
#include "mc146818rtc.h"
|
||||
#include "ide.h"
|
||||
#include "i8254.h"
|
||||
#include "serial.h"
|
||||
#include "hw/mc146818rtc.h"
|
||||
#include "hw/ide.h"
|
||||
#include "hw/i8254.h"
|
||||
#include "hw/serial.h"
|
||||
|
||||
#define MAX_IDE_BUS 2
|
||||
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "alpha_sys.h"
|
||||
#include "hw/alpha_sys.h"
|
||||
#include "qemu/log.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
|
||||
|
||||
+5
-5
@@ -3,11 +3,11 @@
|
||||
#ifndef HW_ALPHA_H
|
||||
#define HW_ALPHA_H 1
|
||||
|
||||
#include "pci/pci.h"
|
||||
#include "pci/pci_host.h"
|
||||
#include "ide.h"
|
||||
#include "pc.h"
|
||||
#include "irq.h"
|
||||
#include "hw/pci/pci.h"
|
||||
#include "hw/pci/pci_host.h"
|
||||
#include "hw/ide.h"
|
||||
#include "hw/pc.h"
|
||||
#include "hw/irq.h"
|
||||
|
||||
|
||||
PCIBus *typhoon_init(ram_addr_t, ISABus **, qemu_irq *, AlphaCPU *[4],
|
||||
|
||||
+3
-3
@@ -8,10 +8,10 @@
|
||||
|
||||
#include "cpu.h"
|
||||
#include "exec/exec-all.h"
|
||||
#include "hw.h"
|
||||
#include "devices.h"
|
||||
#include "hw/hw.h"
|
||||
#include "hw/devices.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
#include "alpha_sys.h"
|
||||
#include "hw/alpha_sys.h"
|
||||
#include "exec/address-spaces.h"
|
||||
|
||||
|
||||
|
||||
+4
-4
@@ -6,10 +6,10 @@
|
||||
* This code is licensed under the GPL
|
||||
*/
|
||||
|
||||
#include "hw.h"
|
||||
#include "mcf.h"
|
||||
#include "boards.h"
|
||||
#include "loader.h"
|
||||
#include "hw/hw.h"
|
||||
#include "hw/mcf.h"
|
||||
#include "hw/boards.h"
|
||||
#include "hw/loader.h"
|
||||
#include "elf.h"
|
||||
#include "exec/address-spaces.h"
|
||||
|
||||
|
||||
+6
-6
@@ -26,12 +26,12 @@
|
||||
Ultrasparc PCI host is called the PCI Bus Module (PBM). The APB is
|
||||
the secondary PCI bridge. */
|
||||
|
||||
#include "sysbus.h"
|
||||
#include "pci/pci.h"
|
||||
#include "pci/pci_host.h"
|
||||
#include "pci/pci_bridge.h"
|
||||
#include "pci/pci_bus.h"
|
||||
#include "apb_pci.h"
|
||||
#include "hw/sysbus.h"
|
||||
#include "hw/pci/pci.h"
|
||||
#include "hw/pci/pci_host.h"
|
||||
#include "hw/pci/pci_bridge.h"
|
||||
#include "hw/pci/pci_bus.h"
|
||||
#include "hw/apb_pci.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
#include "exec/address-spaces.h"
|
||||
|
||||
|
||||
@@ -17,14 +17,14 @@
|
||||
* License along with this library; if not, see <http://www.gnu.org/licenses/>
|
||||
*/
|
||||
#include "qemu/thread.h"
|
||||
#include "apic_internal.h"
|
||||
#include "apic.h"
|
||||
#include "ioapic.h"
|
||||
#include "pci/msi.h"
|
||||
#include "hw/apic_internal.h"
|
||||
#include "hw/apic.h"
|
||||
#include "hw/ioapic.h"
|
||||
#include "hw/pci/msi.h"
|
||||
#include "qemu/host-utils.h"
|
||||
#include "trace.h"
|
||||
#include "pc.h"
|
||||
#include "apic-msidef.h"
|
||||
#include "hw/pc.h"
|
||||
#include "hw/apic-msidef.h"
|
||||
|
||||
#define MAX_APIC_WORDS 8
|
||||
|
||||
|
||||
+2
-2
@@ -17,8 +17,8 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, see <http://www.gnu.org/licenses/>
|
||||
*/
|
||||
#include "apic.h"
|
||||
#include "apic_internal.h"
|
||||
#include "hw/apic.h"
|
||||
#include "hw/apic_internal.h"
|
||||
#include "trace.h"
|
||||
#include "sysemu/kvm.h"
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user