mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-18 23:28:29 +00:00
committed by
Christian Helmuth
parent
28117fee12
commit
9b0eb720b0
33
repos/base-foc/src/include/base/internal/native_utcb.h
Normal file
33
repos/base-foc/src/include/base/internal/native_utcb.h
Normal 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_ */
|
||||
|
Reference in New Issue
Block a user