On 30/05/2024 5:44 pm, Andrew Cooper wrote: > On 29/05/2024 8:55 pm, Oleksii Kurochko wrote: >> To allow CONFIG_ARGO build happy it was included <asm/p2m.h> to >> <asm/domain.h> >> as ARGO requires p2m_type_t ( p2m_ram_rw ) and declaration of >> check_get_page_from_gfn() from xen/p2m-common.h.
Actually, this is an ARGO bug not a RISC-V bug. It only builds in other architectures because of transitive dependencies through asm/domain.h I've fixed up argo.c to include the right header, which also prevents (for now at least) adding to general tangle which is asm/domain.h ~Andrew