PERFORCE change 175454 for review

Rafal Jaworowski raj at FreeBSD.org
Sun Mar 7 15:47:37 UTC 2010


http://p4web.freebsd.org/chv.cgi?CH=175454

Change 175454 by raj at 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 ...


More information about the p4-projects mailing list