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 %ecx,sym_phys(trampoline_ph

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 %ecx,sym_fs(trampoline_p

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 request