libocxl
|
Platform specific AFU functions for PowerPC. More...
Functions | |
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. More... | |
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()
afu | the AFU handle |
amr | the AMR register value |
OCXL_OK | if the value was accepted |