base: remove 'Native_utcb' from public API

Fixes #1905
This commit is contained in:
Norman Feske
2016-03-08 16:59:43 +01:00
committed by Christian Helmuth
parent 28117fee12
commit 9b0eb720b0
45 changed files with 443 additions and 219 deletions

View File

@ -0,0 +1,33 @@
/*
* \brief UTCB definition
* \author Norman Feske
* \date 2016-03-08
*
* The 'Native_utcb' is located within the stack slot of the thread. We merely
* use it for remembering a pointer to the real UTCB, which resides somewhere
* in the kernel's address space.
*/
/*
* 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__NATIVE_UTCB_H_
#define _INCLUDE__BASE__INTERNAL__NATIVE_UTCB_H_
namespace Fiasco {
#include <l4/sys/utcb.h>
}
namespace Genode { struct Native_utcb; }
struct Genode::Native_utcb
{
Fiasco::l4_utcb_t *foc_utcb = nullptr;
};
#endif /* _INCLUDE__BASE__INTERNAL__NATIVE_UTCB_H_ */