shellqiqi/freelite

The prototype of userspace_liteapi_alloc_remote_mem() should change

Closed this issue · 0 comments

FujiZ commented

int userspace_liteapi_alloc_local_mem(const char *name,
const size_t size,
void **local_addr,
void **remote_addr)

The name of allocated memory should be transparent to client, so it is better to change the prototype of this function to void *userspace_liteapi_alloc_local_mem(const size_t size), which looks like a wrapper of malloc(const size_t size).