yield from sysnums["x86-64"]["common"].items()
yield from sysnums["x86-64"]["64"].items()
+ def arm(sysnums):
+ yield from sysnums["arm"]["common"].items()
+
+ def aarch64(sysnums):
+ yield from sysnums["generic"]["arch64"].items()
+
def ppc(sysnums):
yield from sysnums["ppc"]["nospu"].items()
yield from sysnums["ppc"]["common"].items()
arch = {
"i386": i386,
"amd64": amd64,
+ "arm": arm,
+ "aarch64": aarch64,
"ppc": ppc,
"ppc64": ppc64,
"riscv32": riscv32,
choices=("riscv64", "ppc", "ppc64"))
ecall_parser.add_argument("host",
help="amd64 architecture",
- choices=("amd64",))
+ choices=("amd64", "arm", "aarch64"))
ecall_parser.set_defaults(generate=ECallGenerator())
arguments = dict(vars(main_parser.parse_args()))