removed traces
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3541 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
7e0af5d097
commit
bc4edd79ee
4
hw/pc.c
4
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user