1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>sq_remap</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="SuperH Interfaces Guide"><link rel="up" href="mm.html#sq" title="Store Queue API"><link rel="prev" href="API-sq-flush-range.html" title="sq_flush_range"><link rel="next" href="API-sq-unmap.html" title="sq_unmap"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span class="phrase">sq_remap</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-sq-flush-range.html">Prev</a> </td><th width="60%" align="center">Store Queue API</th><td width="20%" align="right"> <a accesskey="n" href="API-sq-unmap.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-sq-remap"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>sq_remap — 2 Map a physical address through the Store Queues 3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="funcsynopsis"><table border="0" class="funcprototype-table" summary="Function synopsis" style="cellspacing: 0; cellpadding: 0;"><tr><td><code class="funcdef">unsigned long <b class="fsfunc">sq_remap </b>(</code></td><td>unsigned long <var class="pdparam">phys</var>, </td></tr><tr><td> </td><td>unsigned int <var class="pdparam">size</var>, </td></tr><tr><td> </td><td>const char * <var class="pdparam">name</var>, </td></tr><tr><td> </td><td>pgprot_t <var class="pdparam">prot</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer"> </div></div></div><div class="refsect1"><a name="idp1109455100"></a><h2>Arguments</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="parameter"><code>phys</code></em></span></dt><dd><p> 4 Physical address of mapping. 5 </p></dd><dt><span class="term"><em class="parameter"><code>size</code></em></span></dt><dd><p> 6 Length of mapping. 7 </p></dd><dt><span class="term"><em class="parameter"><code>name</code></em></span></dt><dd><p> 8 User invoking mapping. 9 </p></dd><dt><span class="term"><em class="parameter"><code>prot</code></em></span></dt><dd><p> 10 Protection bits. 11 </p></dd></dl></div></div><div class="refsect1"><a name="idp1109459628"></a><h2>Description</h2><p> 12 Remaps the physical address <em class="parameter"><code>phys</code></em> through the next available store queue 13 address of <em class="parameter"><code>size</code></em> length. <em class="parameter"><code>name</code></em> is logged at boot time as well as through 14 the sysfs interface. 15</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-sq-flush-range.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="mm.html#sq">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-sq-unmap.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">sq_flush_range</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span class="phrase">sq_unmap</span></td></tr></table></div></body></html> 16