sel4: block on first call if Ipc_istream::_wait

This commit is contained in:
Norman Feske 2015-05-07 15:45:07 +02:00 committed by Christian Helmuth
parent 8f535d5371
commit 262f52723b
2 changed files with 8 additions and 1 deletions

View File

@ -4,7 +4,7 @@
# \date 2013-02-14
#
LIBS += cxx startup
LIBS += cxx startup syscall
SRC_CC += ipc/ipc.cc ipc/pager.cc
SRC_CC += avl_tree/avl_tree.cc

View File

@ -17,6 +17,9 @@
#include <base/blocking.h>
#include <util/misc_math.h>
/* seL4 includes */
#include <sel4/interfaces/sel4_client.h>
using namespace Genode;
@ -66,6 +69,10 @@ void Ipc_istream::_wait()
{
PDBG("not implemented");
for (;;)
seL4_Yield();
_read_offset = sizeof(umword_t);
}