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:
b3d4262
)
syscalls: fix ctypes syscall
author
Dmitry Selyutin
<ghostmansd@gmail.com>
Tue, 19 Sep 2023 18:48:13 +0000
(21:48 +0300)
committer
Dmitry Selyutin
<ghostmansd@gmail.com>
Tue, 19 Sep 2023 20:32:21 +0000
(23:32 +0300)
src/openpower/syscalls/__init__.py
patch
|
blob
|
history
diff --git
a/src/openpower/syscalls/__init__.py
b/src/openpower/syscalls/__init__.py
index 569655d27f81ace89f142da478c758bf0684f59e..c7999e19c31120ba9b07c4097a4f126ae1b5e90d 100644
(file)
--- a/
src/openpower/syscalls/__init__.py
+++ b/
src/openpower/syscalls/__init__.py
@@
-106,7
+106,7
@@
class Dispatcher:
syscall.restype = ctypes.c_long
syscall.argtypes = ([ctypes.c_long] * len(arguments))
- return int(syscall(ctypes.c_ulong(host)))
+ return int(syscall(ctypes.c_ulong(host)
, *map(ctypes.c_ulong, arguments)
))
syscall.__name__ = syscall.__qualname__ = entry