From: Dmitry Selyutin Date: Mon, 18 Sep 2023 18:59:39 +0000 (+0300) Subject: syscalls: generate proper name X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0e2501bd51a8897881b1ce2b451ebbbccc30d821;p=openpower-isa.git syscalls: generate proper name --- diff --git a/src/openpower/syscalls/__main__.py b/src/openpower/syscalls/__main__.py index 6cec7fb3..716c9c0d 100644 --- a/src/openpower/syscalls/__main__.py +++ b/src/openpower/syscalls/__main__.py @@ -60,7 +60,9 @@ def collect_sysargs(tree): match = match.group(2).replace("\t", "").replace("\n", "") (name, *arguments) = map(str.strip, match.split(",")) if compat: - name = f"compat_{name}" + name = f"compat_sys_{name}" + else: + name = f"sys_{name}" yield (name, dict(zip(arguments[1::2], arguments[0::2])))