|
Lines 35-49
Link Here
|
| 35 |
.Op Fl fprs |
35 |
.Op Fl fprs |
| 36 |
.Sh DESCRIPTION |
36 |
.Sh DESCRIPTION |
| 37 |
.Nm |
37 |
.Nm |
| 38 |
sets the per-process handling of "Unaligned Access" events. Unlike many |
38 |
sets the per-process handling of |
| 39 |
other CPU's the DEC Alpha processor cannot access unaligned data. To work |
39 |
.Dq unaligned access |
| 40 |
around this, the Alpha has the ability to fix the UA fault rather than send |
40 |
events. |
| 41 |
the faulting process a |
41 |
Unlike many other CPUs the DEC Alpha processor cannot access unaligned data. |
|
|
42 |
To work around this, the Alpha has the ability to fix the UA fault |
| 43 |
rather than send the faulting process a |
| 42 |
.Dv SIGBUS |
44 |
.Dv SIGBUS |
| 43 |
signal. |
45 |
signal. |
| 44 |
However, doing so does slow down the |
46 |
However, doing so does slow down the |
| 45 |
execution of the faulting process. |
47 |
execution of the faulting process. |
| 46 |
At boot up, the DEC Alpha CPU defaults to printing |
48 |
At bootup, the DEC Alpha CPU defaults to printing |
| 47 |
.Bl -tag -width indent |
49 |
.Bl -tag -width indent |
| 48 |
.It pid Ar nnn Pq Ar <progname> Ns Xo |
50 |
.It pid Ar nnn Pq Ar <progname> Ns Xo |
| 49 |
.No : unaligned access: Xo |
51 |
.No : unaligned access: Xo |
|
Lines 56-65
Link Here
|
| 56 |
.Xc |
58 |
.Xc |
| 57 |
.Xc |
59 |
.Xc |
| 58 |
.El |
60 |
.El |
| 59 |
when a UA happens along with fixing it so |
61 |
when a UA happens, along with fixing it, so |
| 60 |
the faulting instruction can continue. |
62 |
the faulting instruction can continue. |
| 61 |
UA handling settings are inherited by child process. |
63 |
UA handling settings are inherited by child process. |
| 62 |
Issued with out any options, |
64 |
Issued without any options, |
| 63 |
.Nm |
65 |
.Nm |
| 64 |
displays the current UA handling for the parent process. |
66 |
displays the current UA handling for the parent process. |
| 65 |
.Pp |
67 |
.Pp |
|
Lines 75-83
Link Here
|
| 75 |
.It Fl s |
77 |
.It Fl s |
| 76 |
Unaligned access errors result in a |
78 |
Unaligned access errors result in a |
| 77 |
.Dv SIGBUS |
79 |
.Dv SIGBUS |
| 78 |
being delivered to the parent and |
80 |
being delivered to the parent and its future descendants. |
| 79 |
its future descendants. This aid in pin pointing the faulting access so it |
81 |
This aids in pinpointing the faulting access so it can be debugged. |
| 80 |
debugged. |
|
|
| 81 |
.El |
82 |
.El |
| 82 |
.Sh DIAGNOSTICS |
83 |
.Sh DIAGNOSTICS |
| 83 |
Exit status is 0 on success, and 1 if the command |
84 |
Exit status is 0 on success, and 1 if the command |