Initial commit of OpenSPARC T2 architecture model.
[OpenSPARC-T2-SAM] / sam-t2 / sam / docs / ui-cmds / cmd_write-asi.html
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<title>SPARC Architectural Model: User Commands</title>
</head>
<body bgcolor="#FFFFFF" LANG="en-US">
<div STYLE="margin-bottom: 0cm"></div>&nbsp;
<h2>
write-asi
</h2>
<h4>
NAME
</h4>
<ul>
write-asi - write to a non-translating ASI
</ul>
<h4>SYNOPSIS</h4>
<tt>
<ul>
write-asi [-cpu <i>cpu-set</i>] <i>asi-number</i> <i>virt_addr</i> <i>value</i>
</ul>
</tt>
<p>
<h4>DESCRIPTION</h4>
<ul>
Writes the value <i>value</i> to the non-translating ASI <i>asi-number</i> at
virtual address <i>virt_addr</i>.
If the virtual address <i>virt_addr</i> is not defined by the given ASI,
the simulator's behavior is processor-implementation specific.
<p>
<i>virt_addr</i> must be a multiple of 8.
<p>
By default, the write is directed to the cpu selected by <a
href="cmd_pselect.html">pselect</a>.
This can be overridden by the <a href="flag_cpu.html">-cpu</a> flag.
</ul>
<p>
<h4>RETURN VALUES</h4>
<ul>
None.
</ul>
<h4>SEE ALSO</h4>
<ul><a href="cmd_read-asi.html">read-asi</a></ul>
<ul><a href="cmd_pselect.html">pselect</a></ul>
<hr>
</body>
</html>