| * Combine the MemOp and mmu_idx parameters into a single value. |
| * Richard Henderson <rth@twiddle.net> |
| * This work is licensed under the terms of the GNU GPL, version 2 or later. |
| * See the COPYING file in the top-level directory. |
| typedef uint32_t MemOpIdx; |
| * Encode these values into a single parameter. |
| static inline MemOpIdx make_memop_idx(MemOp op, unsigned idx) |
| * @oi: combined op/idx parameter |
| * Extract the memory operation from the combined value. |
| static inline MemOp get_memop(MemOpIdx oi) |
| * @oi: combined op/idx parameter |
| * Extract the mmu index from the combined value. |
| static inline unsigned get_mmuidx(MemOpIdx oi) |