]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf52bf22f7b8c64a7d634fd927c0b69a76bc285ff
treef073ce1cf3f0ce32e4f4d177348d8aece9d8040b
parent1f932247c078d734ad66d0fff9e6698bc54dccaf
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]