Lines Matching refs:mbi
83 multiboot_info_t *mbi = (multiboot_info_t *)addr;
95 kprintf("flags = 0x%x\n", (uint64_t) mbi->flags);
98 if (CHECK_FLAG (mbi->flags, 0))
100 (unsigned) mbi->mem_lower, (unsigned) mbi->mem_upper);
103 if (CHECK_FLAG (mbi->flags, 1))
104 kprintf("boot_device = 0x%x\n", (unsigned) mbi->boot_device);
107 if (CHECK_FLAG (mbi->flags, 2))
108 kprintf("cmdline = %s\n", (char *)(uintptr_t)mbi->cmdline);
111 if (CHECK_FLAG (mbi->flags, 3))
117 (int) mbi->mods_count, (int) mbi->mods_addr);
118 for (i = 0, mod = (multiboot_module_t *)(uintptr_t)mbi->mods_addr;
119 i < mbi->mods_count;
128 if (CHECK_FLAG (mbi->flags, 4) && CHECK_FLAG (mbi->flags, 5))
135 if (CHECK_FLAG (mbi->flags, 4))
137 multiboot_aout_symbol_table_t *multiboot_aout_sym = &(mbi->u.aout_sym);
147 if (CHECK_FLAG (mbi->flags, 5))
149 multiboot_elf_section_header_table_t *multiboot_elf_sec = &(mbi->u.elf_sec);
160 if (CHECK_FLAG (mbi->flags, 6))
165 (unsigned) mbi->mmap_addr, (unsigned) mbi->mmap_length);
166 for (mmap = (multiboot_memory_map_t *)(uintptr_t) mbi->mmap_addr;
167 (unsigned long) mmap < mbi->mmap_addr + mbi->mmap_length;