Commit bc4edd79ee56bfa1c023006cf5a95631e0a52f18

Authored by bellard
1 parent 7e0af5d0

removed traces


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3541 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 4 additions and 0 deletions
... ... @@ -482,7 +482,9 @@ static void load_linux(const char *kernel_filename,
482 482 }
483 483  
484 484 /* kernel protocol version */
  485 +#if 0
485 486 fprintf(stderr, "header magic: %#x\n", ldl_p(header+0x202));
  487 +#endif
486 488 if (ldl_p(header+0x202) == 0x53726448)
487 489 protocol = lduw_p(header+0x206);
488 490 else
... ... @@ -505,6 +507,7 @@ static void load_linux(const char *kernel_filename,
505 507 prot_addr = phys_ram_base + 0x100000;
506 508 }
507 509  
  510 +#if 0
508 511 fprintf(stderr,
509 512 "qemu: real_addr = %#zx\n"
510 513 "qemu: cmdline_addr = %#zx\n"
... ... @@ -512,6 +515,7 @@ static void load_linux(const char *kernel_filename,
512 515 real_addr-phys_ram_base,
513 516 cmdline_addr-phys_ram_base,
514 517 prot_addr-phys_ram_base);
  518 +#endif
515 519  
516 520 /* highest address for loading the initrd */
517 521 if (protocol >= 0x203)
... ...