Commit fbb514aa authored by Yuri Nenakhov's avatar Yuri Nenakhov

Fixed naming

parent debd4f3c
...@@ -15,7 +15,7 @@ class phys_mem: ...@@ -15,7 +15,7 @@ class phys_mem:
allocated it should remain working allocated it should remain working
''' '''
def __init__(self, buf_size = 4096): def __init__(self, buf_size = 4096):
ctypes_alloc = ctypes.CDLL('libelphel.so').malloc_and_mlock ctypes_alloc = ctypes.CDLL('libelphel.so.0').malloc_and_mlock
ctypes_alloc.restype = ctypes.c_void_p ctypes_alloc.restype = ctypes.c_void_p
ctypes_alloc.argtypes = ctypes.c_size_t, ctypes_alloc.argtypes = ctypes.c_size_t,
self.endian="<" # little, ">" for big self.endian="<" # little, ">" for big
...@@ -77,4 +77,4 @@ class phys_mem: ...@@ -77,4 +77,4 @@ class phys_mem:
return self.start_addr return self.start_addr
def get_size(self): def get_size(self):
return self.size return self.size
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment