From: Stefano Stabellini Date: Wed, 30 May 2012 07:57:48 +0000 (+0100) Subject: arm: compile xentrace X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~8390 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8e3d1ae55930dd8d718fe610d26ed7c784d34584;p=xen.git arm: compile xentrace Signed-off-by: Stefano Stabellini Acked-by: Ian Campbell Acked-by: Ian Jackson Committed-by: Ian Campbell --- diff --git a/tools/xentrace/xenctx.c b/tools/xentrace/xenctx.c index a12cc219e4..530ef6525e 100644 --- a/tools/xentrace/xenctx.c +++ b/tools/xentrace/xenctx.c @@ -60,6 +60,12 @@ int disp_ar_regs; int disp_br_regs; int disp_bank_regs; int disp_tlb; + +#elif defined(__arm__) +#define NO_TRANSLATION +typedef uint64_t guest_word_t; +#define FMT_32B_WORD "%08llx" +#define FMT_64B_WORD "%016llx" #endif struct symbol { @@ -678,6 +684,12 @@ void print_ctx(vcpu_guest_context_any_t *ctx) print_tr(i, &tr->dtrs[i]); } } +#elif defined(__arm__) +static void print_ctx(vcpu_guest_context_any_t *ctx) +{ + /* XXX: properly implement this */ + print_symbol(0); +} #endif #ifndef NO_TRANSLATION