Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 07 Dec 2004 04:29 PM by  Anonymous
Problem with mmap() & noncached memory
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages
miriam@rapportincorporated.com
New Member
New Member
Posts:


--
24 Aug 2004 12:28 PM
    How do I memory map(mmap()) a region to user space as noncachable memory?

    The problem appears to be that the system has mapped the memory range as cacheable and caching
    needs to be disabled. I have written a device driver that exports a mmap() function that maps the
    appropriate region as follows-

    if (remap_page_range(vma->vm_start, offset, vma->vm_end - vma->vm_start, pgprot_noncached(vma->vm_page_prot)))
    return -EAGAIN;


    Any help would be greatly appreciated...
    Anonymous
    Posts:


    --
    07 Dec 2004 04:29 PM
    m,

    Please keep in mind that Logic's Linux port is meant as a starting point only. It is not what could be considered production ready. If you need assistance with certain driver or BSP work it might be good to contact productsales@logicpd.com to set up a contract to get some of this work done if it is still troubling you.

    Regards,

    Platform Support
    You are not authorized to post a reply.