OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e0af5d
)
removed traces
author
bellard
<bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 7 Nov 2007 16:54:42 +0000
(16:54 +0000)
committer
bellard
<bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 7 Nov 2007 16:54:42 +0000
(16:54 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3541
c046a42c
-6fe2-441c-8c8c-
71466251a162
hw/pc.c
patch
|
blob
|
history
diff --git
a/hw/pc.c
b/hw/pc.c
index
8a1c577
..
9a0b0a4
100644
(file)
--- 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)