/* * \brief UTCB definition * \author Norman Feske * \date 2016-03-08 */ /* * 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_ #include namespace Genode { struct Native_utcb; } struct Genode::Native_utcb { /** * On seL4, the UTCB is called IPC buffer. We use one page * for each IPC buffer. */ enum { IPC_BUFFER_SIZE = 4096 }; union { addr_t raw[IPC_BUFFER_SIZE/sizeof(addr_t)]; struct { addr_t ep_sel; }; }; }; #endif /* _INCLUDE__BASE__INTERNAL__NATIVE_UTCB_H_ */