2015-05-01 20:03:08 +02:00
|
|
|
/*
|
2016-04-15 15:19:22 +02:00
|
|
|
* \brief Kernel-specific supplements of the region-map implementation
|
2015-05-01 20:03:08 +02:00
|
|
|
* \author Norman Feske
|
|
|
|
* \date 2015-05-01
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Copyright (C) 2015 Genode Labs GmbH
|
|
|
|
*
|
|
|
|
* 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>
|
|
|
|
|
|
|
|
using namespace Genode;
|
|
|
|
|
|
|
|
|
|
|
|
void Rm_client::unmap(addr_t core_local_base, addr_t virt_base, size_t size)
|
|
|
|
{
|
2015-05-17 22:24:47 +02:00
|
|
|
Locked_ptr<Address_space> locked_address_space(_address_space);
|
|
|
|
|
|
|
|
if (locked_address_space.is_valid())
|
|
|
|
locked_address_space->flush(virt_base, size);
|
2015-05-01 20:03:08 +02:00
|
|
|
}
|