>>> On 29.02.16 at 17:37, wrote:
On 25.02.16 at 15:56, wrote:
>> @@ -258,6 +263,7 @@ int main(void)
>> memset((void *)HYPERCALL_PHYSICAL_ADDRESS, 0xc3 /* RET */, PAGE_SIZE);
>>
>> printf("HVM Loader\n");
>> +BUG_ON(hvm_start_info->magic != XEN_HVM_START_MAGIC_VALUE);
>
> Wai
>>> On 25.02.16 at 15:56, wrote:
> --- /dev/null
> +++ b/tools/firmware/hvmloader/hvm_start_info.h
> @@ -0,0 +1,32 @@
> +#ifndef __HVM_START_INFO_H__
> +#define __HVM_START_INFO_H__
> +
> +/* C representation of the x86/HVM start info layout.
> + *
> + * The canonical definition of this layout res
Signed-off-by: Anthony PERARD
---
Change in V3:
- remove cmdline parser
- load hvm_start_info pointer earlier, before calling main().
- Add struct hvm_start_info definition to hvmloader.
---
tools/firmware/hvmloader/hvm_start_info.h | 32 +++
tools/firmware/hvmloader/