Remove base/native_types.h headers

Issue #1993
This commit is contained in:
Norman Feske
2016-06-13 13:53:58 +02:00
parent d6ba00089b
commit f7bdd383e2
79 changed files with 324 additions and 310 deletions

View File

@@ -1,5 +1,5 @@
/*
* \brief Native types
* \brief Native capability type
* \author Norman Feske
* \date 2007-10-15
*/
@@ -11,11 +11,11 @@
* under the terms of the GNU General Public License version 2.
*/
#ifndef _INCLUDE__BASE__NATIVE_TYPES_H_
#define _INCLUDE__BASE__NATIVE_TYPES_H_
#ifndef _INCLUDE__BASE__NATIVE_CAPABILITY_H_
#define _INCLUDE__BASE__NATIVE_CAPABILITY_H_
#include <util/string.h>
#include <base/native_capability.h>
#include <base/native_capability_tpl.h>
#include <base/stdint.h>
namespace Genode {
@@ -40,8 +40,6 @@ namespace Genode {
};
typedef Native_capability_tpl<Cap_dst_policy> Native_capability;
enum { PARENT_SOCKET_HANDLE = 100 };
}
#endif /* _INCLUDE__BASE__NATIVE_TYPES_H_ */
#endif /* _INCLUDE__BASE__NATIVE_CAPABILITY_H_ */

View File

@@ -20,6 +20,9 @@
#include <pd_session_component.h>
#include <dataspace_component.h>
/* base-internal includes */
#include <base/internal/parent_socket_handle.h>
/* Linux includes */
#include <core_linux_syscalls.h>

View File

@@ -17,6 +17,7 @@
/* base-internal includes */
#include <base/internal/native_thread.h>
#include <base/internal/parent_socket_handle.h>
/* local includes */
#include "platform.h"

View File

@@ -21,7 +21,6 @@
#define _INCLUDE__BASE__INTERNAL__LOCK_HELPER_H_
/* Genode includes */
#include <base/native_types.h>
#include <base/thread.h>
/* Linux includes */

View File

@@ -0,0 +1,19 @@
/*
* \brief Socket handle that refers to the component's parent
* \author Norman Feske
* \date 2016-06-13
*/
/*
* Copyright (C) 2016 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.
*/
#ifndef _INCLUDE__BASE__INTERNAL__PARENT_SOCKET_HANDLE_H_
#define _INCLUDE__BASE__INTERNAL__PARENT_SOCKET_HANDLE_H_
namespace Genode { enum { PARENT_SOCKET_HANDLE = 100 }; }
#endif /* _INCLUDE__BASE__INTERNAL__PARENT_SOCKET_HANDLE_H_ */

View File

@@ -21,6 +21,7 @@
#include <base/internal/platform_env.h>
#include <base/internal/native_thread.h>
#include <base/internal/globals.h>
#include <base/internal/parent_socket_handle.h>
using namespace Genode;