Re: [RFC PATCH 3/3] boot bzImages under paravirt

From: H. Peter Anvin
Date: Fri May 04 2007 - 13:46:43 EST


Eric W. Biederman wrote:
>
> Right after the segments loads we have:
> leal 0x40(%esi), %esp
> call 1f
> 1: popl %ebp
> subl $1b, %ebp
>
> That uses %ss and %ds. Can we use a segment override on a call
> instruction?
>

Nope. As I said, not having %ss and %es set up is not realistic for
anything other than switching to our own GDT.

-hpa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/