9606abc146
A long long time ago, in a galaxy^W^W^W we used DDE kit to ease the porting of purely C based drivers. By now it became clear, that we do not gain that much by following this approach. DDE kit contains much generic functionality, which is not used or rather not needed by most ported drivers. Hence, we implement a slim C wrapper on top of Genode's C++ APIs, that is especially tailored to the driver. In addition to removing the dependency on DDE kit, the iPXE driver now uses the server framework and the newly introduced signal based IRQ handling. Issue #1456.
27 lines
701 B
C
27 lines
701 B
C
/*
|
|
* \brief DDE iPXE dummy implementations
|
|
* \author Christian Helmuth
|
|
* \date 2010-09-13
|
|
*/
|
|
|
|
/*
|
|
* Copyright (C) 2010-2013 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.
|
|
*/
|
|
|
|
#include <dde_support.h>
|
|
|
|
#define TRACE dde_printf("\033[35m%s not implemented\033[0m\n", __func__)
|
|
|
|
int snprintf(char *buf, __SIZE_TYPE__ size, const char *fmt, ...) { TRACE; return 0; }
|
|
|
|
void clear_settings() { TRACE; }
|
|
void netdev_settings_operations() { TRACE; }
|
|
|
|
/* for drivers/net/realtek.c */
|
|
void nvo_init() { TRACE; }
|
|
void register_nvo() { TRACE; }
|
|
void unregister_nvo() { TRACE; }
|