Initial commit of OpenSPARC T2 architecture model.
[OpenSPARC-T2-SAM] / sam-t2 / sam / docs / ui-cmds / cmd_read-asi.html
CommitLineData
920dae64
AT
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>&nbsp;
8
9<h2>
10read-asi
11</h2>
12
13<h4>
14NAME
15</h4>
16<ul>
17read-asi - read from a non-translating ASI
18</ul>
19
20<h4>SYNOPSIS</h4>
21<tt>
22<ul>
23read-asi [-cpu <i>cpu-set</i>] <i>asi-number</i> <i>virt_addr</i>
24</ul>
25</tt>
26<p>
27<h4>DESCRIPTION</h4>
28<ul>
29Reads the value from the non-translating ASI <i>asi-number</i> at
30virtual address <i>virt_addr</i>.
31If the virtual address <i>virt_addr</i> is not defined by the given ASI,
32the simulator's behavior is processor-implementation specific.
33<p>
34<i>virt_addr</i> must be a multiple of 8.
35<p>
36By default, the read is directed to the cpu selected by <a
37href="cmd_pselect.html">pselect</a>.
38This can be overridden by the <a href="flag_cpu.html">-cpu</a> flag.
39</ul>
40<p>
41<h4>RETURN VALUES</h4>
42<ul>
43The value at <i>virt_addr</i> for ASI <i>asi-number</i>.
44</ul>
45
46<h4>SEE ALSO</h4>
47<ul><a href="cmd_write-asi.html">write-asi</a></ul>
48<ul><a href="cmd_pselect.html">pselect</a></ul>
49
50<hr>
51</body>
52</html>