Skip to contentSkip to conversation

migration: Replace all tabs with 4 spaces in the ARM subsystem

PATCH New Anant Verma 1 participant 1 message Apr 25, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 migration: Replace all tabs with 4 spaces in the ARM subsystem

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/373

---
 hw/adc/max111x.c          |   24 +-
 hw/arm/boot.c             |    8 +-
 hw/arm/mainstone.c        |    8 +-
 hw/arm/nseries.c          |  808 ++++++++++++------------
 hw/arm/omap1.c            | 1026 +++++++++++++++---------------
 hw/arm/omap2.c            | 1236 ++++++++++++++++++-------------------
 hw/arm/omap_sx1.c         |    2 +-
 hw/arm/pxa2xx.c           |  438 ++++++-------
 hw/arm/pxa2xx_gpio.c      |   38 +-
 hw/arm/pxa2xx_pic.c       |   72 +--
 hw/char/omap_uart.c       |   44 +-
 hw/dma/omap_dma.c         |  476 +++++++-------
 hw/dma/pxa2xx_dma.c       |  102 +--
 hw/gpio/omap_gpio.c       |  214 +++----
 hw/gpio/zaurus.c          |   46 +-
 hw/i2c/omap_i2c.c         |  176 +++---
 hw/input/lm832x.c         |   72 +--
 hw/input/tsc2005.c        |  100 +--
 hw/input/tsc210x.c        |  328 +++++-----
 hw/intc/omap_intc.c       |  232 +++----
 hw/misc/cbus.c            |  132 ++--
 hw/misc/mst_fpga.c        |  298 ++++-----
 hw/misc/omap_clk.c        |  934 ++++++++++++++--------------
 hw/misc/omap_gpmc.c       |   86 +--
 hw/misc/omap_l4.c         |   18 +-
 hw/misc/omap_sdrc.c       |  132 ++--
 hw/misc/omap_tap.c        |   28 +-
 hw/sd/omap_mmc.c          |  126 ++--
 hw/sd/pxa2xx_mmci.c       |  108 ++--
 hw/ssi/omap_spi.c         |  142 ++---
 hw/timer/omap_gptimer.c   |   80 +--
 hw/timer/omap_synctimer.c |    4 +-
 hw/timer/pxa2xx_timer.c   |   80 +--
 include/hw/arm/omap.h     |  892 +++++++++++++-------------
 include/hw/arm/pxa.h      |  100 +--
 include/hw/arm/sharpsl.h  |    2 +-
 include/hw/arm/soc_dma.h  |    4 +-
 tcg/arm/tcg-target.h      |    4 +-
 38 files changed, 4310 insertions(+), 4310 deletions(-)
hw/adc/max111x.c +12 -12
index e8bf4cccd4..036286a8c6 100644
@@ -18,18 +18,18 @@
 #include "hw/qdev-properties.h"
 
 /* Control-byte bitfields */
-#define CB_PD0		(1 << 0)
-#define CB_PD1		(1 << 1)
-#define CB_SGL		(1 << 2)
-#define CB_UNI		(1 << 3)
-#define CB_SEL0		(1 << 4)
-#define CB_SEL1		(1 << 5)
-#define CB_SEL2		(1 << 6)
-#define CB_START	(1 << 7)
-
-#define CHANNEL_NUM(v, b0, b1, b2)	\
-                        ((((v) >> (2 + (b0))) & 4) |	\
-                         (((v) >> (3 + (b1))) & 2) |	\
+#define CB_PD0      (1 << 0)
+#define CB_PD1      (1 << 1)
+#define CB_SGL      (1 << 2)
+#define CB_UNI      (1 << 3)
+#define CB_SEL0     (1 << 4)
+#define CB_SEL1     (1 << 5)
+#define CB_SEL2     (1 << 6)
+#define CB_START    (1 << 7)
+
+#define CHANNEL_NUM(v, b0, b1, b2)  \
+                        ((((v) >> (2 + (b0))) & 4) |    \
+                         (((v) >> (3 + (b1))) & 2) |    \
                          (((v) >> (4 + (b2))) & 1))
 
 static uint32_t max111x_read(MAX111xState *s)
hw/arm/boot.c +4 -4
index 54f6a3e0b3..301e1313c2 100644
@@ -366,13 +366,13 @@ static void set_kernel_args_old(const struct arm_boot_info *info,
     WRITE_WORD(p, info->ram_size / 4096);
     /* ramdisk_size */
     WRITE_WORD(p, 0);
-#define FLAG_READONLY	1
-#define FLAG_RDLOAD	4
-#define FLAG_RDPROMPT	8
+#define FLAG_READONLY   1
+#define FLAG_RDLOAD 4
+#define FLAG_RDPROMPT   8
     /* flags */
     WRITE_WORD(p, FLAG_READONLY | FLAG_RDLOAD | FLAG_RDPROMPT);
     /* rootdev */
-    WRITE_WORD(p, (31 << 8) | 0);	/* /dev/mtdblock0 */
+    WRITE_WORD(p, (31 << 8) | 0);   /* /dev/mtdblock0 */
     /* video_num_cols */
     WRITE_WORD(p, 0);
     /* video_num_rows */
hw/arm/mainstone.c +4 -4
index 68329c4617..309a714674 100644
@@ -26,10 +26,10 @@
 #include "cpu.h"
 
 /* Device addresses */
-#define MST_FPGA_PHYS	0x08000000
-#define MST_ETH_PHYS	0x10000300
-#define MST_FLASH_0		0x00000000
-#define MST_FLASH_1		0x04000000
+#define MST_FPGA_PHYS   0x08000000
+#define MST_ETH_PHYS    0x10000300
+#define MST_FLASH_0     0x00000000
+#define MST_FLASH_1     0x04000000
 
 /* IRQ definitions */
 #define MMC_IRQ       0
hw/arm/nseries.c +404 -404

1,153 lines not on this page · raw message

hw/arm/omap1.c +513 -513

1,786 lines not on this page · raw message

hw/arm/omap2.c +618 -618

1,236 lines not on this page · raw message

hw/arm/omap_sx1.c +1 -1
index 4bf1579f8c..f0f87a163f 100644

Lines of this file are not shown. View the raw message.

hw/arm/pxa2xx.c +219 -219

438 lines not on this page · raw message

hw/arm/pxa2xx_gpio.c +19 -19
index e7c3d99224..f7b59d8472 100644

Lines of this file are not shown. View the raw message.

hw/arm/pxa2xx_pic.c +36 -36

72 lines not on this page · raw message

hw/char/omap_uart.c +22 -22

44 lines not on this page · raw message

hw/dma/omap_dma.c +238 -238

476 lines not on this page · raw message

hw/dma/pxa2xx_dma.c +51 -51

102 lines not on this page · raw message

hw/gpio/omap_gpio.c +107 -107

214 lines not on this page · raw message

hw/gpio/zaurus.c +23 -23

46 lines not on this page · raw message

hw/i2c/omap_i2c.c +88 -88

176 lines not on this page · raw message

hw/input/lm832x.c +36 -36

72 lines not on this page · raw message

hw/input/tsc2005.c +50 -50

100 lines not on this page · raw message

hw/input/tsc210x.c +164 -164

328 lines not on this page · raw message

hw/intc/omap_intc.c +116 -116

232 lines not on this page · raw message

hw/misc/cbus.c +66 -66

132 lines not on this page · raw message

hw/misc/mst_fpga.c +149 -149

298 lines not on this page · raw message

hw/misc/omap_clk.c +467 -467

934 lines not on this page · raw message

hw/misc/omap_gpmc.c +43 -43

86 lines not on this page · raw message

hw/misc/omap_l4.c +9 -9
index b7875489da..1c396121fe 100644

Lines of this file are not shown. View the raw message.

hw/misc/omap_sdrc.c +66 -66

132 lines not on this page · raw message

hw/misc/omap_tap.c +14 -14
index 4d7fb7d85f..daa15696ee 100644

Lines of this file are not shown. View the raw message.

hw/sd/omap_mmc.c +63 -63

126 lines not on this page · raw message

hw/sd/pxa2xx_mmci.c +54 -54

108 lines not on this page · raw message

hw/ssi/omap_spi.c +71 -71

142 lines not on this page · raw message

hw/timer/omap_gptimer.c +40 -40

80 lines not on this page · raw message

hw/timer/omap_synctimer.c +2 -2
index d93a9344ed..23af6dbdb8 100644

Lines of this file are not shown. View the raw message.

hw/timer/pxa2xx_timer.c +40 -40

80 lines not on this page · raw message

include/hw/arm/omap.h +446 -446

892 lines not on this page · raw message

include/hw/arm/pxa.h +50 -50

100 lines not on this page · raw message

include/hw/arm/sharpsl.h +1 -1
index e986b28c52..1e3992fcd0 100644

Lines of this file are not shown. View the raw message.

include/hw/arm/soc_dma.h +2 -2
index e93a7499a8..bcdb91425a 100644

Lines of this file are not shown. View the raw message.

tcg/arm/tcg-target.h +2 -2
index def2a189e6..013437393a 100644

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.34.1

Part of the diff is not shown here. View the raw message.