/* * \brief Test client for the Hello RPC interface * \author Björn Döbel * \date 2008-03-20 */ /* * Copyright (C) 2008-2012 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 #include #include #include #include using namespace Genode; int main(void) { Hello::Connection h; Timer::Connection timer; while (1) { h.say_hello(); timer.msleep(1000); int foo = h.add(2, 5); PDBG("Added 2 + 5 = %d", foo); timer.msleep(1000); } return 0; }