Re: [PATCH 02/18] x86/boot/reloc: create generic alloc and copy functions

2015-02-03 Thread Jan Beulich
>>> On 30.01.15 at 18:54, wrote: > --- a/xen/arch/x86/boot/reloc.c > +++ b/xen/arch/x86/boot/reloc.c > @@ -33,9 +33,10 @@ asm ( > typedef unsigned int u32; > #include "../../../include/xen/multiboot.h" > > -static void *reloc_mbi_struct(void *old, unsigned int bytes) > +static u32 alloc_struct

Re: [PATCH 02/18] x86/boot/reloc: create generic alloc and copy functions

2015-01-30 Thread Andrew Cooper
On 30/01/15 17:54, Daniel Kiper wrote: > Create generic alloc and copy functions. We need > separate tools for memory allocation and copy to > provide multiboot2 protocol support. > > Signed-off-by: Daniel Kiper Reviewed-by: Andrew Cooper > --- > xen/arch/x86/boot/reloc.c | 52 > +++

[PATCH 02/18] x86/boot/reloc: create generic alloc and copy functions

2015-01-30 Thread Daniel Kiper
Create generic alloc and copy functions. We need separate tools for memory allocation and copy to provide multiboot2 protocol support. Signed-off-by: Daniel Kiper --- xen/arch/x86/boot/reloc.c | 52 - 1 file changed, 33 insertions(+), 19 deletions(-)