grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v2 07/18] xen: add PVH specific defines to offset


From: Juergen Gross
Subject: Re: [Xen-devel] [PATCH v2 07/18] xen: add PVH specific defines to offset.h
Date: Fri, 19 Oct 2018 16:39:29 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1

On 19/10/2018 13:54, Daniel Kiper wrote:
> On Tue, Oct 09, 2018 at 01:03:06PM +0200, Juergen Gross wrote:
>> include/grub/offsets.h needs some defines for Xen PVH mode.
>>
>> Add them. While at it line up the values in the surrounding lines to
>> start at the same column.
>>
>> Signed-off-by: Juergen Gross <address@hidden>
>> ---
>>  include/grub/offsets.h | 21 ++++++++++++---------
>>  1 file changed, 12 insertions(+), 9 deletions(-)
>>
>> diff --git a/include/grub/offsets.h b/include/grub/offsets.h
>> index 330e4c707..b16353163 100644
>> --- a/include/grub/offsets.h
>> +++ b/include/grub/offsets.h
>> @@ -36,9 +36,10 @@
>>  #define GRUB_DECOMPRESSOR_I386_PC_MAX_DECOMPRESSOR_SIZE (0x9000-0x8200)
>>
>>  /* The segment where the kernel is loaded.  */
>> -#define GRUB_BOOT_I386_PC_KERNEL_SEG        0x800
>> +#define GRUB_BOOT_I386_PC_KERNEL_SEG                0x800
>>
>> -#define GRUB_KERNEL_I386_PC_LINK_ADDR  0x9000
>> +#define GRUB_KERNEL_I386_PC_LINK_ADDR               0x9000
>> +#define GRUB_KERNEL_I386_XENPVH_LINK_ADDR   0x100000
> 
> s/XENPVH/XEN_PVH/ In general I prefer XEN_PVH instead of XENPVH.
> So, please update them all where possible. Not only in this patch.

Does this apply to path names as well (e.g. include/grub/i386/xenpvh/) ?
Or do you mean macros/symbols only?

BTW: if yes, this would affect the visible platform name, too.


Juergen



reply via email to

[Prev in Thread] Current Thread [Next in Thread]