summaryrefslogtreecommitdiff
path: root/hw/pc.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/pc.c')
-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)