Lines Matching refs:mb_info
412 struct multiboot_info *mb_info = NULL;
432 mb_info = (struct multiboot_info *)PTOV(mb_malloc(sizeof (*mb_info)));
434 bzero(mb_info, sizeof(struct multiboot_info));
435 mb_info->flags = MULTIBOOT_INFO_MEMORY|MULTIBOOT_INFO_BOOT_LOADER_NAME;
436 mb_info->mem_lower = bios_basemem / 1024;
437 mb_info->mem_upper = bios_extmem / 1024;
438 mb_info->boot_loader_name = mb_malloc(strlen(mbl_name) + 1);
440 i386_copyin(mbl_name, mb_info->boot_loader_name, strlen(mbl_name)+1);
523 mb_info->mods_count = num;
524 mb_info->mods_addr = VTOP(mb_mod);
525 mb_info->flags |= MULTIBOOT_INFO_MODS;
537 mb_info->mmap_length = num * sizeof(*mmap);
546 mb_info->mmap_addr = VTOP(mmap);
547 mb_info->flags |= MULTIBOOT_INFO_MEM_MAP;
550 mb_info->drives_length = sizeof (BOOTPLAYER);
551 mb_info->drives_addr = mb_malloc(mb_info->drives_length);
552 i386_copyin(&bootplayer, mb_info->drives_addr,
553 mb_info->drives_length);
554 mb_info->flags &= ~MULTIBOOT_INFO_DRIVE_INFO;
602 mb_info->cmdline = mb_malloc(strlen(cmdline)+1);
603 i386_copyin(cmdline, mb_info->cmdline, strlen(cmdline)+1);
604 mb_info->flags |= MULTIBOOT_INFO_CMDLINE;
610 (void *)VTOP(mb_info));