<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX Processorsのトピックproblem in mmap b/w user and kernel space</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/problem-in-mmap-b-w-user-and-kernel-space/m-p/776365#M120521</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to mmap some memory b/w user space and kernel space so that I can use it as a shared memory area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried a sample code from internet in which the following functions were used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. mem_map_reserve(page);&lt;/P&gt;&lt;P&gt;2. remap_page_range(start, page, PAGE_SIZE, PAGE_SHARED)) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and&amp;nbsp; an include file #include &amp;lt;linux/wrapper.h&amp;gt; was used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I compile the same code for imx6 i am getting &amp;lt;linux/wrapper.h&amp;gt; - no such file&amp;nbsp; error , if I am not including the file - i am getting an error - implicit declaration of&amp;nbsp; remap_page_range()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know which include i have to use to eliminate the error or is there any better way to mmap some memory between user and kernel space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vijesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 09 Dec 2017 07:01:22 GMT</pubDate>
    <dc:creator>vijeshreddy</dc:creator>
    <dc:date>2017-12-09T07:01:22Z</dc:date>
    <item>
      <title>problem in mmap b/w user and kernel space</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/problem-in-mmap-b-w-user-and-kernel-space/m-p/776365#M120521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to mmap some memory b/w user space and kernel space so that I can use it as a shared memory area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried a sample code from internet in which the following functions were used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. mem_map_reserve(page);&lt;/P&gt;&lt;P&gt;2. remap_page_range(start, page, PAGE_SIZE, PAGE_SHARED)) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and&amp;nbsp; an include file #include &amp;lt;linux/wrapper.h&amp;gt; was used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I compile the same code for imx6 i am getting &amp;lt;linux/wrapper.h&amp;gt; - no such file&amp;nbsp; error , if I am not including the file - i am getting an error - implicit declaration of&amp;nbsp; remap_page_range()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know which include i have to use to eliminate the error or is there any better way to mmap some memory between user and kernel space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vijesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Dec 2017 07:01:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/problem-in-mmap-b-w-user-and-kernel-space/m-p/776365#M120521</guid>
      <dc:creator>vijeshreddy</dc:creator>
      <dc:date>2017-12-09T07:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: problem in mmap b/w user and kernel space</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/problem-in-mmap-b-w-user-and-kernel-space/m-p/776366#M120522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what android release used in the case. In general one can try to rebuild from scratch,&lt;/P&gt;&lt;P&gt;to avoid possibilty for using old headers. Also similar issues one can find by googling, like&lt;BR /&gt;&lt;A class="link-titled" href="https://github.com/android-ndk/ndk/issues/477" title="https://github.com/android-ndk/ndk/issues/477"&gt;mmap causes compile errors on r15c (unknown identifier) · Issue #477 · android-ndk/ndk · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2017 04:48:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/problem-in-mmap-b-w-user-and-kernel-space/m-p/776366#M120522</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-12-11T04:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: problem in mmap b/w user and kernel space</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/problem-in-mmap-b-w-user-and-kernel-space/m-p/776367#M120523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using linux 4.1.18-i.MX6-PD15.3.0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2017 05:34:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/problem-in-mmap-b-w-user-and-kernel-space/m-p/776367#M120523</guid>
      <dc:creator>vijeshreddy</dc:creator>
      <dc:date>2017-12-11T05:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: problem in mmap b/w user and kernel space</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/problem-in-mmap-b-w-user-and-kernel-space/m-p/776368#M120524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is not supported by nxp, please try nxp official releases described on&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.nxp.com%2Fproducts%2Fsoftware-and-tools%2Fsoftware-development-tools%2Fi.mx-software-and-tools%2Fi.mx-6series-i.mx-7series-software-and-development-tool-resources%3AIMX_SW" rel="nofollow" target="_blank"&gt;http://www.nxp.com/products/software-and-tools/software-development-tools/i.mx-software-and-tools/i.mx-6series-i.mx-7series-software-and-development-tool-resources:IMX_SW&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2017 06:34:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/problem-in-mmap-b-w-user-and-kernel-space/m-p/776368#M120524</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-12-11T06:34:11Z</dc:date>
    </item>
  </channel>
</rss>

