Patent ID: 8079036
Filing Date: 2011-12-13
Classification: G06F

Abstract:
1. In a computing environment, a method for structuring at least a first direct memory access (DMA) transaction, the method comprising: creating an instance of a DMA enabler object for a device, the DMA enabler object being a first one of a plurality of object-oriented programming constructs, the instance of the DMA enabler object comprising computer-executable instructions for controlling DMA operations indicated to be supported for the device; initializing data in the instance of the DMA enabler object, the data specifying a profile of the device, the specified profile indicating DMA features supported by the device, the indicated DMA features supported by the device comprising at least one of whether scatter/gather DMA operations are supported, a type of addressing supported, and whether duplex operations are supported; creating a first instance of a DMA transaction object having computer-executable instructions for processing a first DMA transaction with respect to the device, the DMA transaction object being a second one of the plurality of object-oriented programming constructs; initializing first data in the instance of a DMA transaction object, the instance of the DMA transaction object referencing the instance of the DMA enabler object after the initializing first data in the instance of the DMA transaction object; processing the first DMA transaction to completion in conjunction with transitioning the first instance of the DMA transaction object through processing states, wherein the method is implemented by a computer system.