Initial commit of OpenSPARC T2 architecture model.
[OpenSPARC-T2-SAM] / sam-t2 / sam / docs / ui-cmds / cmd_penable_pdisable.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>
penable, pdisable
</h2>
<h4>
NAME
</h4>
<ul>
penable, pdisable - switch strand on/off
</ul>
<h4>SYNOPSIS</h4>
<tt>
<ul>
pdisable [<i>cpu-mask</i>]<br>
pdisable -cpu <i>cpu_set</i>
<p>
penable [<i>cpu-mask</i>]<br>
penable -cpu <i>cpu_set</i>
</ul>
</tt>
<h4>DESCRIPTION</h4>
<ul>
penable enables a collection of cpus for execution. This collection
is a set of cpus, specified through either the <a
href="flag_cpu.html">-cpu</a> flag or, alternatively
<i>cpu-mask</i>, which is a bitmask corresponding to cpus
numbered 63 through 0, most significant bit to least.
<p>
If no argument is given, penable will list all enabled strands.
<p>
pdisable disables a collection of cpus. This collection is specified
using the <a href="flag_cpu.html">-cpu</a> or a cpu mask as with penable.
A disabled strand is simply stalled for an infinite
amount of time.
Take care that least one cpu is enabled to guarantee forward progress.
<p>
If no argument is given, pdisable will list all disabled strands.
</ul>
<h4>RETURN VALUES</h4>
<ul>
None.
</ul>
<hr>
</body>
</html>