From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50992) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eUoDd-0003Px-8k for qemu-devel@nongnu.org; Fri, 29 Dec 2017 01:32:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eUoDc-0004v2-71 for qemu-devel@nongnu.org; Fri, 29 Dec 2017 01:32:37 -0500 Received: from mail-pl0-x244.google.com ([2607:f8b0:400e:c01::244]:43787) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eUoDc-0004uo-1e for qemu-devel@nongnu.org; Fri, 29 Dec 2017 01:32:36 -0500 Received: by mail-pl0-x244.google.com with SMTP id z5so22529991plo.10 for ; Thu, 28 Dec 2017 22:32:35 -0800 (PST) From: Richard Henderson Date: Thu, 28 Dec 2017 22:31:42 -0800 Message-Id: <20171229063145.29167-36-richard.henderson@linaro.org> In-Reply-To: <20171229063145.29167-1-richard.henderson@linaro.org> References: <20171229063145.29167-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH 35/38] qom: Add MMU_DEBUG_LOAD List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: deller@gmx.de, =?UTF-8?q?Andreas=20F=C3=A4rber?= This lets us tell bottom levels of virtual memory translation routines that the access is from within QEMU itself and bypass certain tests. Cc: Andreas Färber Signed-off-by: Richard Henderson --- include/qom/cpu.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/qom/cpu.h b/include/qom/cpu.h index c2fa151228..d5361ffd0e 100644 --- a/include/qom/cpu.h +++ b/include/qom/cpu.h @@ -64,7 +64,8 @@ typedef uint64_t vaddr; typedef enum MMUAccessType { MMU_DATA_LOAD = 0, MMU_DATA_STORE = 1, - MMU_INST_FETCH = 2 + MMU_INST_FETCH = 2, + MMU_DEBUG_LOAD = 3 } MMUAccessType; typedef struct CPUWatchpoint CPUWatchpoint; -- 2.14.3