Lines Matching defs:mdevadd
178 dev_t mdevadd(int devid, uint64_t base, unsigned int size, int phys);
479 dev = mdevadd(devid, base >> 12, (unsigned)size >> 12, phys); /* Go add the device */
546 dev_t mdevadd(int devid, uint64_t base, unsigned int size, int phys) {
559 panic("mdevadd: attempt to add overlapping memory device at %016llX-%016llX\n", mdev[i].mdBase, mdev[i].mdBase + mdev[i].mdSize - 1);
563 panic("mdevadd: attempt to add more than 16 memory devices\n");
568 panic("mdevadd: attempt to explicitly add a bogus memory device: %08X\n", devid);
571 panic("mdevadd: attempt to explicitly add a previously defined memory device: %08X\n", devid);
578 printf("mdevadd: error - bdevsw_add() returned %d\n", mdevBMajor);
596 printf("mdevadd: devfs_make_node for block failed!\n");
605 printf("mdevadd: devfs_make_node for character failed!\n");