Rename target_phys_addr_t to hwaddr
commita8170e5e97ad17ca169c64ba87ae2f53850dab4c
authorAvi Kivity <avi@redhat.com>
Tue, 23 Oct 2012 10:30:10 +0000 (23 12:30 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 23 Oct 2012 13:58:25 +0000 (23 08:58 -0500)
tree51182ed444f0d2bf282f6bdacef43f32e5adaadf
parent50d2b4d93f45a425f15ac88bc4ec352f5c6e0bc2
Rename target_phys_addr_t to hwaddr

target_phys_addr_t is unwieldly, violates the C standard (_t suffixes are
reserved) and its purpose doesn't match the name (most target_phys_addr_t
addresses are not target specific).  Replace it with a finger-friendly,
standards conformant hwaddr.

Outstanding patchsets can be fixed up with the command

  git rebase -i --exec 'find -name "*.[ch]"
                        | xargs s/target_phys_addr_t/hwaddr/g' origin

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
383 files changed:
HACKING
cpu-all.h
cpu-common.h
cpu-defs.h
cputlb.c
cputlb.h
disas.h
dma-helpers.c
dma.h
dump.c
exec-all.h
exec.c
hw/a9mpcore.c
hw/alpha_pci.c
hw/alpha_typhoon.c
hw/an5206.c
hw/apb_pci.c
hw/apb_pci.h
hw/apic.c
hw/apic_common.c
hw/apic_internal.h
hw/arm-misc.h
hw/arm11mpcore.c
hw/arm_boot.c
hw/arm_gic.c
hw/arm_l2x0.c
hw/arm_mptimer.c
hw/arm_sysctl.c
hw/arm_timer.c
hw/armv7m.c
hw/armv7m_nvic.c
hw/axis_dev88.c
hw/bonito.c
hw/cadence_gem.c
hw/cadence_ttc.c
hw/cadence_uart.c
hw/cirrus_vga.c
hw/cris-boot.h
hw/cs4231.c
hw/cs4231a.c
hw/cuda.c
hw/dma.c
hw/dp8393x.c
hw/ds1225y.c
hw/dummy_m68k.c
hw/e1000.c
hw/eccmemctl.c
hw/eepro100.c
hw/elf_ops.h
hw/empty_slot.c
hw/empty_slot.h
hw/escc.c
hw/escc.h
hw/esp-pci.c
hw/esp.c
hw/esp.h
hw/etraxfs.h
hw/etraxfs_dma.c
hw/etraxfs_dma.h
hw/etraxfs_eth.c
hw/etraxfs_pic.c
hw/etraxfs_ser.c
hw/etraxfs_timer.c
hw/exynos4210.h
hw/exynos4210_combiner.c
hw/exynos4210_fimd.c
hw/exynos4210_i2c.c
hw/exynos4210_mct.c
hw/exynos4210_pmu.c
hw/exynos4210_pwm.c
hw/exynos4210_rtc.c
hw/exynos4210_uart.c
hw/fdc.c
hw/fdc.h
hw/flash.h
hw/framebuffer.c
hw/framebuffer.h
hw/fw_cfg.c
hw/fw_cfg.h
hw/g364fb.c
hw/grlib.h
hw/grlib_apbuart.c
hw/grlib_gptimer.c
hw/grlib_irqmp.c
hw/gt64xxx.c
hw/heathrow_pic.c
hw/highbank.c
hw/hpet.c
hw/i82378.c
hw/i8259.c
hw/ide.h
hw/ide/ahci.c
hw/ide/cmd646.c
hw/ide/macio.c
hw/ide/mmio.c
hw/ide/pci.c
hw/ide/piix.c
hw/ide/via.c
hw/imx.h
hw/imx_avic.c
hw/imx_ccm.c
hw/imx_serial.c
hw/imx_timer.c
hw/integratorcp.c
hw/intel-hda.c
hw/ioapic.c
hw/isa-bus.c
hw/isa.h
hw/isa_mmio.c
hw/ivshmem.c
hw/jazz_led.c
hw/kvm/apic.c
hw/kvm/pci-assign.c
hw/kvmvapic.c
hw/lan9118.c
hw/lance.c
hw/lm32_boards.c
hw/lm32_hwsetup.h
hw/lm32_sys.c
hw/lm32_timer.c
hw/lm32_uart.c
hw/lm4549.c
hw/lm4549.h
hw/loader.c
hw/loader.h
hw/lsi53c895a.c
hw/m48t59.c
hw/mac_dbdma.c
hw/mac_dbdma.h
hw/mac_nvram.c
hw/mainstone.c
hw/marvell_88w8618_audio.c
hw/mcf.h
hw/mcf5206.c
hw/mcf5208.c
hw/mcf_fec.c
hw/mcf_intc.c
hw/mcf_uart.c
hw/megasas.c
hw/microblaze_boot.c
hw/microblaze_boot.h
hw/milkymist-ac97.c
hw/milkymist-hpdmc.c
hw/milkymist-hw.h
hw/milkymist-memcard.c
hw/milkymist-minimac2.c
hw/milkymist-pfpu.c
hw/milkymist-softusb.c
hw/milkymist-sysctl.c
hw/milkymist-tmu2.c
hw/milkymist-uart.c
hw/milkymist-vgafb.c
hw/milkymist.c
hw/mips.h
hw/mips_jazz.c
hw/mips_malta.c
hw/mips_r4k.c
hw/mipsnet.c
hw/mpc8544_guts.c
hw/msix.c
hw/mst_fpga.c
hw/multiboot.c
hw/musicpal.c
hw/ne2000.c
hw/nvram.h
hw/omap.h
hw/omap1.c
hw/omap2.c
hw/omap_dma.c
hw/omap_dss.c
hw/omap_gpio.c
hw/omap_gpmc.c
hw/omap_gptimer.c
hw/omap_i2c.c
hw/omap_intc.c
hw/omap_l4.c
hw/omap_lcdc.c
hw/omap_mmc.c
hw/omap_sdrc.c
hw/omap_spi.c
hw/omap_sx1.c
hw/omap_synctimer.c
hw/omap_tap.c
hw/omap_uart.c
hw/onenand.c
hw/opencores_eth.c
hw/openpic.c
hw/openpic.h
hw/openrisc_sim.c
hw/palm.c
hw/parallel.c
hw/pc.c
hw/pc.h
hw/pc_piix.c
hw/pc_sysfw.c
hw/pci.c
hw/pci_host.c
hw/pcie_host.c
hw/pcie_host.h
hw/pckbd.c
hw/pcnet-pci.c
hw/pcnet.c
hw/pcnet.h
hw/pcspk.c
hw/petalogix_ml605_mmu.c
hw/petalogix_s3adsp1800_mmu.c
hw/pflash_cfi01.c
hw/pflash_cfi02.c
hw/piix_pci.c
hw/pl011.c
hw/pl022.c
hw/pl031.c
hw/pl041.c
hw/pl050.c
hw/pl061.c
hw/pl080.c
hw/pl110.c
hw/pl181.c
hw/pl190.c
hw/ppc/e500.c
hw/ppc405.h
hw/ppc405_boards.c
hw/ppc405_uc.c
hw/ppc440_bamboo.c
hw/ppc4xx.h
hw/ppc4xx_devs.c
hw/ppc4xx_pci.c
hw/ppc_mac.h
hw/ppc_newworld.c
hw/ppc_oldworld.c
hw/ppc_prep.c
hw/ppce500_pci.c
hw/ppce500_spin.c
hw/prep_pci.c
hw/puv3_dma.c
hw/puv3_gpio.c
hw/puv3_intc.c
hw/puv3_ost.c
hw/puv3_pm.c
hw/pxa.h
hw/pxa2xx.c
hw/pxa2xx_dma.c
hw/pxa2xx_gpio.c
hw/pxa2xx_keypad.c
hw/pxa2xx_lcd.c
hw/pxa2xx_mmci.c
hw/pxa2xx_pcmcia.c
hw/pxa2xx_pic.c
hw/pxa2xx_timer.c
hw/qdev-addr.c
hw/qdev-addr.h
hw/qxl.c
hw/r2d.c
hw/rc4030.c
hw/realview.c
hw/rtl8139.c
hw/s390-virtio-bus.c
hw/s390-virtio.c
hw/sbi.c
hw/serial.c
hw/serial.h
hw/sh.h
hw/sh7750.c
hw/sh_intc.c
hw/sh_pci.c
hw/sh_serial.c
hw/sh_timer.c
hw/sharpsl.h
hw/shpc.c
hw/slavio_intctl.c
hw/slavio_misc.c
hw/slavio_timer.c
hw/sm501.c
hw/smc91c111.c
hw/soc_dma.c
hw/soc_dma.h
hw/spapr.c
hw/spapr.h
hw/spapr_iommu.c
hw/spapr_pci.c
hw/spapr_pci.h
hw/spapr_rtas.c
hw/sparc32_dma.c
hw/sparc32_dma.h
hw/spitz.c
hw/stellaris.c
hw/stellaris_enet.c
hw/strongarm.c
hw/sun4c_intctl.c
hw/sun4m.c
hw/sun4m.h
hw/sun4m_iommu.c
hw/sun4u.c
hw/sysbus.c
hw/sysbus.h
hw/tc6393xb.c
hw/tcx.c
hw/tusb6010.c
hw/unin_pci.c
hw/usb/hcd-ehci.c
hw/usb/hcd-musb.c
hw/usb/hcd-ohci.c
hw/usb/hcd-xhci.c
hw/versatile_i2c.c
hw/versatile_pci.c
hw/versatilepb.c
hw/vexpress.c
hw/vfio_pci.c
hw/vga-isa-mm.c
hw/vga-pci.c
hw/vga.c
hw/vga_int.h
hw/vhost.c
hw/virtex_ml507.c
hw/virtio-pci.c
hw/virtio-scsi.c
hw/virtio.c
hw/virtio.h
hw/vmware_vga.c
hw/wdt_i6300esb.c
hw/xen_apic.c
hw/xen_platform.c
hw/xen_pt.c
hw/xen_pt_msi.c
hw/xgmac.c
hw/xilinx.h
hw/xilinx_axidma.c
hw/xilinx_axienet.c
hw/xilinx_ethlite.c
hw/xilinx_intc.c
hw/xilinx_spi.c
hw/xilinx_spips.c
hw/xilinx_timer.c
hw/xilinx_uartlite.c
hw/xtensa_lx60.c
hw/zaurus.c
hw/zynq_slcr.c
hwaddr.h [new file with mode: 0644]
kvm-all.c
kvm.h
memory-internal.h
memory.c
memory.h
memory_mapping.c
memory_mapping.h
monitor.c
softmmu_template.h
target-alpha/cpu.h
target-alpha/helper.c
target-alpha/mem_helper.c
target-arm/helper.c
target-cris/helper.c
target-i386/arch_memory_mapping.c
target-i386/helper.c
target-i386/kvm.c
target-i386/svm_helper.c
target-lm32/helper.c
target-m68k/helper.c
target-microblaze/cpu.h
target-microblaze/helper.c
target-microblaze/op_helper.c
target-mips/cpu.h
target-mips/helper.c
target-mips/op_helper.c
target-openrisc/cpu.h
target-openrisc/mmu.c
target-ppc/cpu.h
target-ppc/mmu_helper.c
target-s390x/cpu.h
target-s390x/helper.c
target-s390x/mem_helper.c
target-sh4/cpu.h
target-sh4/helper.c
target-sparc/cpu.h
target-sparc/ldst_helper.c
target-sparc/mmu_helper.c
target-unicore32/softmmu.c
target-xtensa/helper.c
target-xtensa/xtensa-semi.c
targphys.h [deleted file]
xen-all.c
xen-mapcache.c
xen-mapcache.h