/* * \brief Suoritin - Task-based CPU Client Interface * \author Michael Müller * \date 2023-07-12 */ /* * Copyright (C) 2010-2020 Genode Labs GmbH * Copyright (C) 2023 Michael Müller, Osnabrück University * * This file is part of EalánOS, which is distributed * under the terms of the GNU Affero General Public License version 3. */ #pragma once #include #include #include struct Tukija::Suoritin::Client : Genode::Rpc_client { explicit Client(Genode::Capability session) : Rpc_client(session) { } void create_channel() override { call(); } void register_worker(Genode::Thread::Name const &name, Genode::Thread_capability cap) override { call(name, cap); } Capability interface_cap() override { return call(); } };