Browse Prior Art Database

Peripheral Device Simulation via Device Driver Interface

IP.com Disclosure Number: IPCOM000118772D
Original Publication Date: 1997-Jul-01
Included in the Prior Art Database: 2005-Apr-01
Document File: 2 page(s) / 57K

Publishing Venue

IBM

Related People

Wright, BJ: AUTHOR

Abstract

Disclosed is a method for simulating a peripheral device. The method consists of a top-half device driver that simulates device behavior. The device driver simulation uses standard kernel interfaces making it transparent to the operating system and application (Figure).

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 100% of the total text.

Peripheral Device Simulation via Device Driver Interface

      Disclosed is a method for simulating a peripheral device.  The
method consists of a top-half device driver that simulates device
behavior.  The device driver simulation uses standard kernel
interfaces making it transparent to the operating system and
application (Figure).

             Figure Device Driver Interface is Simulated

Top-Half Device Driver

      The peripheral device is simulated by simulating the behavior
of the device driver for that device.  The simulator is a top-half
device driver that simulates device behavior.  There is no actual
Input/Output (I/O) performed to a peripheral device so there is no
need for a bottom-half.  The simulator returns return codes, data
buffers, and data structures, identical to the actual device driver
for a device.  Reasonable values are returned for both "good" status
and "error" status situations.

Interfaces

      The device driver simulation implements the same interface as
the actual device driver for a peripheral device.  Operating systems
and applications interface with the device driver simulator in the
same manner as they do the actual device driver.