On 15.03.2024 11:59, Carlo Nonato wrote:
> @@ -326,6 +328,27 @@ unsigned int get_max_nr_llc_colors(void)
> return max_nr_colors;
> }
>
> +paddr_t __init xen_colored_map_size(void)
> +{
> + return ROUNDUP((_end - _start) * max_nr_colors, XEN_PADDR_ALIGN);
> +}XEN_PADDR_ALIGN is an inherently Arm thing. Such better wouldn't appear in common code. Jan
