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:
b2839bc
)
syscalls: support ppc/ppc64 ecall generators
author
Dmitry Selyutin
<ghostmansd@gmail.com>
Thu, 21 Sep 2023 21:31:11 +0000
(
00:31
+0300)
committer
Dmitry Selyutin
<ghostmansd@gmail.com>
Thu, 21 Sep 2023 21:31:11 +0000
(
00:31
+0300)
src/openpower/syscalls/__main__.py
patch
|
blob
|
history
diff --git
a/src/openpower/syscalls/__main__.py
b/src/openpower/syscalls/__main__.py
index 35bf6692e36ff6fe34483a9fc631e6ea463ab683..3fadc90a0858b2a1cce44cf10498e601d5038941 100644
(file)
--- 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",))