Scroll to navigation

ocxl_ppc(3) Library Functions Manual ocxl_ppc(3)

NAME

ocxl_ppc - Platform specific AFU functions for PowerPC.

SYNOPSIS

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.

Detailed Description

Platform specific AFU functions for PowerPC.

Function Documentation

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

Author

Generated automatically by Doxygen for libocxl from the source code.
Tue Sep 11 2018 libocxl