Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rtos: branch out dma.h for Zephyr and XTOS #9560

Merged
merged 2 commits into from
Oct 16, 2024

Commits on Oct 9, 2024

  1. rtos: branch out dma.h for Zephyr and XTOS

    The SOF DMA RTOS interface is one of the largest and also one of the
    hardest to maintain, as it's used a lot in SOF, and there is unfortunate
    overlap in interface naming between Zephyr and XTOS.
    
    To get the cleanup work started, branch out the sof/lib/dma.h for Zephyr
    and remove the conditional definitions from both versions. This patch
    maintains support for all build variants, including building SOF with
    Zephyr but using XTOS drivers.
    
    Link: thesofproject#9015
    Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
    kv2019i committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    ea814bf View commit details
    Browse the repository at this point in the history
  2. zephyr: sof/lib/dma: add inline documentation to dma.h

    Add a note to Zephyr sof/lib/dma.h explaining the relation of
    SOF and Zephyr DMA interfaces and warn about the name space overlaps
    that exist. Also enumerate the main usage scenarios that have
    to be handled in this file.
    
    Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
    kv2019i committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    816b143 View commit details
    Browse the repository at this point in the history