root_thread adds mapping to hardware device memory