ppc/pnv: fix "bmc" node name in DT
[qemu/ar7.git] / trace / mem.h
blob8cf213d85b8fc85c31aeeb812592cf6e97adea9d
1 /*
2 * Helper functions for guest memory tracing
4 * Copyright (C) 2016 LluĂ­s Vilanova <vilanova@ac.upc.edu>
6 * This work is licensed under the terms of the GNU GPL, version 2 or later.
7 * See the COPYING file in the top-level directory.
8 */
10 #ifndef TRACE__MEM_H
11 #define TRACE__MEM_H
13 #include "tcg/tcg.h"
16 /**
17 * trace_mem_get_info:
19 * Return a value for the 'info' argument in guest memory access traces.
21 static uint8_t trace_mem_get_info(MemOp op, bool store);
23 /**
24 * trace_mem_build_info:
26 * Return a value for the 'info' argument in guest memory access traces.
28 static uint8_t trace_mem_build_info(int size_shift, bool sign_extend,
29 MemOp endianness, bool store);
32 #include "trace/mem-internal.h"
34 #endif /* TRACE__MEM_H */