Re: [Xen-devel] [PATCH v12 02/10] x86: add multiboot2 protocol support

2017-01-20 Thread Doug Goldstein
On 1/19/17 8:34 PM, Daniel Kiper wrote: > Add multiboot2 protocol support. Alter min memory limit handling as we > now may not find it from either multiboot (v1) or multiboot2. > > This way we are laying the foundation for EFI + GRUB2 + Xen development. > > Signed-off-by: Daniel Kiper > Reviewed

Re: [Xen-devel] [PATCH v12 02/10] x86: add multiboot2 protocol support

2017-01-20 Thread Andrew Cooper
On 20/01/17 17:24, Daniel Kiper wrote: > On Fri, Jan 20, 2017 at 04:52:30PM +, Andrew Cooper wrote: >> >> here please? > Will do. > >> With this, Reviewed-by: Andrew Cooper > Thanks! > >> With this patch present, should legacy booting with MB2 work properly? >> If so, I have a good mind to tak

Re: [Xen-devel] [PATCH v12 02/10] x86: add multiboot2 protocol support

2017-01-20 Thread Daniel Kiper
On Fri, Jan 20, 2017 at 04:52:30PM +, Andrew Cooper wrote: > On 20/01/17 01:34, Daniel Kiper wrote: > > @@ -101,3 +112,126 @@ multiboot_info_t __stdcall *reloc(u32 mbi_in, u32 > > trampoline) > > > > return mbi_out; > > } > > + > > +static multiboot_info_t *mbi2_reloc(u32 mbi_in) > > +{

Re: [Xen-devel] [PATCH v12 02/10] x86: add multiboot2 protocol support

2017-01-20 Thread Andrew Cooper
On 20/01/17 01:34, Daniel Kiper wrote: > @@ -101,3 +112,126 @@ multiboot_info_t __stdcall *reloc(u32 mbi_in, u32 > trampoline) > > return mbi_out; > } > + > +static multiboot_info_t *mbi2_reloc(u32 mbi_in) > +{ > +const multiboot2_fixed_t *mbi_fix = _p(mbi_in); > +const multiboot2_

[Xen-devel] [PATCH v12 02/10] x86: add multiboot2 protocol support

2017-01-19 Thread Daniel Kiper
Add multiboot2 protocol support. Alter min memory limit handling as we now may not find it from either multiboot (v1) or multiboot2. This way we are laying the foundation for EFI + GRUB2 + Xen development. Signed-off-by: Daniel Kiper Reviewed-by: Jan Beulich Reviewed-by: Doug Goldstein --- v12