DOKK / manpages / debian 12 / libocxl-dev / ocxl_afu_set_ppc64_amr.3.en
ocxl_ppc(3) Library Functions Manual ocxl_ppc(3)

ocxl_ppc - OpenCAPI PowerPC specific functions


- Platform specific AFU functions for PowerPC.


ocxl_err ocxl_afu_set_ppc64_amr (ocxl_afu_h afu, uint64_t amr)
Set the PPC64-specific PSL AMR register value for restricting access to the AFU.

Platform specific AFU functions for PowerPC.

ocxl_err ocxl_afu_set_ppc64_amr (ocxl_afu_h afu, uint64_t amr)

Set the PPC64-specific PSL AMR register value for restricting access to the AFU. This register is documented in the Power ISA, Book III.

This function is not available on other platforms.

If used, this function should be called before ocxl_afu_attach()

Parameters

afu the AFU handle
amr the AMR register value

Return values

OCXL_OK if the value was accepted

Generated automatically by Doxygen for libocxl from the source code.

Mon Sep 19 2022 libocxl