From 6f357959c63782fca3d7aa56ba2d9093bbb47642 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Thu, 4 Apr 2024 13:09:32 +0200 Subject: [PATCH 1/2] specs: sort architecture list It's most alphabetical, but "x86*" is kept first because it's the most popular, and "native" and "any" are kept at the end. Also, always put "shorter" strings before longer, i.e. "ppc", "ppc-le", "ppc64", "ppc64-le". --- specs/extension_image.md | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/specs/extension_image.md b/specs/extension_image.md index 58ddd3a..4aad54c 100644 --- a/specs/extension_image.md +++ b/specs/extension_image.md @@ -104,33 +104,33 @@ Valid values: |------------| |x86| |x86-64| +|alpha| +|arc| +|arc-be| +|arm| +|arm-be| +|arm64| +|arm64-be| +|cris| +|ia64| +|loongarch64| +|m68k| +|mips| +|mips-le| +|mips64| +|mips64-le| +|parisc| +|parisc64| |ppc| |ppc-le| |ppc64| |ppc64-le| -|ia64| -|parisc| -|parisc64| |s390| |s390x| -|sparc| -|sparc64| -|mips| -|mips-le| -|mips64| -|mips64-le| -|alpha| -|arm| -|arm-be| -|arm64| -|arm64-be| |sh| |sh64| -|m68k| +|sparc64| +|sparc| |tilegx| -|cris| -|arc| -|arc-be| -|loongarch64| |native| |any| From a663c2c93560938355a296b1a72594eb03bff5c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Thu, 4 Apr 2024 13:12:44 +0200 Subject: [PATCH 2/2] specs: add riscv32 and riscv64 to the list The spelling of the names is taken from [1]. It also matches "RISC-V 32-bit" and "RISC-V 64-bit" used in specs/discoverable_partitions_specification.md. [1] https://github.com/systemd/systemd/blob/19e980eb92d923a25f0cbc38b945c282bc5f5b1b/src/basic/architecture.c#L93 --- specs/extension_image.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/specs/extension_image.md b/specs/extension_image.md index 4aad54c..319a97e 100644 --- a/specs/extension_image.md +++ b/specs/extension_image.md @@ -125,6 +125,8 @@ Valid values: |ppc-le| |ppc64| |ppc64-le| +|riscv32| +|riscv64| |s390| |s390x| |sh|