On Tue, 25 Oct 2022 15:17:36 +0200 Pierre Morel <pmorel@xxxxxxxxxxxxx> wrote: > On 10/25/22 11:30, David Hildenbrand wrote: > > On 25.10.22 11:13, Pierre Morel wrote: > >> The APCB is part of the CRYCB. > >> The calculation of the APCB origin can be done by adding > >> the APCB offset to the CRYCB origin. > >> > >> Current code makes confusing transformations, converting > >> the CRYCB origin to a pointer to calculate the APCB origin. > >> > > > > > > While at it, can we rename "crycb_o" to "crycb_gpa" and "apcb_o" to > > "apcb_gpa". > > > > These are not pointers but guest physical addresses. > > > > I can do that. > the _o came from the name in the documentation "origin" > but gpa is more obvious. > with that fixed: Reviewed-by: Claudio Imbrenda <imbrenda@xxxxxxxxxxxxx>