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:
b2bbeec
)
syscalls: fix syscall arguments
author
Dmitry Selyutin
<ghostmansd@gmail.com>
Fri, 22 Sep 2023 18:31:16 +0000
(21:31 +0300)
committer
Dmitry Selyutin
<ghostmansd@gmail.com>
Fri, 22 Sep 2023 18:31:16 +0000
(21:31 +0300)
src/openpower/syscalls/__init__.py
patch
|
blob
|
history
diff --git
a/src/openpower/syscalls/__init__.py
b/src/openpower/syscalls/__init__.py
index bf86718d5c380fddc8636eea466619235dd82273..5b349ea9e00e646419a3e80e0867bc55967e17f5 100644
(file)
--- a/
src/openpower/syscalls/__init__.py
+++ b/
src/openpower/syscalls/__init__.py
@@
-54,7
+54,7
@@
class Syscall:
argtypes = syscall.argtypes
syscall.restype = ctypes.c_long
syscall.argtypes = ([ctypes.c_long] * len(arguments))
- res = int(syscall(ctypes.c_
ulong(self.host), *map(ctypes.c_u
long, arguments)))
+ res = int(syscall(ctypes.c_
long(self.host), *map(ctypes.c_
long, arguments)))
syscall.restype = restype
syscall.argtypes = argtypes
return res