target/microblaze: Assert no overlap in flags making up tb_flags
commit31f163d3da06f4f5e3cf1342b8970cf85e5a3b37
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 20 Aug 2020 15:01:52 +0000 (20 08:01 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 1 Sep 2020 14:41:38 +0000 (1 07:41 -0700)
tree2abab1503aea715a5c03e092fd5719e6537ec364
parentd8e59c4a6f888a8711af293d9ce2bb9609973748
target/microblaze: Assert no overlap in flags making up tb_flags

Create MSR_TB_MASK.  Use it in cpu_get_tb_cpu_state, and check
that IFLAGS_TB_MASK does not overlap.

Tested-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/microblaze/cpu.h