Commit | Line | Data |
---|---|---|
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> | |
8 | ||
9 | <h2> | |
10 | penable, pdisable | |
11 | </h2> | |
12 | ||
13 | <h4> | |
14 | NAME | |
15 | </h4> | |
16 | <ul> | |
17 | penable, pdisable - switch strand on/off | |
18 | </ul> | |
19 | ||
20 | <h4>SYNOPSIS</h4> | |
21 | <tt> | |
22 | <ul> | |
23 | pdisable [<i>cpu-mask</i>]<br> | |
24 | pdisable -cpu <i>cpu_set</i> | |
25 | <p> | |
26 | penable [<i>cpu-mask</i>]<br> | |
27 | penable -cpu <i>cpu_set</i> | |
28 | </ul> | |
29 | </tt> | |
30 | ||
31 | <h4>DESCRIPTION</h4> | |
32 | <ul> | |
33 | penable enables a collection of cpus for execution. This collection | |
34 | is a set of cpus, specified through either the <a | |
35 | href="flag_cpu.html">-cpu</a> flag or, alternatively | |
36 | <i>cpu-mask</i>, which is a bitmask corresponding to cpus | |
37 | numbered 63 through 0, most significant bit to least. | |
38 | <p> | |
39 | If no argument is given, penable will list all enabled strands. | |
40 | <p> | |
41 | pdisable disables a collection of cpus. This collection is specified | |
42 | using the <a href="flag_cpu.html">-cpu</a> or a cpu mask as with penable. | |
43 | A disabled strand is simply stalled for an infinite | |
44 | amount of time. | |
45 | Take care that least one cpu is enabled to guarantee forward progress. | |
46 | <p> | |
47 | If no argument is given, pdisable will list all disabled strands. | |
48 | </ul> | |
49 | ||
50 | <h4>RETURN VALUES</h4> | |
51 | <ul> | |
52 | None. | |
53 | </ul> | |
54 | ||
55 | <hr> | |
56 | </body> | |
57 | </html> |