From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34280) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWKjH-00013r-S9 for qemu-devel@nongnu.org; Tue, 23 Sep 2014 03:41:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XWKj8-0005pX-EV for qemu-devel@nongnu.org; Tue, 23 Sep 2014 03:41:43 -0400 Received: from mail-lb0-x22a.google.com ([2a00:1450:4010:c04::22a]:62180) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWKj8-0005nl-6c for qemu-devel@nongnu.org; Tue, 23 Sep 2014 03:41:34 -0400 Received: by mail-lb0-f170.google.com with SMTP id z11so2827262lbi.15 for ; Tue, 23 Sep 2014 00:41:27 -0700 (PDT) From: Max Filippov Date: Tue, 23 Sep 2014 11:41:08 +0400 Message-Id: <1411458068-16024-1-git-send-email-jcmvbkbc@gmail.com> Subject: [Qemu-devel] [PATCH] target-xtensa: add definition for XTHAL_INTTYPE_PROFILING List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Max Filippov There's new interrupt type in the recent Xtensa releases that may appear in configuration overlay. Add definition so that new cores that use it could be automatically imported. Signed-off-by: Max Filippov --- target-xtensa/cpu.h | 1 + target-xtensa/overlay_tool.h | 1 + 2 files changed, 2 insertions(+) diff --git a/target-xtensa/cpu.h b/target-xtensa/cpu.h index 9cf5275..beb5486 100644 --- a/target-xtensa/cpu.h +++ b/target-xtensa/cpu.h @@ -266,6 +266,7 @@ typedef enum { INTTYPE_TIMER, INTTYPE_DEBUG, INTTYPE_WRITE_ERR, + INTTYPE_PROFILING, INTTYPE_MAX } interrupt_type; diff --git a/target-xtensa/overlay_tool.h b/target-xtensa/overlay_tool.h index 4c0de7f..5a1353e 100644 --- a/target-xtensa/overlay_tool.h +++ b/target-xtensa/overlay_tool.h @@ -163,6 +163,7 @@ #define XTHAL_INTTYPE_TBD1 INTTYPE_DEBUG #define XTHAL_INTTYPE_TBD2 INTTYPE_WRITE_ERR #define XTHAL_INTTYPE_WRITE_ERROR INTTYPE_WRITE_ERR +#define XTHAL_INTTYPE_PROFILING INTTYPE_PROFILING #define INTERRUPT(i) { \ -- 1.8.1.4