Port-xen archive

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

Re: xen3pae on 5.0_stable/i386



On Sat, Jan 23, 2010 at 12:32:31PM +0100, Jean-Yves Migeon wrote:
> On 01/23/10 09:13, Christoph Egger wrote:
> >On 23.01.10 02:53, Jean-Yves Migeon wrote:
> >
> >Jean, Manuel: We should introduce helper macros which hide the
> >needed casts completely. This makes new code less error prone.
> 
> It is something that is worth considering, although not as easy to fix 
> as it seems.

macros don't normally force you to write the correct code - especially
if they cast their arguments.

inline functions can help, as can embedding an integral type within
a structure - and then passing the structure by value.

        David

-- 
David Laight: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index