Sets up the ldmp_parms_t parameter for the livedump kernel service.
#include <sys/livedump.h>
kerrno_t ldmp_setupparms (parms)
ldmp_parms_t *parms;
| Item | Description |
|---|---|
| parms | Points to an item of ldmp_parms_t type. |
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.
| 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 |
The ldmp_setupparms kernel service can be called from either the process or interrupt environment.
| Item | Description |
|---|---|
| 0 | Indicates a successful completion. |
| EFAULT_RAS_LDMP_SETUPPARMS | Indicates that the address is not valid. |