On Fri, Mar 27, 2015 at 01:35:11PM +, Jan Beulich wrote:
> >>> On 27.03.15 at 13:57, wrote:
> > On Mon, Mar 02, 2015 at 05:23:49PM +, Jan Beulich wrote:
> >> >>> On 30.01.15 at 18:54, wrote:
> >> > +{
> >> > +void *ptr;
> >> > +
> >> > +/*
> >> > + * Init __malloc_free on runt
>>> On 27.03.15 at 13:57, wrote:
> On Mon, Mar 02, 2015 at 05:23:49PM +, Jan Beulich wrote:
>> >>> On 30.01.15 at 18:54, wrote:
>> > +{
>> > +void *ptr;
>> > +
>> > +/*
>> > + * Init __malloc_free on runtime. Static initialization
>> > + * will not work because it puts virtual
On Mon, Mar 02, 2015 at 05:23:49PM +, Jan Beulich wrote:
> >>> On 30.01.15 at 18:54, wrote:
> > --- a/xen/arch/x86/efi/efi-boot.h
> > +++ b/xen/arch/x86/efi/efi-boot.h
> > @@ -103,9 +103,35 @@ static void __init relocate_trampoline(unsigned long
> > phys)
> > *(u16 *)(*trampoline_ptr
On Tue, Mar 03, 2015 at 08:04:09AM +, Jan Beulich wrote:
> >>> On 02.03.15 at 21:25, wrote:
> > On Mon, Mar 2, 2015 at 9:23 AM, Jan Beulich wrote:
> > On 30.01.15 at 18:54, wrote:
> >>> @@ -192,12 +218,7 @@ static void __init
> >>> efi_arch_process_memory_map(EFI_SYSTEM_TABLE *SystemTabl
>>> On 02.03.15 at 21:25, wrote:
> On Mon, Mar 2, 2015 at 9:23 AM, Jan Beulich wrote:
> On 30.01.15 at 18:54, wrote:
>>> @@ -192,12 +218,7 @@ static void __init
>>> efi_arch_process_memory_map(EFI_SYSTEM_TABLE *SystemTable,
>>>
>>> static void *__init efi_arch_allocate_mmap_buffer(UINTN *ma
On Mon, Mar 2, 2015 at 9:23 AM, Jan Beulich wrote:
On 30.01.15 at 18:54, wrote:
>> --- a/xen/arch/x86/efi/efi-boot.h
>> +++ b/xen/arch/x86/efi/efi-boot.h
>> @@ -103,9 +103,35 @@ static void __init relocate_trampoline(unsigned long
>> phys)
>> *(u16 *)(*trampoline_ptr + (long)trampo
>>> On 30.01.15 at 18:54, wrote:
> --- a/xen/arch/x86/efi/efi-boot.h
> +++ b/xen/arch/x86/efi/efi-boot.h
> @@ -103,9 +103,35 @@ static void __init relocate_trampoline(unsigned long
> phys)
> *(u16 *)(*trampoline_ptr + (long)trampoline_ptr) = phys >> 4;
> }
>
> +#define __MALLOC_SIZE
There is a problem with place_string() which is used as early memory
allocator. It gets memory chunks starting from start symbol and
going down. Sadly this does not work when Xen is loaded using multiboot2
protocol because start lives on 1 MiB address. So, I tried to use
mem_lower address calculate