]> git.proxmox.com Git - mirror_qemu.git/commit
accel/tcg: Fix the comment for CPUTLBEntryFull
authorLIU Zhiwei <zhiwei_liu@linux.alibaba.com>
Fri, 1 Sep 2023 06:01:18 +0000 (14:01 +0800)
committerRichard Henderson <richard.henderson@linaro.org>
Fri, 15 Sep 2023 12:26:50 +0000 (05:26 -0700)
commitdff1ab68d8c5d4703e07018f504fce6944c529a4
tree5d47372846025597e5c2581763c6d1d18fb78aeb
parent0e5903436de712844b0e6cdd862b499c767e09e9
accel/tcg: Fix the comment for CPUTLBEntryFull

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_liu@linux.alibaba.com>
Message-Id: <20230901060118.379-1-zhiwei_liu@linux.alibaba.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/cputlb.c
include/exec/cpu-defs.h