Lines Matching refs:mbi
55 multiboot_info_t *mbi;
67 /* @r{Set MBI to the address of the Multiboot information structure.} */
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))
93 (int) mbi->mods_count, (int) mbi->mods_addr);
94 for (i = 0, mod = (module_t *) mbi->mods_addr;
95 i < mbi->mods_count;
104 if (CHECK_FLAG (mbi->flags, 4) && CHECK_FLAG (mbi->flags, 5))
111 if (CHECK_FLAG (mbi->flags, 4))
113 aout_symbol_table_t *aout_sym = &(mbi->u.aout_sym);
123 if (CHECK_FLAG (mbi->flags, 5))
125 elf_section_header_table_t *elf_sec = &(mbi->u.elf_sec);
134 if (CHECK_FLAG (mbi->flags, 6))
139 (unsigned) mbi->mmap_addr, (unsigned) mbi->mmap_length);
140 for (mmap = (memory_map_t *) mbi->mmap_addr;
141 (unsigned long) mmap < mbi->mmap_addr + mbi->mmap_length;