The Pedigree Project
0.1
|
#include <IsaDma.h>
Public Member Functions | |
virtual bool | initTransfer (uint8_t channel, uint8_t mode, size_t length, uintptr_t addr)=0 |
Initialises a read operation. | |
Static Public Member Functions | |
static IsaDma & | instance () |
Base class for ISA DMA implementations. Different architectures will do things differently, so the base class is defined here to give a clean interface to the architecture-specific content.
It is assumed drivers will be notified by some other means that their data is ready. This class is merely designed to prepare operations on the DMA controller without requiring drivers to do it themselves.