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,7 +482,9 @@ static void load_linux(const char *kernel_filename,
482 } 482 }
483 483
484 /* kernel protocol version */ 484 /* kernel protocol version */
  485 +#if 0
485 fprintf(stderr, "header magic: %#x\n", ldl_p(header+0x202)); 486 fprintf(stderr, "header magic: %#x\n", ldl_p(header+0x202));
  487 +#endif
486 if (ldl_p(header+0x202) == 0x53726448) 488 if (ldl_p(header+0x202) == 0x53726448)
487 protocol = lduw_p(header+0x206); 489 protocol = lduw_p(header+0x206);
488 else 490 else
@@ -505,6 +507,7 @@ static void load_linux(const char *kernel_filename, @@ -505,6 +507,7 @@ static void load_linux(const char *kernel_filename,
505 prot_addr = phys_ram_base + 0x100000; 507 prot_addr = phys_ram_base + 0x100000;
506 } 508 }
507 509
  510 +#if 0
508 fprintf(stderr, 511 fprintf(stderr,
509 "qemu: real_addr = %#zx\n" 512 "qemu: real_addr = %#zx\n"
510 "qemu: cmdline_addr = %#zx\n" 513 "qemu: cmdline_addr = %#zx\n"
@@ -512,6 +515,7 @@ static void load_linux(const char *kernel_filename, @@ -512,6 +515,7 @@ static void load_linux(const char *kernel_filename,
512 real_addr-phys_ram_base, 515 real_addr-phys_ram_base,
513 cmdline_addr-phys_ram_base, 516 cmdline_addr-phys_ram_base,
514 prot_addr-phys_ram_base); 517 prot_addr-phys_ram_base);
  518 +#endif
515 519
516 /* highest address for loading the initrd */ 520 /* highest address for loading the initrd */
517 if (protocol >= 0x203) 521 if (protocol >= 0x203)