static uint8_t set_ult_WORM(struct list_head *lst) { uint8_t *mp; struct mode *m; set_WORM(lst); /* Default WORM setup */ /* Now for the Ultrium unique stuff */ m = lookup_pcode(lst, MODE_BEHAVIOR_CONFIGURATION, 0); MHVTL_DBG(3, "l: %p, m: %p, m->pcodePointer: %p", lst, m, m->pcodePointer); if (m) { mp = m->pcodePointer; if (!mp) return SAM_STAT_GOOD; mp[4] = 0x01; /* WORM Behavior */ } return SAM_STAT_GOOD; }
static uint8_t set_default_WORM(void) { MHVTL_DBG(3, "+++ Trace mode pages at %p +++", sm); return set_WORM(sm); }
static uint8_t set_3592_WORM(struct list_head *m) { MHVTL_DBG(3, "+++ Trace mode pages at %p +++", m); return set_WORM(m); }
static uint8_t set_default_WORM(struct list_head *l) { MHVTL_DBG(3, "+++ Trace mode pages at %p +++", l); return set_WORM(l); }