projects
/
openpower-isa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
180638a
)
syscalls: generate proper name
author
Dmitry Selyutin
<ghostmansd@gmail.com>
Mon, 18 Sep 2023 18:59:39 +0000
(21:59 +0300)
committer
Dmitry Selyutin
<ghostmansd@gmail.com>
Mon, 18 Sep 2023 18:59:39 +0000
(21:59 +0300)
src/openpower/syscalls/__main__.py
patch
|
blob
|
history
diff --git
a/src/openpower/syscalls/__main__.py
b/src/openpower/syscalls/__main__.py
index 6cec7fb31ff21d830061edc4e97ca3d6ec270d82..716c9c0d417c42d12b645a842210976262cdd54f 100644
(file)
--- 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])))