qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2 1/3] softmmu: add helper function to pass thr


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH v2 1/3] softmmu: add helper function to pass through retaddr
Date: Thu, 18 Jun 2015 10:16:39 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0


On 18/06/2015 07:17, Pavel Dovgaluk wrote:
>>> > >
>>> > >  static inline RES_TYPE
>>> > > -glue(glue(cpu_ld, USUFFIX), MEMSUFFIX)(CPUArchState *env, target_ulong 
>>> > > ptr)
>>> > > +glue(glue(glue(cpu_ld, USUFFIX), MEMSUFFIX), _ra)(CPUArchState *env,
>>> > > +                                                  target_ulong ptr,
>>> > > +                                                  uintptr_t retaddr)
>> > 
>> > Would it make sense to call these helper_cpu_ld##USUFFIX##MEMSUFFIX?
> I don't want to use 'helper' prefix, because helper functions are
> usually called directly from TB.

True, but in the end these have the same functionality as helpers, just
they're indirectly called from other helpers.

Paolo



reply via email to

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