Developing dev subsystem and syscalls.

Signed-off-by: Olli Vanhoja <olli.vanhoja@ninjaware.fi>