<?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>topic Translating a linear address to physical address in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Translating-a-linear-address-to-physical-address/m-p/915602#M12611</link>
    <description>&lt;P&gt;Can somebody tell me how to translate a linear address to physical address in PAE mode(36bits)? I'd like to create a DOS application that can be used to access memory above 4GB.&lt;/P&gt;
&lt;P&gt;I've been studied the document "Intel 64 and IA-32 Architectures s/w developer's manual volume 3A". But I still confused. Could you please provide me a traslation sample or a block of sample code?&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 23 Jul 2007 23:12:38 GMT</pubDate>
    <dc:creator>postaquestion</dc:creator>
    <dc:date>2007-07-23T23:12:38Z</dc:date>
    <item>
      <title>Translating a linear address to physical address</title>
      <link>https://community.intel.com/t5/Software-Archive/Translating-a-linear-address-to-physical-address/m-p/915602#M12611</link>
      <description>&lt;P&gt;Can somebody tell me how to translate a linear address to physical address in PAE mode(36bits)? I'd like to create a DOS application that can be used to access memory above 4GB.&lt;/P&gt;
&lt;P&gt;I've been studied the document "Intel 64 and IA-32 Architectures s/w developer's manual volume 3A". But I still confused. Could you please provide me a traslation sample or a block of sample code?&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jul 2007 23:12:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Translating-a-linear-address-to-physical-address/m-p/915602#M12611</guid>
      <dc:creator>postaquestion</dc:creator>
      <dc:date>2007-07-23T23:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: Translating a linear address to physical address</title>
      <link>https://community.intel.com/t5/Software-Archive/Translating-a-linear-address-to-physical-address/m-p/915603#M12612</link>
      <description>&lt;P&gt;&lt;FONT face="Arial" color="#000000" size="2"&gt;Hello,&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;&lt;FONT color="#000000"&gt;PAE is only accessible in ring 0 meaning an application cannot access it directly but would have to go through the OS (or you can write your own driver) to accomplish this task.&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;&lt;FONT color="#000000"&gt;Fortunately, you do not have to write your own driver to accomplish this. Windows already provides access to this functionality through their AWE (Address Windowing Extensions) API.&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;FONT color="#000000"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;&lt;FONT color="#000000"&gt;Please see the following link:&lt;/FONT&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;&lt;A title="http://msdn2.microsoft.com/en-us/library/aa366527.aspx" href="http://msdn2.microsoft.com/en-us/library/aa366527.aspx"&gt;http://msdn2.microsoft.com/en-us/library/aa366527.aspx&lt;/A&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Arial" color="#000000" size="2"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Arial" color="#000000" size="2"&gt;Gina B.&lt;BR /&gt;Intel Software Network Support&lt;BR /&gt;&lt;/FONT&gt;&lt;A href="http://www.intel.com/software"&gt;&lt;FONT face="Arial" color="#000000" size="2"&gt;&lt;/FONT&gt;&lt;/A&gt;&lt;A href="http://www.intel.com/software" target="_blank"&gt;http://www.intel.com/software&lt;/A&gt;&lt;BR /&gt;&lt;FONT face="Arial" color="#000000" size="2"&gt;email: &lt;/FONT&gt;&lt;A href="mailto:ISN.support@intel.com"&gt;&lt;FONT face="Arial" color="#000000" size="2"&gt;ISN.support@intel.com&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Arial" color="#000000" size="2"&gt;Intel is a registered trademark of Intel Corporation or its subsidiaries in the United States and other countries. &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Arial" color="#000000" size="2"&gt;*Other names and brands may be claimed as the property of others.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 28 Jul 2007 00:07:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Translating-a-linear-address-to-physical-address/m-p/915603#M12612</guid>
      <dc:creator>Intel_Software_Netw1</dc:creator>
      <dc:date>2007-07-28T00:07:33Z</dc:date>
    </item>
    <item>
      <title>Re: Translating a linear address to physical address</title>
      <link>https://community.intel.com/t5/Software-Archive/Translating-a-linear-address-to-physical-address/m-p/915604#M12613</link>
      <description>&lt;P&gt;&lt;FONT face="Arial" size="2"&gt;Another Q&amp;amp;A that stemmed from this forum post:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Arial" size="2"&gt;&lt;STRONG&gt;Q.&lt;/STRONG&gt; I have a question about PAE implementation. I'd like to develop an extended memory management application under DOS.(not Windows console). Can this be implemented under DOS? Could you tell me how to access physical memory above 4GB?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Arial" size="2"&gt;&lt;STRONG&gt;A.&lt;/STRONG&gt; This can be used on any 32-bit application, be it DOS or Windows* Console. AWE maps and unmaps pages from a larger memory space into your own memory space, which can be up to 2GB (or 3GB with an option named 3GB RAM tuning).Please refer to the attached illustration. If you need more than 3GB memory space on Windows*, it is highly recommended to port your application to 64 bits and run on a 64-bit OS. Then you do not have to utilize AWE to access greater than 4GB of memory.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Arial" size="2"&gt;==&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial"&gt;Lexi S.&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; COLOR: black; FONT-FAMILY: Arial"&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial"&gt;IntelSoftware NetworkSupport&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; COLOR: black; FONT-FAMILY: Arial"&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial"&gt;&lt;A href="http://www.intel.com/software"&gt;&lt;FONT color="#800080"&gt;&lt;/FONT&gt;&lt;/A&gt;&lt;A href="http://www.intel.com/software" target="_blank"&gt;http://www.intel.com/software&lt;/A&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; COLOR: black; FONT-FAMILY: Arial"&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial"&gt;&lt;A href="http://www.intel.com/cd/ids/developer/asmo-na/eng/58987.htm"&gt;Contact us&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 11pt; COLOR: black; FONT-FAMILY: Arial"&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Aug 2007 01:42:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Translating-a-linear-address-to-physical-address/m-p/915604#M12613</guid>
      <dc:creator>Intel_Software_Netw1</dc:creator>
      <dc:date>2007-08-09T01:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: Translating a linear address to physical address</title>
      <link>https://community.intel.com/t5/Software-Archive/Translating-a-linear-address-to-physical-address/m-p/915605#M12614</link>
      <description>&lt;P&gt;This may seem obtuse...&lt;/P&gt;
&lt;P&gt;Just what do you mean by "DOS application"?&lt;/P&gt;
&lt;P&gt;About 15 years ago I wrote a utility, similar to a DOS Extender, that provided for Real Mode DOS to use 32-bit Flat Model addressing to data while executing code in 16-bit Seg:Off mode. Note this is Real Mode not Virtual 86 Mode. All well behavedDOS applications would work and your application had 4GB of addressing (although at the time you could not install that much memory).&lt;/P&gt;
&lt;P&gt;If you mean "DOS application" as running in a console window in Windows then you really do not mean "DOS application", instead you mean Win32 console application (either 32-bit or 64-bit). If you mean a console application then install an x64 version of Windows and write your console application using a 64-bit compiler (C/C++/Fortran are available from Intel).&lt;/P&gt;
&lt;P&gt;Now, if you really mean "DOS application" as an application that runs without Windows, without Linux, without MAC OSX, without other OS, then you have a different can-o-worms.&lt;/P&gt;
&lt;P&gt;From my understanding of 64-bit mode(EM64T) is it is only available in Protected Mode. You can write a standalone "hook" that begins in Real Mode (16-bit) that sets up the page table and transitions into 64-bit Flat Mode Protected Mode and it would run your program... but you wouldn't have an O/S. You would have to duplicate what an O/S provides, but do it in a manner that fulfills any other requirements of the application (e.g. you have a real-time application and you cannot have traditional O/S latency issues).&lt;/P&gt;
&lt;P&gt;So what do you mean by DOS application?&lt;/P&gt;
&lt;P&gt;Jim Dempsey&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Aug 2007 22:15:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Translating-a-linear-address-to-physical-address/m-p/915605#M12614</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2007-08-30T22:15:51Z</dc:date>
    </item>
    <item>
      <title>Re: Translating a linear address to physical address</title>
      <link>https://community.intel.com/t5/Software-Archive/Translating-a-linear-address-to-physical-address/m-p/915606#M12615</link>
      <description>&lt;P&gt;Dear Jim,&lt;/P&gt;
&lt;P&gt;I happen to seethis post of yours talking abouta "utility, similar to a DOS Extender, that provided for Real Mode DOS to use 32-bit Flat Model addressing to data while executing code in 16-bit Seg:Off mode."&lt;/P&gt;
&lt;P&gt;Could you please give me someadvicehow to do that? I'm writing a Network Boot Program running in the 16-bit real mode (PXE environment) that needs to access some memory regions beyond the 1MB limit.&lt;/P&gt;
&lt;P&gt;Thanks sincerely,&lt;/P&gt;
&lt;P&gt;Arintel&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Oct 2007 15:13:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Translating-a-linear-address-to-physical-address/m-p/915606#M12615</guid>
      <dc:creator>arintel1</dc:creator>
      <dc:date>2007-10-11T15:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: Translating a linear address to physical address</title>
      <link>https://community.intel.com/t5/Software-Archive/Translating-a-linear-address-to-physical-address/m-p/915607#M12616</link>
      <description>&lt;P&gt;Could you please define what you mean by DOS application?&lt;/P&gt;
&lt;P&gt;a) stand alone application that runs &lt;EM&gt;without&lt;/EM&gt; Windows (Linux) or other operating system. e.g. boots from system BIOS. (FD, CD, HD, other)&lt;/P&gt;
&lt;P&gt;b) A console application that run on Windows 32-bit (Linux 32-bit) or other 32-bit operating system.&lt;/P&gt;
&lt;P&gt;c) A console application that run on Windows 64-bit (Linux 64-bit) or other 64-bit operating system&lt;/P&gt;
&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Mon, 15 Oct 2007 19:25:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Translating-a-linear-address-to-physical-address/m-p/915607#M12616</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2007-10-15T19:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: Translating a linear address to physical address</title>
      <link>https://community.intel.com/t5/Software-Archive/Translating-a-linear-address-to-physical-address/m-p/915608#M12617</link>
      <description>&lt;P&gt;Sorry about the second post.&lt;/P&gt;
&lt;P&gt;email me at &lt;A href="mailto:jim_dempsey@ameritech.net"&gt;jim_dempsey@ameritech.net&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Jim&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Oct 2007 20:31:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Translating-a-linear-address-to-physical-address/m-p/915608#M12617</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2007-10-15T20:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: Translating a linear address to physical address</title>
      <link>https://community.intel.com/t5/Software-Archive/Translating-a-linear-address-to-physical-address/m-p/915609#M12618</link>
      <description>&lt;P&gt;Arintel,&lt;/P&gt;
&lt;P&gt;After digging around in a box of old floppies I found one that had the code.&lt;/P&gt;
&lt;P&gt;Jim&lt;/P&gt;
&lt;P&gt;&lt;A href="mailto:jim_dempsey@ameritech.net"&gt;jim_dempsey@ameritech.net&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Oct 2007 20:48:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Translating-a-linear-address-to-physical-address/m-p/915609#M12618</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2007-10-15T20:48:23Z</dc:date>
    </item>
  </channel>
</rss>

