endpoint_t req_proc_e, target_proc_e;
int proc_n, r;
phys_bytes base, size;
- struct mproc *rmp;
if (mp->mp_effuid != SUPER_USER)
return EPERM;
printf("pm:do_adddma: endpoint %d not found\n", target_proc_e);
return EINVAL;
}
- rmp= &mproc[proc_n];
- rmp->mp_flags |= HAS_DMA;
return OK;
}
if (rmp->mp_flags & ZOMBIE)
panic(__FILE__, "zombify: process was already a zombie", NO_NUM);
- rmp->mp_flags &= (IN_USE|PRIV_PROC|HAS_DMA);
+ rmp->mp_flags &= (IN_USE|PRIV_PROC);
rmp->mp_flags |= ZOMBIE;
p_mp = &mproc[rmp->mp_parent];
#define PM_SIG_PENDING 0x4000 /* process got a signal while waiting for FS */
#define PARTIAL_EXEC 0x8000 /* Process got a new map but no content */
#define TOLD_PARENT 0x10000 /* Parent wait() completed, ZOMBIE off */
-#define HAS_DMA 0x20000 /* Process directly or indirectly granted
- * DMA buffers.
- */
#define NIL_MPROC ((struct mproc *) 0)