2 .\" This file and its contents are supplied under the terms of the
3 .\" Common Development and Distribution License ("CDDL"), version 1.0.
4 .\" You may only use this file in accordance with the terms of version
7 .\" A full copy of the text of the CDDL should have accompanied this
8 .\" source. A copy of the CDDL is also available via the Internet at
9 .\" http://www.illumos.org/license/CDDL.
12 .\" Copyright 2015 Joyent, Inc.
15 .Dt PLWP_GETASRS 3PROC
20 .Nd get and set SPARCv9 ancillary state registers
26 .Fa "struct ps_prochandle *P"
32 .Fa "struct ps_prochandle *P"
34 .Fa "const asrset_t asrs"
41 functions get and set the ancillary thread-specific register set of the
47 The ancillary state registers are only present on 64-bit
50 They contain information that is specific to the platform and are not included
51 in the information obtained through functions such as
52 .Xr Plwp_getregs 3PROC ,
53 .Xr Plwp_getfpregs 3PROC ,
55 .Xr Plwp_getxregs 3PROC .
59 function reads the ancillary registers into
63 sets the thread's ancillary registers to the values provided by
66 Processes should be stopped prior to obtaining the register state of
68 Processes may be stopped with
73 structure is described in
76 One may not set the register values of a process that is not an active
77 process, e.g. a process handle that refers to a file or a core file.
79 Upon successful completion, the
85 and get or set the register state.
90 is set to indicate the error.
92 For a full list of possible errors see the
101 function will fail if:
106 does not have any ancillary register state information.
110 refers to a live process and it is not stopped.
114 refers to a live process and there is no thread with id
116 or it is not a 64-bit SPARCv9 process.
120 refers to a core file and there is no thread with id
128 functions are only available on
132 .Sh INTERFACE STABILITY
141 .Xr Plwp_getfpregs 3PROC ,
142 .Xr Plwp_getregs 3PROC ,
143 .Xr Plwp_setregs 3PROC ,
144 .Xr Plwp_setregs 3PROC ,