Revision bd418d90 hw/multiboot.c

b/hw/multiboot.c
118 118
    stl_p(p + MB_MOD_END,     end);
119 119
    stl_p(p + MB_MOD_CMDLINE, cmdline_phys);
120 120

  
121
    mb_debug("mod%02d: %08x - %08x\n", s->mb_mods_count, start, end);
121
    mb_debug("mod%02d: "TARGET_FMT_plx" - "TARGET_FMT_plx"\n",
122
             s->mb_mods_count, start, end);
122 123

  
123 124
    s->mb_mods_count++;
124 125
}
......
276 277
            mb_add_mod(&mbs, mbs.mb_buf_phys + offs,
277 278
                       mbs.mb_buf_phys + offs + mb_mod_length, c);
278 279

  
279
            mb_debug("mod_start: %p\nmod_end:   %p\n  cmdline: %#x\n",
280
            mb_debug("mod_start: %p\nmod_end:   %p\n  cmdline: "TARGET_FMT_plx"\n",
280 281
                     (char *)mbs.mb_buf + offs,
281 282
                     (char *)mbs.mb_buf + offs + mb_mod_length, c);
282 283
            initrd_filename = next_initrd+1;
......
304 305
    stl_p(bootinfo + MBI_MMAP_ADDR,   ADDR_E820_MAP);
305 306

  
306 307
    mb_debug("multiboot: mh_entry_addr = %#x\n", mh_entry_addr);
307
    mb_debug("           mb_buf_phys   = %x\n", mbs.mb_buf_phys);
308
    mb_debug("           mod_start     = %x\n", mbs.mb_buf_phys + mbs.offset_mods);
308
    mb_debug("           mb_buf_phys   = "TARGET_FMT_plx"\n", mbs.mb_buf_phys);
309
    mb_debug("           mod_start     = "TARGET_FMT_plx"\n", mbs.mb_buf_phys + mbs.offset_mods);
309 310
    mb_debug("           mb_mods_count = %d\n", mbs.mb_mods_count);
310 311

  
311 312
    /* save bootinfo off the stack */

Also available in: Unified diff