|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH] constify microcode hypercall argument
>>> Christoph Egger <Christoph.Egger@xxxxxxx> 29.08.08 15:55 >>>
>On Friday 29 August 2008 14:33:08 Jan Beulich wrote:
>> Linux 2.6.27 marks the data pointer in its firmware struct 'const', and
>> hence, to avoid a compiler warning, Xen's microcode update interface
>> should be properly properly constified too.
>
>What makes you confident, that this reason applies to other operating systems
>(Solaris, BSD) , too ?
Adding 'const' on the consumer side is always safe, as long as the consumer
guarantees it won't violate the promise. The consumer here is Xen, so
there are no worries about individual guest OSes.
Jan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|