The Pedigree Project  0.1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
Dma Class Reference
+ Collaboration diagram for Dma:

Public Member Functions

 Dma (IoBase *pRegs, IoBase *pFb, NvCard card, NvType type, uintptr_t ramSize)
 
void init ()
 
void screenToScreenBlit (uint16_t src_x, uint16_t src_y, uint16_t dest_x, uint16_t dest_y, uint16_t h, uint16_t w)
 
void fillRectangle (uint16_t x, uint16_t y, uint16_t h, uint16_t w)
 

Private Member Functions

 Dma (const Dma &)
 
Dmaoperator= (const Dma &)
 
void dmaCmd (uint32_t cmd, uint32_t offset, uint16_t size)
 
void writeBuffer (uint32_t arg)
 
void start ()
 
void ensureFree (uint16_t cmd_size)
 
void initFifo (uint32_t ch, uint32_t handle)
 
void setUpReverseEngineeredMagicRegs ()
 

Private Attributes

IoBasem_pRegs
 
IoBasem_pFramebuffer
 
NvCard m_Card
 
NvType m_Type
 
uintptr_t m_nRamSize
 
uint32_t m_pFifos [32]
 
uint32_t m_pFifoPtrs [32]
 
uintptr_t m_nDmaBuffer
 
uint32_t * m_pDmaBuffer
 
MemoryRegion m_DmaBuffer
 
uintptr_t m_nPut
 
uintptr_t m_nCurrent
 
uintptr_t m_nMax
 
uintptr_t m_nFree
 

Detailed Description

Definition at line 118 of file Dma.h.


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