title: How to access a pointed variable directly from RAM?
body: <p>I have done some research without success about the way to access a pointed variable directly through RAM, being sure the compiler will not access to a registered copy.</p>
  
  <pre><code>int32_t* a;
  void main()
  {
      a = (int32_t*)malloc(4);
  }
  
  void mainBis()
  {
      ???
  }
  </code></pre>
  
  <p>How to be sure accessing to <code>*a</code> the same way as if it was <code>volatile</code>?</p>
  
  <p>Thanks</p>
  
  <p>P.S.: Even if it's called <code>main</code> and <code>mainBin</code> here, it's just two different threads.</p>