/titanic_41/usr/src/grub/grub-0.97/docs/ |
H A D | kernel.c | 55 multiboot_info_t *mbi; in cmain() local 68 mbi = (multiboot_info_t *) addr; in cmain() 71 printf ("flags = 0x%x\n", (unsigned) mbi->flags); in cmain() 74 if (CHECK_FLAG (mbi->flags, 0)) in cmain() 76 (unsigned) mbi->mem_lower, (unsigned) mbi->mem_upper); in cmain() 79 if (CHECK_FLAG (mbi->flags, 1)) in cmain() 80 printf ("boot_device = 0x%x\n", (unsigned) mbi->boot_device); in cmain() 83 if (CHECK_FLAG (mbi->flags, 2)) in cmain() 84 printf ("cmdline = %s\n", (char *) mbi->cmdline); in cmain() 87 if (CHECK_FLAG (mbi->flags, 3)) in cmain() [all …]
|
H A D | kernel.c.texi | 55 multiboot_info_t *mbi; 68 mbi = (multiboot_info_t *) addr; 71 printf ("flags = 0x%x\n", (unsigned) mbi->flags); 74 if (CHECK_FLAG (mbi->flags, 0)) 76 (unsigned) mbi->mem_lower, (unsigned) mbi->mem_upper); 79 if (CHECK_FLAG (mbi->flags, 1)) 80 printf ("boot_device = 0x%x\n", (unsigned) mbi->boot_device); 83 if (CHECK_FLAG (mbi->flags, 2)) 84 printf ("cmdline = %s\n", (char *) mbi->cmdline); 87 if (CHECK_FLAG (mbi->flags, 3)) [all …]
|
H A D | multiboot.info | 1325 multiboot_info_t *mbi; 1338 mbi = (multiboot_info_t *) addr; 1341 printf ("flags = 0x%x\n", (unsigned) mbi->flags); 1344 if (CHECK_FLAG (mbi->flags, 0)) 1346 (unsigned) mbi->mem_lower, (unsigned) mbi->mem_upper); 1349 if (CHECK_FLAG (mbi->flags, 1)) 1350 printf ("boot_device = 0x%x\n", (unsigned) mbi->boot_device); 1353 if (CHECK_FLAG (mbi->flags, 2)) 1354 printf ("cmdline = %s\n", (char *) mbi->cmdline); 1357 if (CHECK_FLAG (mbi->flags, 3)) [all …]
|
/titanic_41/usr/src/grub/grub-0.97/stage2/ |
H A D | common.c | 32 struct multiboot_info mbi; variable 128 for (cont = 0, addr = mbi.mmap_addr; in mmap_avail_at() 129 addr < mbi.mmap_addr + mbi.mmap_length; in mmap_avail_at() 166 mbi.mem_lower = get_memsize (0); in init_bios_info() 167 mbi.mem_upper = get_memsize (1); in init_bios_info() 180 extended_memory = mbi.mem_upper; in init_bios_info() 190 mbi.mmap_addr = addr; in init_bios_info() 191 mbi.mmap_length = 0; in init_bios_info() 202 mbi.mmap_length += *((unsigned long *) addr) + 4; in init_bios_info() 207 if (mbi.mmap_length) in init_bios_info() [all …]
|
H A D | boot.c | 232 = (char *) ((mbi.mem_lower << 10) - LINUX_SETUP_MOVE_SIZE); in load_image() 279 > RAW_ADDR ((char *) (mbi.mem_lower << 10))) in load_image() 480 mbi.cmdline = (int) arg; in load_image() 481 mbi.mods_count = 0; in load_image() 482 mbi.mods_addr = 0; in load_image() 483 mbi.boot_device = (current_drive << 24) | current_partition; in load_image() 484 mbi.flags &= ~(MB_INFO_MODS | MB_INFO_AOUT_SYMS | MB_INFO_ELF_SHDR); in load_image() 485 mbi.syms.a.tabsize = 0; in load_image() 486 mbi.syms.a.strsize = 0; in load_image() 487 mbi.syms.a.addr = 0; in load_image() [all …]
|
H A D | cmdline.c | 111 mbi.mem_upper = saved_mem_upper; in init_cmdline() 112 if (mbi.mmap_length) in init_cmdline() 113 mbi.flags |= MB_INFO_MEM_MAP; in init_cmdline()
|
H A D | builtins.c | 279 bsd_boot (kernel_type, bootdev, (char *) mbi.cmdline); in boot_func() 332 mbi.flags &= ~MB_INFO_DRIVE_INFO; in boot_func() 333 mbi.drives_length = dhcpack_length; in boot_func() 334 mbi.drives_addr = dhcpack_buf; in boot_func() 338 multi_boot ((int) entry_addr, (int) &mbi); in boot_func() 1232 if (mbi.flags & MB_INFO_APM_TABLE) in displayapm_func() 1282 mbi.mem_lower, mbi.mem_upper); in displaymem_func() 1288 if (mbi.flags & MB_INFO_MEM_MAP) in displaymem_func() 1290 struct AddrRangeDesc *map = (struct AddrRangeDesc *) mbi.mmap_addr; in displaymem_func() 1291 int end_addr = mbi.mmap_addr + mbi.mmap_length; in displaymem_func() [all …]
|
H A D | char_io.c | 240 version_string, mbi.mem_lower, mbi.mem_upper); in init_page() 1347 && RAW_ADDR (mbi.mem_lower * 1024) < (addr + len)) in memcheck() 1349 && RAW_ADDR (mbi.mem_upper * 1024) < ((addr - 0x100000) + len))) in memcheck()
|
H A D | fsys_zfs.h | 73 (RAW_ADDR((mbi.mem_upper << 10) + 0x100000) - ZFS_SCRATCH_SIZE))
|
H A D | stage2.c | 896 config_entries = (char *) mbi.drives_addr + mbi.drives_length; in cmain()
|
H A D | expand.c | 329 if ((mbi.mem_upper / 10240) * 11 >= min_mem64) in check_min_mem64()
|
H A D | shared.h | 729 extern struct multiboot_info mbi;
|
H A D | gunzip.c | 176 linalloc_topaddr = RAW_ADDR ((mbi.mem_upper << 10) + 0x100000); in reset_linalloc()
|
/titanic_41/usr/src/cmd/localedef/ |
H A D | scanner.c | 445 static int mbi = 0; in get_wide() local 451 mbi = 0; in get_wide() 455 if ((mbi == mb_cur_max) || ((c = get_byte()) == EOF)) { in get_wide() 460 mbi = 0; in get_wide() 464 mbs[mbi++] = c; in get_wide() 465 mbs[mbi] = 0; in get_wide() 473 mbi = 0; in get_wide()
|
/titanic_41/usr/src/uts/i86pc/os/ |
H A D | fakebop.c | 1158 multiboot_info_t *mbi = xbi->bi_mb_info; in save_boot_info() local 1162 bcopy(mbi, &saved_mbi, sizeof (multiboot_info_t)); in save_boot_info() 1163 if (mbi->mmap_length > sizeof (saved_mmap)) { in save_boot_info() 1168 bcopy((void *)(uintptr_t)mbi->mmap_addr, (void *)saved_mmap, in save_boot_info() 1169 mbi->mmap_length); in save_boot_info() 1172 if ((mbi->flags & MB_INFO_DRIVE_INFO) != 0) { in save_boot_info() 1173 if (mbi->drives_length > sizeof (saved_drives)) { in save_boot_info() 1174 DBG(mbi->drives_length); in save_boot_info() 1179 bcopy((void *)(uintptr_t)mbi->drives_addr, in save_boot_info() 1180 (void *)saved_drives, mbi->drives_length); in save_boot_info() [all …]
|
H A D | fastboot.c | 466 multiboot_info_t *mbi; /* pointer to multiboot structure */ in fastboot_build_mbi() local 532 mbi = (multiboot_info_t *)start_addr_va; in fastboot_build_mbi() 533 bcopy(&saved_mbi, mbi, sizeof (*mbi)); in fastboot_build_mbi() 541 mbi->mods_addr = start_addr_pa + offs; in fastboot_build_mbi() 562 mbi->mmap_addr = start_addr_pa + offs; in fastboot_build_mbi() 570 mbi->drives_addr = start_addr_pa + offs; in fastboot_build_mbi() 579 mbi->cmdline = start_addr_pa + offs; in fastboot_build_mbi() 589 bzero(&mbi->config_table, in fastboot_build_mbi() 590 sizeof (*mbi) - offsetof(multiboot_info_t, config_table)); in fastboot_build_mbi() 591 mbi->flags &= ~(MB_INFO_CONFIG_TABLE | MB_INFO_BOOT_LOADER_NAME | in fastboot_build_mbi()
|
/titanic_41/usr/src/uts/common/io/ |
H A D | multidata.c | 586 mmd_getregions(multidata_t *mmd, mbufinfo_t *mbi) in mmd_getregions() argument 592 ASSERT(mbi != NULL); in mmd_getregions() 594 bzero((void *)mbi, sizeof (mbufinfo_t)); in mmd_getregions() 597 mbi->hbuf_rptr = mmd->mmd_hbuf->b_rptr; in mmd_getregions() 598 mbi->hbuf_wptr = mmd->mmd_hbuf->b_wptr; in mmd_getregions() 604 mbi->pbuf_ary[i].pbuf_rptr = mmd->mmd_pbuf[i]->b_rptr; in mmd_getregions() 605 mbi->pbuf_ary[i].pbuf_wptr = mmd->mmd_pbuf[i]->b_wptr; in mmd_getregions() 608 mbi->pbuf_cnt = mmd->mmd_pbuf_cnt; in mmd_getregions()
|
/titanic_41/usr/src/uts/common/io/lvm/md/ |
H A D | md_mddb.c | 1790 mddb_mb_ic_t *mbi = NULL; in getmasters() local 1803 mbi = (mddb_mb_ic_t *)kmem_zalloc(MDDB_IC_BSIZE, KM_SLEEP); in getmasters() 1804 mb = &(mbi->mbi_mddb_mb); in getmasters() 1829 mbi->mbi_next = NULL; in getmasters() 1889 return (mbi); in getmasters() 1897 kmem_free((caddr_t)mbi, MDDB_IC_BSIZE); in getmasters()
|
/titanic_41/usr/src/grub/grub-0.97/ |
H A D | ChangeLog | 4139 the second argument from "mbi" to "mb_info". 4168 "mbi".
|