adjust_memory
ret = adjust_memory(s, add, start_addr, end_addr);
if (!adjust_memory(s, ADD_MANAGED_RESOURCE, res->start, res->end))