On 13/06/2016 11:08, vija...@caviumnetworks.com wrote: > + */ > +#define TARGET_AARCH64_PAGE_BITS 12 > /* The ARM MMU allows 1k pages. */ > /* ??? Linux doesn't actually use these, and they're deprecated in recent > architecture revisions. Maybe a configure option to disable them. */ > -#define TARGET_PAGE_BITS 10 > -#endif > +#define TARGET_ARM_PAGE_BITS 10 > +#define TARGET_PAGE_BITS arm_get_target_page_bits()
Please avoid the function call and just make it a variable target_page_bits. Paolo