ddpi_stackstate_set_ppa2_locn operation

The ddpi_stackstate_set_ppa2_locn operation assigns the given PPA2 location to the Ddpi_StackState PPA2 location.

Prototype

int ddpi_stackstate_set_ppa2_locn(
  Ddpi_StackState       stackstate,
  Dwarf_Addr            new_ppa2_locn,
  Ddpi_Error*           error);

Parameters

stackstate
Input. This accepts the Ddpi_StackState object.
new_ppa2_locn
Input. This accepts the new PPA2 location.
error
See The libddpi error parameter.

Return values

DW_DLV_OK
Returned when the address of the PPA2 location has been successfully assigned.
DW_DLV_NO_ENTRY
Never returned.
DW_DLV_ERROR
This value is returned if:
  • stackstate is NULL.
  • The Ddpi_Info object associated with stackstate is NULL.
  • ret_ppa2_locn is NULL.