target/mips: Replace magic values by CP0PM_MASK or TARGET_PAGE_BITS_MIN
commit547b9b17f9cbe7bc16db73f4aaceeead54c03f29
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 9 Nov 2020 08:15:41 +0000 (9 09:15 +0100)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sun, 13 Dec 2020 18:58:54 +0000 (13 19:58 +0100)
treed2dac7034aab55508b60a855591216e5204dd923
parent34cffe960e494ae6dc79efeb87fc3e79fe7de90c
target/mips: Replace magic values by CP0PM_MASK or TARGET_PAGE_BITS_MIN

Replace magic values related to page size:

  12 -> TARGET_PAGE_BITS_MIN
  13 -> CP0PM_MASK

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Huacai Chen <chenhc@lemote.com>
Message-Id: <20201109090422.2445166-2-f4bug@amsat.org>
target/mips/cp0_helper.c
target/mips/helper.c