Re: [Xen-devel] [PATCH v11 11/13] x86: make Xen early boot code relocatable

2017-01-11 Thread Doug Goldstein
On 1/11/17 2:05 PM, Daniel Kiper wrote: > On Mon, Jan 09, 2017 at 08:05:01PM -0600, Doug Goldstein wrote: >> On 12/5/16 4:25 PM, Daniel Kiper wrote: > > [...] > >>> /* Save trampoline address for later use. */ >>> shl $4, %ecx >>> -mov

Re: [Xen-devel] [PATCH v11 11/13] x86: make Xen early boot code relocatable

2017-01-11 Thread Daniel Kiper
On Mon, Jan 09, 2017 at 08:05:01PM -0600, Doug Goldstein wrote: > On 12/5/16 4:25 PM, Daniel Kiper wrote: [...] > > /* Save trampoline address for later use. */ > > shl $4, %ecx > > -mov %ecx,sym_phys(trampoline_phys) > > +mov

Re: [Xen-devel] [PATCH v11 11/13] x86: make Xen early boot code relocatable

2017-01-09 Thread Doug Goldstein
On 12/5/16 4:25 PM, Daniel Kiper wrote: > Every multiboot protocol (regardless of version) compatible image must > specify its load address (in ELF or multiboot header). Multiboot protocol > compatible loader have to load image at specified address. However, there > is no guarantee that the

[Xen-devel] [PATCH v11 11/13] x86: make Xen early boot code relocatable

2016-12-05 Thread Daniel Kiper
Every multiboot protocol (regardless of version) compatible image must specify its load address (in ELF or multiboot header). Multiboot protocol compatible loader have to load image at specified address. However, there is no guarantee that the requested memory region (in case of Xen it starts at 2