ldmp_setupparms Kernel Service

Purpose

Sets up the ldmp_parms_t parameter for the livedump kernel service.

Syntax

#include <sys/livedump.h>

kerrno_t ldmp_setupparms (parms)
ldmp_parms_t *parms;

Parameters

Item Description
parms Points to an item of ldmp_parms_t type.

Description

The ldmp_setupparms kernel service simplifies the process of setting up a live dump by setting up the ldmp_parms_t parameter. It does not allocate any storage.

The ldmp_setupparms kernel service performs the following setup for the ldmp_parms_t parameter:
Item Description
Field Value
ldp_eyec eyecatcher for ldmp_parms
ldp_vers current version
ldp_flags 0
ldp_prio LDPP_CRITICAL
ldp_recov NULL
ldp_func NULL
ldp_namepref NULL
ldp_errcode 0
ldp_symptom NULL
ldp_title NULL
ldp_rsvd1 NULL

Execution Environment

The ldmp_setupparms kernel service can be called from either the process or interrupt environment.

Return Values

Item Description
0 Indicates a successful completion.
EFAULT_RAS_LDMP_SETUPPARMS Indicates that the address is not valid.