genode/repos/base/src/lib/base/utcb.cc
2017-02-28 12:59:29 +01:00

23 lines
535 B
C++

/*
* \brief Accessor to user-level thread-control block (UTCB)
* \author Norman Feske
* \date 2016-01-23
*/
/*
* Copyright (C) 2016-2017 Genode Labs GmbH
*
* This file is part of the Genode OS framework, which is distributed
* under the terms of the GNU Affero General Public License version 3.
*/
/* Genode includes */
#include <base/thread.h>
/* base-internal includes */
#include <base/internal/stack.h>
#include <base/internal/native_utcb.h>
Genode::Native_utcb *Genode::Thread::utcb() { return &_stack->utcb(); }