|
|
@ -11,7 +11,6 @@ initialize_region(uint32_t offset, uint32_t data_count, char *data)
|
|
|
|
assert(local_sandbox_context_cache.memory.size >= data_count);
|
|
|
|
assert(local_sandbox_context_cache.memory.size >= data_count);
|
|
|
|
assert(offset < local_sandbox_context_cache.memory.size - data_count);
|
|
|
|
assert(offset < local_sandbox_context_cache.memory.size - data_count);
|
|
|
|
|
|
|
|
|
|
|
|
/* FIXME: Hack around segmented and unsegmented access Issue #104 */
|
|
|
|
|
|
|
|
memcpy(get_memory_ptr_for_runtime(offset, data_count), data, data_count);
|
|
|
|
memcpy(get_memory_ptr_for_runtime(offset, data_count), data, data_count);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|