Hi,
On 27/03/2025 17:33, Oleksii Kurochko wrote:
BITS_PER_* values can be defined in a common way using compiler-provided macros.
Thus, these definitions are moved to xen/config.h to reduce duplication across
architectures.
Additionally, *_BYTEORDER macros are removed, as BITS_PER_* values now come
directly from the compiler environment.
The arch_fls() implementation for Arm and PPC is updated to use BITS_PER_INT
instead of a hardcoded value of 32.
Suggested-by: Andrew Cooper <[email protected]>
Signed-off-by: Oleksii Kurochko <[email protected]>
Acked-by: Julien Grall <[email protected]>
Cheers,
--
Julien Grall