30 lines
648 B
C++
30 lines
648 B
C++
/*
|
|
* \brief OKL4-specific part of RM-session implementation
|
|
* \author Norman Feske
|
|
* \date 2009-04-10
|
|
*/
|
|
|
|
/*
|
|
* Copyright (C) 2009-2013 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.
|
|
*/
|
|
|
|
/* Genode includes */
|
|
#include <base/printf.h>
|
|
|
|
/* core includes */
|
|
#include <rm_session_component.h>
|
|
|
|
using namespace Genode;
|
|
|
|
|
|
void Rm_client::unmap(addr_t, addr_t virt_base, size_t size)
|
|
{
|
|
Locked_ptr<Address_space> locked_address_space(_address_space);
|
|
|
|
if (locked_address_space.is_valid())
|
|
locked_address_space->flush(virt_base, size);
|
|
}
|