The Pedigree Project 0.1
Public Member Functions | Static Public Member Functions | List of all members
IsaDma Class Reference

#include <IsaDma.h>

+ Inheritance diagram for IsaDma:
+ Collaboration diagram for IsaDma:

Public Member Functions

virtual bool initTransfer (uint8_t channel, uint8_t mode, size_t length, uintptr_t addr)
 Initialises a read operation.
 

Static Public Member Functions

static IsaDma & instance ()
 

Detailed Description

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.

Definition at line 35 of file IsaDma.h.

Member Function Documentation

◆ initTransfer()

bool IsaDma::initTransfer ( uint8_t  channel,
uint8_t  mode,
size_t  length,
uintptr_t  addr 
)
virtual

Initialises a read operation.

Reimplemented in X86IsaDma.

Definition at line 41 of file IsaDma.cc.

◆ instance()

IsaDma & IsaDma::instance ( )
static

Definition at line 30 of file IsaDma.cc.


The documentation for this class was generated from the following files: