genode/hello_tutorial/src/hello/client/main.cc
Stefan Kalkowski 4f69bd9fb8 Remove timer from hello run script (fix #629)
Currently, the hello run script of the hello_tutorial misses some services the
timer driver needs on various platforms. The hello_tutorial is meant for
educational purposes only. So it's desireable to keep it simple. Instead of
complexifying the configuration, this commit just removes the timer from the
example.
2013-01-24 11:03:27 +01:00

34 lines
586 B
C++

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