Date: Sun, 7 Mar 2010 15:47:36 GMT From: Rafal Jaworowski <raj@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 175454 for review Message-ID: <201003071547.o27Flatl087649@repoman.freebsd.org>
index | next in thread | raw e-mail
http://p4web.freebsd.org/chv.cgi?CH=175454 Change 175454 by raj@raj_nand on 2010/03/07 15:47:34 Initial import of the NAND simulator (NANDsim) This consists of the following elements: o kernel side NFC back-end driver, which plugs into the NAND framework APIs as if it were a hardware controller with real NAND chips connected to it o userspace control applicaton (/usr/sbin/nandsim) From user perspective, the NANDsim allows for imitating ONFI-compliant devices as if they were attached to the system via a virtual controller. The NANDsim allows to configure the simulated environment; among major features it lets the user perform the following: * retrieve simulation(s) status * add new controller instance * add new chip instance(s) * delete chip instance(s) * delete controller * start simulation (controller) * stop simulation (controller) * errors management (on/off ECC, error injection, bad block injection etc.) * capture and print activity log * capture and print statistics * dump simulation state to a snapshot file * restore simulation from a dump file Obtained from: Juniper Networks, Semihalf Affected files ... .. //depot/projects/nand2/sys/dev/nand/nandsim.c#1 add .. //depot/projects/nand2/sys/dev/nand/nandsim.h#1 add .. //depot/projects/nand2/sys/dev/nand/nandsim_chip.c#1 add .. //depot/projects/nand2/sys/dev/nand/nandsim_chip.h#1 add .. //depot/projects/nand2/sys/dev/nand/nandsim_ctrl.c#1 add .. //depot/projects/nand2/sys/dev/nand/nandsim_log.c#1 add .. //depot/projects/nand2/sys/dev/nand/nandsim_log.h#1 add .. //depot/projects/nand2/sys/dev/nand/nandsim_swap.c#1 add .. //depot/projects/nand2/sys/dev/nand/nandsim_swap.h#1 add .. //depot/projects/nand2/usr.sbin/nandsim/Makefile#1 add .. //depot/projects/nand2/usr.sbin/nandsim/nandsim.c#1 add .. //depot/projects/nand2/usr.sbin/nandsim/nandsim_cfgparse.c#1 add .. //depot/projects/nand2/usr.sbin/nandsim/nandsim_cfgparse.h#1 add .. //depot/projects/nand2/usr.sbin/nandsim/nandsim_rcfile.c#1 add .. //depot/projects/nand2/usr.sbin/nandsim/nandsim_rcfile.h#1 add .. //depot/projects/nand2/usr.sbin/nandsim/sample.conf#1 add .. //depot/projects/nand2/usr.sbin/nandsim/synopsis.txt#1 add Differences ...help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003071547.o27Flatl087649>
