From: Dmitry Selyutin Date: Thu, 21 Sep 2023 21:31:11 +0000 (+0300) Subject: syscalls: support ppc/ppc64 ecall generators X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=97e1356687ec5a7e13f1a7dce5cc8567df267a4c;p=openpower-isa.git syscalls: support ppc/ppc64 ecall generators --- diff --git a/src/openpower/syscalls/__main__.py b/src/openpower/syscalls/__main__.py index 35bf6692..3fadc90a 100644 --- a/src/openpower/syscalls/__main__.py +++ b/src/openpower/syscalls/__main__.py @@ -181,6 +181,8 @@ class ECallGenerator: def __call__(self, guest, host): conventions = { "riscv64": (17, 10, 11, 12, 13, 14, 15), + "ppc": (0, 3, 4, 5, 6, 7, 8), + "ppc64": (0, 3, 4, 5, 6, 7, 8), } limit = -1 @@ -260,7 +262,7 @@ def main(): ecall_parser = main_subparsers.add_parser("ecall") ecall_parser.add_argument("guest", help="guest architecture", - choices=("riscv64",)) + choices=("riscv64", "ppc", "ppc64")) ecall_parser.add_argument("host", help="amd64 architecture", choices=("amd64",))