• Jeffrey Lee's avatar
    Add DMA driver · 985c7199
    Jeffrey Lee authored
    Detail:
      s/DMA, hdr/DMA, Makefile - DMA driver, as an implementation of the DMA controller and list type DMA channel HAL devices
      hdr/StaticWS - Added DMA workspace definition
      hdr/BCM2835 - Removed DMA control block definition (now in hdr/DMA). Add definitions for the mailbox property interface, which should be supported by the GPU firmware sometime soon.
      s/Top - Export a couple of the debug functions. Store logical & physical address of NCNB workspace instead of hackily getting phys addr of the (cacheable) HAL workspace. Call DMA_InitDevices in HAL_InitDevices.
    Admin:
      Tested in BCM2835 ROM
      DMA driver hasn't received large amounts of testing, lacks support for finite-length circular transfers, and currently only has one DMA channel enabled
      More DMA channels should be available once the mailbox property interface is functional and we know which channels the GPU does and doesn't use.
    
    
    Version 0.11. Tagged as 'BCM2835-0_11'
    985c7199
Top 28 KB