From: "Jan Beulich" Subject: Re: [PATCH v4] xmalloc: add support for checking the pool integrity Date: Wed, 17 Dec 2014 10:40:36 +0000 Message-ID: <54916BB40200007800050317@mail.emea.novell.com> References: <1418758405-32200-1-git-send-email-mdontu@bitdefender.com> <549095E3.30202@citrix.com> <5490BAE4.5070108@linaro.org> <5490BFBD.7010809@citrix.com> <5490C22F.4020505@linaro.org> <549156C1.5000708@citrix.com> <549159D4.2040304@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <549159D4.2040304@linaro.org> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Julien Grall Cc: tim@xen.org, keir@xen.org, ian.campbell@citrix.com, Andrew Cooper , mdontu@bitdefender.com, ian.jackson@eu.citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org >>> On 17.12.14 at 11:24, wrote: > On 17/12/2014 10:11, Andrew Cooper wrote: >> On 16/12/14 23:37, Julien Grall wrote: >> Introducing a new bugframe is precicely what I meant by "this doesn't >> look hard". x86 currently has one more bugframe than arm, being >> BUGFRAME_run_fn. > > And how do you pass the pointer of the function? As I said, ARM lacks of > %c because of compiler issue. First of all can you explain what compiler issue there is? Both {arm,aarch64}_print_operand() handle 'c' (but of course I can't tell whether correctly). And then can't you possibly find ways to deal with the # prefix added when not using 'c'? For the section name (if you need the section split in the first place) I would think a # should be fine, and the uses in expressions can surely be worked around by interposing an assembler macro (even if that macro may end up looking quite ugly). Jan