scripth
struct scripth *scripth;
#define NCB_SCRIPTH_PHYS(np,lbl) (np->p_scripth + offsetof (struct scripth,lbl))
static void ncr_script_fill (struct script * scr, struct scripth *scrh);
#define PADDRH(label) (RELOC_LABELH | offsetof(struct scripth, label))
static struct scripth scripth0 = {
ncr_script_fill (struct script * scr, struct scripth * scrh)
if (sizeof (struct scripth) > PAGE_SIZE) {
np->scripth = (struct scripth*) kmem_alloc_contig
(round_page(sizeof (struct scripth)),
np->scripth = (struct scripth *)
kmalloc (sizeof (struct scripth), M_DEVBUF, M_WAITOK);
np->p_scripth = vtophys(np->scripth);
(ncrcmd *) np->scripth, sizeof(struct scripth));
dsp <= np->p_scripth + sizeof(struct scripth)) {
script_size = sizeof(struct scripth);
script_base = (u_char *) np->scripth;
vdsp_base = np->scripth;