OSDN Git Service

tcg: Replace region.end with region.total_size
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 10 Mar 2021 16:35:05 +0000 (10:35 -0600)
committerRichard Henderson <richard.henderson@linaro.org>
Fri, 11 Jun 2021 16:27:08 +0000 (09:27 -0700)
commit77bd7fd12545e4a7db8ee7179014dd06250a753e
treea2096de72508dd07452f294f442e4f6e2b0b4813
parent26a75d12d33ff80ee797ca32373f6333da4f194f
tcg: Replace region.end with region.total_size

A size is easier to work with than an end point,
particularly during initial buffer allocation.

Reviewed-by: Luis Pires <luis.pires@eldorado.org.br>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/region.c