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

Re: [PATCH] Mini-OS: x86: zero out .bss segment at boot



On 07.02.24 11:38, Samuel Thibault wrote:
Juergen Gross, le mer. 07 févr. 2024 11:31:38 +0100, a ecrit:
The .bss segment should be zeroed at very early boot.

Is that not done by the elf loader of Xen?

It might be done by Xen tools today, but I'm quite sure it is not part
of the ABI. The hypervisor doesn't clear .bss when loading a domain (e.g.
dom0).

I stumbled over it while implementing kexec in Mini-OS. For that I need
it for sure.


Juergen



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.