xtensa: ISS: add host file-based simulated disk
authorVictor Prupis <vnp@vnp_fc3.hq.tensilica.com>
Mon, 19 May 2008 21:50:38 +0000 (14:50 -0700)
committerChris Zankel <chris@zankel.net>
Sun, 24 Feb 2013 03:22:41 +0000 (19:22 -0800)
commitb6c7e873daf765e41233b9752083b66442703b7a
treef073ce1cf3f0ce32e4f4d177348d8aece9d8040b
parentc5a285bb1b54e8b636cb522a9eb9c9ad232a23f8
xtensa: ISS: add host file-based simulated disk

Simdisk is a block device that maps to a file in the host file system.
It is usable for testing in the simulated environment, like xt-sim or
QEMU. Device binding to host file may be changed at runtime via proc
interface provided the device is not in use. Number of block devices
and initial binding to host files is controlled via kernel/module
parameters, with defaults specified in the kernel configuration.

Signed-off-by: Victor Prupis <vnp@tensilica.com>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
arch/xtensa/Kconfig
arch/xtensa/platforms/iss/Makefile
arch/xtensa/platforms/iss/simdisk.c [new file with mode: 0644]