Lines Matching refs:mbi
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()
93 (int) mbi->mods_count, (int) mbi->mods_addr); in cmain()
94 for (i = 0, mod = (module_t *) mbi->mods_addr; in cmain()
95 i < mbi->mods_count; in cmain()
104 if (CHECK_FLAG (mbi->flags, 4) && CHECK_FLAG (mbi->flags, 5)) in cmain()
111 if (CHECK_FLAG (mbi->flags, 4)) in cmain()
113 aout_symbol_table_t *aout_sym = &(mbi->u.aout_sym); in cmain()
123 if (CHECK_FLAG (mbi->flags, 5)) in cmain()
125 elf_section_header_table_t *elf_sec = &(mbi->u.elf_sec); in cmain()
134 if (CHECK_FLAG (mbi->flags, 6)) in cmain()
139 (unsigned) mbi->mmap_addr, (unsigned) mbi->mmap_length); in cmain()
140 for (mmap = (memory_map_t *) mbi->mmap_addr; in cmain()
141 (unsigned long) mmap < mbi->mmap_addr + mbi->mmap_length; in cmain()