| 1 | <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| 2 | <html> |
| 3 | <head> |
| 4 | <title>SPARC Architectural Model: User Commands</title> |
| 5 | </head> |
| 6 | <body bgcolor="#FFFFFF" LANG="en-US"> |
| 7 | <div STYLE="margin-bottom: 0cm"></div> |
| 8 | |
| 9 | <h2> |
| 10 | translate |
| 11 | </h2> |
| 12 | |
| 13 | <h4> |
| 14 | NAME |
| 15 | </h4> |
| 16 | <ul> |
| 17 | translate - translate virtual address to physical |
| 18 | </ul> |
| 19 | |
| 20 | <h4>SYNOPSIS</h4> |
| 21 | <tt> |
| 22 | <ul> |
| 23 | translate [-cpu <i>cpu_set</i>] |
| 24 | [-pa|-ra|-va] [-context_id <i>context</i>] [-partition-id <i>partition</i>] <i>address</i> |
| 25 | </ul> |
| 26 | </tt> |
| 27 | |
| 28 | <h4>DESCRIPTION</h4> |
| 29 | <ul> |
| 30 | Translate the given virtual address to a physical one. |
| 31 | The <a href="flag_cpu.html">-cpu</a> flag selects which cpu's context |
| 32 | and partition ids control real and virtual address translation. |
| 33 | The remaining flags control whether <i>address</i> is translated as a |
| 34 | physical, real, or virtual address. |
| 35 | More details on these flags can be found <a |
| 36 | href="flag_addressing_options.html">here</a>. |
| 37 | |
| 38 | </ul> |
| 39 | |
| 40 | <h4>RETURN VALUES</h4> |
| 41 | <ul> |
| 42 | Returns a physical address. |
| 43 | </ul> |
| 44 | |
| 45 | <hr> |
| 46 | </body> |
| 47 | </html> |