/* * \brief Copy a platform-capability to another protection domain. * \author Stefan Kalkowski * \date 2012-03-09 */ /* * Copyright (C) 2012-2017 Genode Labs GmbH * * This file is part of the Genode OS framework, which is distributed * under the terms of the GNU Affero General Public License version 3. */ #include #include using namespace Genode; void Cap_dst_policy::copy(void* dst, Native_capability_tpl* src) { memcpy(dst, src, sizeof(Native_capability_tpl)); }