On 8/31/23 23:01, LIU Zhiwei wrote:
When memory region is ram, the lower TARGET_PAGE_BITS is not the
physical section number. Instead, its value is always 0.

Add comment and assert to make it clear.

Signed-off-by: LIU Zhiwei<zhiwei_...@linux.alibaba.com>
---
  accel/tcg/cputlb.c      | 11 +++++++----
  include/exec/cpu-defs.h | 12 ++++++------
  2 files changed, 13 insertions(+), 10 deletions(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

Queued to tcg-next.


r~

Reply via email to