uc_access.3 (2010 09)

u
uc_access(3)
Integrity Systems Only
uc_access(3)
__uc_get_cfm()
Returns (in the value argument) the saved value of the Current Frame Marker Register.
If the context was created in a syscall,
value will be the frame marker corresponding to the
function that called the kernel.
__uc_set_cfm()
Overwrites the saved value of the Current Frame Marker Register with
value.
__uc_get_um()
Returns (in the value argument) the saved value of the User Mask Register.
__uc_set_um()
Overwrites the saved User Mask Register with value
. An attempt to set reserved bits will
return [EINVAL].
__uc_get_ed()
Returns (in the low-order bit of the
value argument) the saved value of the Exception Defer-
ral Bit. This bit is only saved in interruption contexts. An attempt to read it from a context
saved in a syscall will return [EINVAL].
__uc_set_ed()
Overwrites the saved Exception Deferral Bit value with the low-order bit of the
value
specified. This bit is only saved in interruption contexts. An attempt to write it in a context
saved in a syscall will return [EINVAL]. An attempt to set it if CR.ISR.ED is not set will
return [EINVAL].
__uc_get_ar_rsc()
Returns (in the value argument) the saved value of the AR.RSC register.
__uc_set_ar_rsc()
Overwrites the saved value of the AR.RSC register with value.
__uc_get_ar_bsp()
Returns (in the value argument) the saved value of the AR.BSP register. By convention, this
value reflects the effects of the br.call instruction used to enter a syscall or the
cover
instruction used in handling an interruption. To find the value that will be in
AR.BSP when
the next instruction is executed the caller must:
1) Call
__uc_get_reason()
to determine whether the context was created in a syscall or
while handling an interruption.
2) Call
__uc_get_cfm()
to fetch the current frame marker.
3) Adjust the
AR.BSP value by CFM.sol (for a syscall context) or
CFM.sof (for an interr-
uption context).
__uc_get_ar_bspstore()
Returns (in the value argument) the saved value of the AR.BSPSTORE register.
__uc_get_ar_csd()
Returns (in the value argument) the saved value of the AR.CSD register. If the context was
created in a syscall, the value is undefined.
__uc_set_ar_csd()
Overwrites the saved value of the AR.CSD register with value. If the context was created in
a syscall, this call returns [EINVAL] with no other side-effects.
__uc_get_ar_ssd()
Returns (in the value argument) the saved value of the AR.SSD register. If the context was
created in a syscall, the value is undefined.
__uc_set_ar_ssd()
Overwrites the saved value of the AR.SSD register with value. If the context was created in
a syscall, this call returns [EINVAL] with no other side-effects.
__uc_get_ar_ccv()
Returns (in the value argument) the saved value of the AR.CCV register. If the context was
created in a syscall, the value is undefined.
__uc_set_ar_ccv()
Overwrites the saved value of the AR.CCV register with value. If the context was created in
4 Hewlett-Packard Company 4 HP-UX 11i Version 3: September 2010