uc_access.3 (2010 09)
u
uc_access(3)
Integrity Systems Only
uc_access(3)
a syscall, this call returns [EINVAL] with no other side-effects.
__uc_get_ar_unat()
Returns (in the value argument) the saved value of the
AR.UNAT register.
__uc_set_ar_unat()
Overwrites the saved value of the AR.UNAT
register with value.
__uc_get_ar_fpsr()
Returns (in the value argument) the saved value of the
AR.FPSR register.
__uc_set_ar_fpsr()
Overwrites the saved value of the AR.FPSR register with
value.
__uc_get_ar_pfs()
Returns (in the value argument) the saved value of the
AR.PFS register. In a syscall con-
text, the value returned is undefined. Use
__uc_get_cfm() to read the current frame
marker and
__uc_get_ar_ec()
to read the current epilog count.
__uc_set_ar_pfs()
Overwrites the saved value of the AR.PFS
register with value. If the context was created in
a syscall,
__uc_set_ar_pfs()
returns [EINVAL] with no other side-effects.
__uc_get_ar_lc()
Returns (in the value argument) the saved value of the AR.LC register.
__uc_set_ar_lc()
Overwrites the saved value of the AR.LC register with value.
__uc_get_ar_ec()
Returns (in the value argument) the saved value of the AR.EC register.
__uc_set_ar_ec()
Overwrites the saved value of the AR.EC register with the low-order 6 bits of value.
__uc_get_ar()
Returns (in the value argument) the saved value of the Application Register specified by
reg.
__uc_set_ar()
Overwrites the saved value of the Application Register specified by reg with value.
The following Application Registers may be specified:
Reg Register Get Set
16 AR_RSC XX
17 AR_BSP X
18 AR_BSPSTORE XX
25 AR_AR_CSD(*) XX
26 AR_AR_SSD(*) XX
32 AR_AR_CCV(*) XX
36 AR_UNAT XX
40 AR_FPSR XX
64 AR_PFS(+) XX
65 AR_LC XX
66 AR_EC XX
* AR_CSD, AR_SSD and AR_CCV are scratch registers. If the context was created in a sys-
call, it will read as 0. An attempt to write it will return [EINVAL].
+ Note the caller should consult the unwind information for the function preceding the
delivery of the signal to determine if the
AR.PFS register contained valid data.
__uc_get_cr()
Returns (in the values argument) the saved value of the Control Register specified by reg.
The following Control Registers may be specified:
HP-UX 11i Version 3: September 2010 − 5 − Hewlett-Packard Company 5