genode/repos/libports/include/lwip/genode_init.h
Martin Stein 7feea78991 timeout: rework timeout framework
* get rid of alarm abstraction
* get rid of Timeout::Time type
* get rid of pointer arguments
* get rid of _discard_timeout indirection
* get rid of 65th bit in stored time values
* get rid of Timeout_scheduler interface
* get rid of uninitialized deadlines
* get rid of default arguments
* get rid of Timeout::_periodic
* get rid of Timeout::Raw
* use list abstraction
* only one interface for timeout handlers
* rework locking scheme to be smp safe
* move all method definitions to CC file
* name mutexes more accurate
* fix when & how to set time-source timeout
* fix deadlocks

Fixes #3884
2020-10-09 13:35:56 +02:00

27 lines
552 B
C++

/*
* \brief Genode native lwIP initalization
* \author Emery Hemingway
* \date 2017-08-21
*/
/*
* Copyright (C) 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.
*/
#ifndef _INCLUDE__LWIP__GENODE_INIT_H_
#define _INCLUDE__LWIP__GENODE_INIT_H_
#include <timer/timeout.h>
#include <base/allocator.h>
namespace Lwip {
void genode_init(Genode::Allocator &heap, ::Timer::Connection &timer);
Genode::Mutex &mutex();
}
#endif