flashbench: make code more modular

This makes it possible to call programs from
outside of vm.c, and moves all device access
to dev.c, as a step towards integrating the
flashbench front-end with the vm.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
6 files changed
tree: 331e691135a6ff27d94ca83bd06ceb805ecb3cbb
  1. dev.c
  2. dev.h
  3. flashbench.c
  4. Makefile
  5. vm.c
  6. vm.h