Re: [PATCH] reserve end-of-conventional-memory to 1MB on 32-bit

H. Peter Anvin
2008-02-29T18:49:20Z

Alexander van Heukelum wrote:
>
> My first guess is that the BIOS data area is completely non-existent for
> Xen.
> Is it guaranteed that the memory is zeroed out on boot? In that case we
> can
> special-case it easily:
>
> change:
> /* Paranoia: should never happen, but... */
> if (lowmem >= 0x100000)
> lowmem = 0xa0000;
>
> into:
> /* Strange case, like Xen ;) */
> if (lowmem == 0 || lowmem >= 0x100000)
> lowmem = 0x9f000;
>
> Can you test that?
>

The EBDA is optional anyway; I presume it should have a zero pointer if
it isn't present.

-hpa