summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-07 16:54:42 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-07 16:54:42 +0000
commitbc4edd79ee56bfa1c023006cf5a95631e0a52f18 (patch)
tree526c56a13a21510c2a9de527a9ce24f01eba24e5
parent7e0af5d09729c13900e3e7933ec2071a3646017a (diff)
downloadqemu-bc4edd79ee56bfa1c023006cf5a95631e0a52f18.zip
removed traces
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3541 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--hw/pc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/pc.c b/hw/pc.c
index 8a1c577520..9a0b0a441c 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -482,7 +482,9 @@ static void load_linux(const char *kernel_filename,
}
/* kernel protocol version */
+#if 0
fprintf(stderr, "header magic: %#x\n", ldl_p(header+0x202));
+#endif
if (ldl_p(header+0x202) == 0x53726448)
protocol = lduw_p(header+0x206);
else
@@ -505,6 +507,7 @@ static void load_linux(const char *kernel_filename,
prot_addr = phys_ram_base + 0x100000;
}
+#if 0
fprintf(stderr,
"qemu: real_addr = %#zx\n"
"qemu: cmdline_addr = %#zx\n"
@@ -512,6 +515,7 @@ static void load_linux(const char *kernel_filename,
real_addr-phys_ram_base,
cmdline_addr-phys_ram_base,
prot_addr-phys_ram_base);
+#endif
/* highest address for loading the initrd */
if (protocol >= 0x203)