<!DOCTYPE HTML PUBLIC
"-//IETF//DTD HTML//EN">
<title>SPARC Architectural Model: User Commands
</title>
<body bgcolor=
"#FFFFFF" LANG=
"en-US">
<div STYLE=
"margin-bottom: 0cm"></div>
get - get value of physical address
get [-cpu
<i>cpu_set
</i>]
[-pa|-ra|-va] [-context_id
<i>context
</i>]
[-partition-id
<i>partition
</i>]
[-size
<i>size
</i>] [-count
<i>count
</i>]
<b>deprecated form:
</b><br>
get [-cpu
<i>cpu_set
</i>]
[-pa|-ra|-va] [-context_id
<i>context
</i>]
[-partition-id
<i>partition
</i>]
<i>address
</i> [
<i>size
</i>]
Get value(s) of memory location(s).
The -count option determines the number of values to get from
memoryi. The default is get one value. The size option determines the
size of a value. Valid size options are
1,
2,
4, or
8. The default
In the deprecated form, the default size argument is
4 bytes, but can be
1,
2,
4, and
8*N (N
> 0) bytes.
By default,
<i>address
</i> is treated as physical.
The -pa, -ra, and -va flags override this default.
More details on these and the -context and -partition flags can
be found
<a href=
"flag_addressing_options.html">here
</a>.
If -va is given,
<i>address
</i> is virtual and is translated in the context
of the current cpu, specified by
<a href=
"cmd_pselect.html">pselect
</a>.
This may be overriden by the
<a href=
"flag_cpu.html">-cpu
</a> flag.
Returns the value of a specified memory location.
<ul><a href=
"cmd_set.html">set
</a></ul>