Re: [Xen-devel] Relocatable Xen early boot code

2015-06-12 Thread Andrew Cooper
On 12/06/15 15:36, Daniel Kiper wrote: >> As stated at the hackathon, the problem with using %ebp is that it turns >> all implicit %ds references into implicit %ss references, and tends to > I am aware of that. However, I think that this is not a problem right > now because %ds == %ss. Some data s

Re: [Xen-devel] Relocatable Xen early boot code

2015-06-12 Thread Daniel Kiper
On Fri, Jun 12, 2015 at 02:57:29PM +0100, Jan Beulich wrote: > >>> On 12.06.15 at 15:51, wrote: > > On Fri, Jun 12, 2015 at 01:08:41PM +0100, Jan Beulich wrote: > >> >>> On 12.06.15 at 13:14, wrote: > >> > Here I do not want to discuss GRUB2 and multiboot2 protocol support > >> > details > >> >

Re: [Xen-devel] Relocatable Xen early boot code

2015-06-12 Thread Daniel Kiper
On Fri, Jun 12, 2015 at 02:19:01PM +0100, Andrew Cooper wrote: > On 12/06/15 12:14, Daniel Kiper wrote: > > Hey, > > > > During work on multiboot2 protocol support for Xen on EFI platform > > I discovered that we need relocatable Xen early boot code (which is > > mostly 32-bit code). More you can f

Re: [Xen-devel] Relocatable Xen early boot code

2015-06-12 Thread Jan Beulich
>>> On 12.06.15 at 15:51, wrote: > On Fri, Jun 12, 2015 at 01:08:41PM +0100, Jan Beulich wrote: >> >>> On 12.06.15 at 13:14, wrote: >> > Here I do not want to discuss GRUB2 and multiboot2 protocol support details >> > for relocatable images. It is not needed. It is sufficient to know that it >> >

Re: [Xen-devel] Relocatable Xen early boot code

2015-06-12 Thread Daniel Kiper
On Fri, Jun 12, 2015 at 01:08:41PM +0100, Jan Beulich wrote: > >>> On 12.06.15 at 13:14, wrote: > > Here I do not want to discuss GRUB2 and multiboot2 protocol support details > > for relocatable images. It is not needed. It is sufficient to know that it > > is able to put loaded image anywhere in

Re: [Xen-devel] Relocatable Xen early boot code

2015-06-12 Thread Andrew Cooper
On 12/06/15 12:14, Daniel Kiper wrote: > Hey, > > During work on multiboot2 protocol support for Xen on EFI platform > I discovered that we need relocatable Xen early boot code (which is > mostly 32-bit code). More you can find here: > > http://lists.xen.org/archives/html/xen-devel/2015-02/msg01257

Re: [Xen-devel] Relocatable Xen early boot code

2015-06-12 Thread Jan Beulich
>>> On 12.06.15 at 13:14, wrote: > Here I do not want to discuss GRUB2 and multiboot2 protocol support details > for relocatable images. It is not needed. It is sufficient to know that it > is able to put loaded image anywhere in available memory below 4 GiB. Loaded > image is informed about its b

[Xen-devel] Relocatable Xen early boot code

2015-06-12 Thread Daniel Kiper
Hey, During work on multiboot2 protocol support for Xen on EFI platform I discovered that we need relocatable Xen early boot code (which is mostly 32-bit code). More you can find here: http://lists.xen.org/archives/html/xen-devel/2015-02/msg01257.html I would like to focus on solution #1 describ