summaryrefslogtreecommitdiffstats
path: root/src/basic/architecture.h
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-11-18 11:00:56 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-11-19 16:52:38 +0100
commit086df29f35069bb454d52a21a146f76cf7bd42dc (patch)
tree4d779741457b6d7c65f0330ab448edb77c33235e /src/basic/architecture.h
parentdocs: switch the first two columns in partition uuid list (diff)
downloadsystemd-086df29f35069bb454d52a21a146f76cf7bd42dc.tar.xz
systemd-086df29f35069bb454d52a21a146f76cf7bd42dc.zip
shared/gpt: reorder arches alphabetically
It's just too annoying to add new ones otherwise.
Diffstat (limited to 'src/basic/architecture.h')
-rw-r--r--src/basic/architecture.h51
1 files changed, 25 insertions, 26 deletions
diff --git a/src/basic/architecture.h b/src/basic/architecture.h
index 2126c79898..f0377c383e 100644
--- a/src/basic/architecture.h
+++ b/src/basic/architecture.h
@@ -8,42 +8,41 @@
/* A cleaned up architecture definition. We don't want to get lost in
* processor features, models, generations or even ABIs. Hence we
- * focus on general family, and distinguish word width and
- * endianness. */
+ * focus on general family, and distinguish word width and endianness. */
enum {
- ARCHITECTURE_X86 = 0,
- ARCHITECTURE_X86_64,
- ARCHITECTURE_PPC,
- ARCHITECTURE_PPC_LE,
- ARCHITECTURE_PPC64,
- ARCHITECTURE_PPC64_LE,
- ARCHITECTURE_IA64,
- ARCHITECTURE_PARISC,
- ARCHITECTURE_PARISC64,
- ARCHITECTURE_S390,
- ARCHITECTURE_S390X,
- ARCHITECTURE_SPARC,
- ARCHITECTURE_SPARC64,
- ARCHITECTURE_MIPS,
- ARCHITECTURE_MIPS_LE,
- ARCHITECTURE_MIPS64,
- ARCHITECTURE_MIPS64_LE,
ARCHITECTURE_ALPHA,
+ ARCHITECTURE_ARC,
+ ARCHITECTURE_ARC_BE,
ARCHITECTURE_ARM,
- ARCHITECTURE_ARM_BE,
ARCHITECTURE_ARM64,
ARCHITECTURE_ARM64_BE,
- ARCHITECTURE_SH,
- ARCHITECTURE_SH64,
- ARCHITECTURE_M68K,
- ARCHITECTURE_TILEGX,
+ ARCHITECTURE_ARM_BE,
ARCHITECTURE_CRIS,
+ ARCHITECTURE_IA64,
+ ARCHITECTURE_M68K,
+ ARCHITECTURE_MIPS,
+ ARCHITECTURE_MIPS64,
+ ARCHITECTURE_MIPS64_LE,
+ ARCHITECTURE_MIPS_LE,
ARCHITECTURE_NIOS2,
+ ARCHITECTURE_PARISC,
+ ARCHITECTURE_PARISC64,
+ ARCHITECTURE_PPC,
+ ARCHITECTURE_PPC64,
+ ARCHITECTURE_PPC64_LE,
+ ARCHITECTURE_PPC_LE,
ARCHITECTURE_RISCV32,
ARCHITECTURE_RISCV64,
- ARCHITECTURE_ARC,
- ARCHITECTURE_ARC_BE,
+ ARCHITECTURE_S390,
+ ARCHITECTURE_S390X,
+ ARCHITECTURE_SH,
+ ARCHITECTURE_SH64,
+ ARCHITECTURE_SPARC,
+ ARCHITECTURE_SPARC64,
+ ARCHITECTURE_TILEGX,
+ ARCHITECTURE_X86,
+ ARCHITECTURE_X86_64,
_ARCHITECTURE_MAX,
_ARCHITECTURE_INVALID = -EINVAL,
};