提交 706485d2 编写于 作者: E Emilio G. Cota 提交者: Stefan Hajnoczi

trace: expand mem_info:size_shift to 3 bits

This will allow us to trace 16B-long memory accesses.
Signed-off-by: NEmilio G. Cota <cota@braap.org>
Message-id: 1527028012-21888-4-git-send-email-cota@braap.org
Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
上级 3d69b95e
......@@ -10,10 +10,10 @@
#ifndef TRACE__MEM_INTERNAL_H
#define TRACE__MEM_INTERNAL_H
#define TRACE_MEM_SZ_SHIFT_MASK 0x3 /* size shift mask */
#define TRACE_MEM_SE (1ULL << 2) /* sign extended (y/n) */
#define TRACE_MEM_BE (1ULL << 3) /* big endian (y/n) */
#define TRACE_MEM_ST (1ULL << 4) /* store (y/n) */
#define TRACE_MEM_SZ_SHIFT_MASK 0x7 /* size shift mask */
#define TRACE_MEM_SE (1ULL << 3) /* sign extended (y/n) */
#define TRACE_MEM_BE (1ULL << 4) /* big endian (y/n) */
#define TRACE_MEM_ST (1ULL << 5) /* store (y/n) */
static inline uint8_t trace_mem_build_info(
int size_shift, bool sign_extend, TCGMemOp endianness, bool store)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册