Lines Matching refs:mdevadd
175 dev_t mdevadd(int devid, ppnum_t base, unsigned int size, int phys);
475 dev = mdevadd(devid, base >> 12, size >> 12, phys); /* Go add the device */
539 dev_t mdevadd(int devid, ppnum_t base, unsigned int size, int phys) {
552 panic("mdevadd: attempt to add overlapping memory device at %08X-%08X\n", mdev[i].mdBase, mdev[i].mdBase + mdev[i].mdSize - 1);
556 panic("mdevadd: attempt to add more than 16 memory devices\n");
561 panic("mdevadd: attempt to explicitly add a bogus memory device: %08X\n", devid);
564 panic("mdevadd: attempt to explicitly add a previously defined memory device: %08X\n", devid);
571 printf("mdevadd: error - bdevsw_add() returned %d\n", mdevBMajor);
589 printf("mdevadd: devfs_make_node for block failed!\n");
598 printf("mdevadd: devfs_make_node for character failed!\n");