vsx_enable Kernel Service

Purpose

Communicates the status of the vector and the vector-scalar registers to the hypervisor.

Syntax


#include <sys/machine.h>
char vsx_enable ()

Description

The vsx_enable kernel service communicates to the hypervisor that the vector and the vector-scalar registers are in use.

Execution Environment

The vsx_enable kernel service can be called from the process environment or the interrupt environment. The vsx_enable kernel service must be called while all the interrupts from within the INTMAX critical section are disabled.

Return Values

The vsx_enable kernel service returns the current setting.