From f9b47999afbf84ddbe7e5649a82f477bb77e3b38 Mon Sep 17 00:00:00 2001 From: "Emilio G. Cota" Date: Tue, 22 May 2018 18:26:51 -0400 Subject: trace: add trace_mem_build_info_no_se_be/le These will be used by the following commit. Signed-off-by: Emilio G. Cota Message-id: 1527028012-21888-5-git-send-email-cota@braap.org Signed-off-by: Stefan Hajnoczi --- trace/mem-internal.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'trace') diff --git a/trace/mem-internal.h b/trace/mem-internal.h index a9e408eb2f..f6efaf6d6b 100644 --- a/trace/mem-internal.h +++ b/trace/mem-internal.h @@ -39,4 +39,16 @@ static inline uint8_t trace_mem_get_info(TCGMemOp op, bool store) op & MO_BSWAP, store); } +static inline +uint8_t trace_mem_build_info_no_se_be(int size_shift, bool store) +{ + return trace_mem_build_info(size_shift, false, MO_BE, store); +} + +static inline +uint8_t trace_mem_build_info_no_se_le(int size_shift, bool store) +{ + return trace_mem_build_info(size_shift, false, MO_LE, store); +} + #endif /* TRACE__MEM_INTERNAL_H */ -- cgit v1.2.3