Searched refs:mbi (Results 1 - 18 of 18) sorted by relevance

/illumos-gate/usr/src/grub/grub-0.97/docs/
H A Dkernel.c55 multiboot_info_t *mbi; local
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
[all...]
H A Dkernel.c.texi55 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
[all...]
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dcommon.c32 struct multiboot_info mbi; variable in typeref:struct:multiboot_info
128 for (cont = 0, addr = mbi.mmap_addr;
129 addr < mbi.mmap_addr + mbi.mmap_length;
166 mbi.mem_lower = get_memsize (0);
167 mbi.mem_upper = get_memsize (1);
180 extended_memory = mbi.mem_upper;
183 * The "mbi.mem_upper" variable only recognizes upper memory in the
190 mbi.mmap_addr = addr;
191 mbi
[all...]
H A Dboot.c232 = (char *) ((mbi.mem_lower << 10) - LINUX_SETUP_MOVE_SIZE);
279 > RAW_ADDR ((char *) (mbi.mem_lower << 10)))
480 mbi.cmdline = (int) arg;
481 mbi.mods_count = 0;
482 mbi.mods_addr = 0;
483 mbi.boot_device = (current_drive << 24) | current_partition;
484 mbi.flags &= ~(MB_INFO_MODS | MB_INFO_AOUT_SYMS | MB_INFO_ELF_SHDR);
485 mbi.syms.a.tabsize = 0;
486 mbi.syms.a.strsize = 0;
487 mbi
[all...]
H A Dcmdline.c111 mbi.mem_upper = saved_mem_upper;
112 if (mbi.mmap_length)
113 mbi.flags |= MB_INFO_MEM_MAP;
H A Dfsys_zfs.h73 (RAW_ADDR((mbi.mem_upper << 10) + 0x100000) - ZFS_SCRATCH_SIZE))
H A Dchar_io.c262 version_string, mbi.mem_lower, mbi.mem_upper);
1388 && RAW_ADDR (mbi.mem_lower * 1024) < (addr + len))
1390 && RAW_ADDR (mbi.mem_upper * 1024) < ((addr - 0x100000) + len)))
H A Dbuiltins.c280 bsd_boot (kernel_type, bootdev, (char *) mbi.cmdline);
333 mbi.flags &= ~MB_INFO_DRIVE_INFO;
334 mbi.drives_length = dhcpack_length;
335 mbi.drives_addr = dhcpack_buf;
339 multi_boot ((int) entry_addr, (int) &mbi);
1246 if (mbi.flags & MB_INFO_APM_TABLE)
1297 mbi.mem_lower, mbi.mem_upper);
1303 if (mbi.flags & MB_INFO_MEM_MAP)
1305 struct AddrRangeDesc *map = (struct AddrRangeDesc *) mbi
[all...]
H A Dexpand.c329 if ((mbi.mem_upper / 10240) * 11 >= min_mem64)
H A Dstage2.c896 config_entries = (char *) mbi.drives_addr + mbi.drives_length;
H A Dshared.h729 extern struct multiboot_info mbi;
H A Dgunzip.c176 linalloc_topaddr = RAW_ADDR ((mbi.mem_upper << 10) + 0x100000);
/illumos-gate/usr/src/cmd/iconv/
H A Dscanner.c312 int mbi = 0; local
315 mbs[mbi] = 0;
323 if (mbi == mb_cur_max) {
328 mbs[mbi++] = c;
329 mbs[mbi] = 0;
333 mbs[-1] = mbi;
/illumos-gate/usr/src/cmd/localedef/
H A Dscanner.c445 static int mbi = 0; local
451 mbi = 0;
455 if ((mbi == mb_cur_max) || ((c = get_byte()) == EOF)) {
460 mbi = 0;
464 mbs[mbi++] = c;
465 mbs[mbi] = 0;
473 mbi = 0;
/illumos-gate/usr/src/uts/i86pc/os/
H A Dfastboot.c457 * Create multiboot info structure (mbi) base on the saved mbi.
466 multiboot_info_t *mbi; /* pointer to multiboot structure */ local
467 uintptr_t start_addr_va; /* starting VA of mbi */
468 uintptr_t start_addr_pa; /* starting PA of mbi */
471 size_t size; /* size of the memory reserved for mbi */
487 * Allocate memory for the new multiboot info structure (mbi).
488 * If we have reserved memory for mbi but it's not enough,
518 * Get PA for the new mbi
530 * Copy from the saved mbi t
[all...]
H A Dfakebop.c1118 multiboot_info_t *mbi = xbi->bi_mb_info; local
1122 bcopy(mbi, &saved_mbi, sizeof (multiboot_info_t));
1123 if (mbi->mmap_length > sizeof (saved_mmap)) {
1124 DBG_MSG("mbi->mmap_length too big: clearing "
1128 bcopy((void *)(uintptr_t)mbi->mmap_addr, (void *)saved_mmap,
1129 mbi->mmap_length);
1132 if ((mbi->flags & MB_INFO_DRIVE_INFO) != 0) {
1133 if (mbi->drives_length > sizeof (saved_drives)) {
1134 DBG(mbi->drives_length);
1135 DBG_MSG("mbi
1191 multiboot_info_t *mbi; local
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dmultidata.c586 mmd_getregions(multidata_t *mmd, mbufinfo_t *mbi) argument
592 ASSERT(mbi != NULL);
594 bzero((void *)mbi, sizeof (mbufinfo_t));
597 mbi->hbuf_rptr = mmd->mmd_hbuf->b_rptr;
598 mbi->hbuf_wptr = mmd->mmd_hbuf->b_wptr;
604 mbi->pbuf_ary[i].pbuf_rptr = mmd->mmd_pbuf[i]->b_rptr;
605 mbi->pbuf_ary[i].pbuf_wptr = mmd->mmd_pbuf[i]->b_wptr;
608 mbi->pbuf_cnt = mmd->mmd_pbuf_cnt;
/illumos-gate/usr/src/uts/common/io/lvm/md/
H A Dmd_mddb.c1790 mddb_mb_ic_t *mbi = NULL; local
1803 mbi = (mddb_mb_ic_t *)kmem_zalloc(MDDB_IC_BSIZE, KM_SLEEP);
1804 mb = &(mbi->mbi_mddb_mb);
1829 mbi->mbi_next = NULL;
1889 return (mbi);
1897 kmem_free((caddr_t)mbi, MDDB_IC_BSIZE);
7519 /* A freed mbi pointer still exists in the mddb_ri_t */

Completed in 110 milliseconds