Browse Source

arch_init: sort architectures

Sort alphabetically. Will help us see if anything is missing (e.g. tile
is not there now).

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
tags/v3.0.0-rc0
Michael S. Tsirkin 1 year ago
parent
commit
d35ea39e8d
1 changed files with 8 additions and 8 deletions
  1. 8
    8
      arch_init.c

+ 8
- 8
arch_init.c View File

@@ -52,14 +52,14 @@ int graphic_depth = 32;
52 52
 #define QEMU_ARCH QEMU_ARCH_ARM
53 53
 #elif defined(TARGET_CRIS)
54 54
 #define QEMU_ARCH QEMU_ARCH_CRIS
55
-#elif defined(TARGET_I386)
56
-#define QEMU_ARCH QEMU_ARCH_I386
57 55
 #elif defined(TARGET_HPPA)
58 56
 #define QEMU_ARCH QEMU_ARCH_HPPA
59
-#elif defined(TARGET_M68K)
60
-#define QEMU_ARCH QEMU_ARCH_M68K
57
+#elif defined(TARGET_I386)
58
+#define QEMU_ARCH QEMU_ARCH_I386
61 59
 #elif defined(TARGET_LM32)
62 60
 #define QEMU_ARCH QEMU_ARCH_LM32
61
+#elif defined(TARGET_M68K)
62
+#define QEMU_ARCH QEMU_ARCH_M68K
63 63
 #elif defined(TARGET_MICROBLAZE)
64 64
 #define QEMU_ARCH QEMU_ARCH_MICROBLAZE
65 65
 #elif defined(TARGET_MIPS)
@@ -80,12 +80,12 @@ int graphic_depth = 32;
80 80
 #define QEMU_ARCH QEMU_ARCH_SH4
81 81
 #elif defined(TARGET_SPARC)
82 82
 #define QEMU_ARCH QEMU_ARCH_SPARC
83
-#elif defined(TARGET_XTENSA)
84
-#define QEMU_ARCH QEMU_ARCH_XTENSA
85
-#elif defined(TARGET_UNICORE32)
86
-#define QEMU_ARCH QEMU_ARCH_UNICORE32
87 83
 #elif defined(TARGET_TRICORE)
88 84
 #define QEMU_ARCH QEMU_ARCH_TRICORE
85
+#elif defined(TARGET_UNICORE32)
86
+#define QEMU_ARCH QEMU_ARCH_UNICORE32
87
+#elif defined(TARGET_XTENSA)
88
+#define QEMU_ARCH QEMU_ARCH_XTENSA
89 89
 #endif
90 90
 
91 91
 const uint32_t arch_type = QEMU_ARCH;

Loading…
Cancel
Save