os: move ram_session_guard from nic_bridge to os

Issue #1039
This commit is contained in:
Alexander Boettcher 2016-11-23 14:09:56 +01:00 committed by Christian Helmuth
parent 5ba245f476
commit dffc1b0497
2 changed files with 4 additions and 4 deletions

View File

@ -11,8 +11,8 @@
* under the terms of the GNU General Public License version 2.
*/
#ifndef _RAM_SESSION_GUARD_H_
#define _RAM_SESSION_GUARD_H_
#ifndef _INCLUDE__OS__RAM_SESSION_GUARD_H_
#define _INCLUDE__OS__RAM_SESSION_GUARD_H_
#include <dataspace/client.h>
#include <ram_session/ram_session.h>
@ -60,4 +60,4 @@ class Genode::Ram_session_guard : public Genode::Ram_session
size_t used() override { return _used; }
};
#endif /* _RAM_SESSION_GUARD_H_ */
#endif /* _INCLUDE__OS__RAM_SESSION_GUARD_H_ */

View File

@ -20,6 +20,7 @@
#include <nic/packet_allocator.h>
#include <nic_session/rpc_object.h>
#include <nic_session/connection.h>
#include <os/ram_session_guard.h>
#include <os/session_policy.h>
#include <root/component.h>
#include <util/arg_string.h>
@ -28,7 +29,6 @@
#include <mac.h>
#include <nic.h>
#include <packet_handler.h>
#include <ram_session_guard.h>
namespace Net {
class Stream_allocator;