qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] multiboot: Fix bss segment support


From: Göran Weinholt
Subject: Re: [Qemu-devel] [PATCH] multiboot: Fix bss segment support
Date: Sun, 24 Jul 2011 17:29:35 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Alexander Graf <address@hidden> writes:

> On 24.07.2011, at 12:14, Göran Weinholt wrote:
>
>> Multiboot images can specify a bss segment. The boot loader must clear
>> the memory of the bss and ensure that no modules or structures are
>> allocated inside it. Several fields are provided in the Multiboot
>> header that were previously not used properly. The header is now used
>> to determine how much data should be read from the image and how much
>> memory should be reserved to the bss segment.
>
> This patch still doesn't zero the BSS region out, no? Does it work
> properly after system_reset?

Thank you, that's a good point. The problem could even arise on the
first boot, because the buffer that holds the kernel is allocated with
qemu_malloc(). I'll send a new version of the patch shortly.

Regards,

-- 
Göran Weinholt <address@hidden>
You never give me your money, you only give me your funny paper. -- The Beatles

Attachment: pgp7vFrPslXIh.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]