genode/repos/base-foc/src/core/rm_session_support.cc

25 lines
594 B
C++
Raw Normal View History

2011-12-22 16:19:25 +01:00
/*
* \brief Fiasco-specific part of RM-session implementation
* \author Stefan Kalkowski
* \date 2011-01-18
*/
/*
2013-01-10 21:44:47 +01:00
* Copyright (C) 2011-2013 Genode Labs GmbH
2011-12-22 16:19:25 +01:00
*
* This file is part of the Genode OS framework, which is distributed
* under the terms of the GNU General Public License version 2.
*/
/* core includes */
#include <rm_session_component.h>
#include <map_local.h>
2011-12-22 16:19:25 +01:00
using namespace Genode;
void Rm_client::unmap(addr_t core_local_base, addr_t virt_base, size_t size)
{
// TODO unmap it only from target space
unmap_local(core_local_base, size >> get_page_size_log2());
2011-12-22 16:19:25 +01:00
}