cpu-param.h (48202c712412c803ddb56365c7bca322aa4e7506) | cpu-param.h (0e0c030c681730f3ec55ba3b223b608a8f3e8282) |
---|---|
1/* 2 * ARM cpu parameters for qemu. 3 * 4 * Copyright (c) 2003 Fabrice Bellard 5 * SPDX-License-Identifier: LGPL-2.0+ 6 */ 7 8#ifndef ARM_CPU_PARAM_H --- 6 unchanged lines hidden (view full) --- 15#else 16# define TARGET_LONG_BITS 32 17# define TARGET_PHYS_ADDR_SPACE_BITS 40 18# define TARGET_VIRT_ADDR_SPACE_BITS 32 19#endif 20 21#ifdef CONFIG_USER_ONLY 22#define TARGET_PAGE_BITS 12 | 1/* 2 * ARM cpu parameters for qemu. 3 * 4 * Copyright (c) 2003 Fabrice Bellard 5 * SPDX-License-Identifier: LGPL-2.0+ 6 */ 7 8#ifndef ARM_CPU_PARAM_H --- 6 unchanged lines hidden (view full) --- 15#else 16# define TARGET_LONG_BITS 32 17# define TARGET_PHYS_ADDR_SPACE_BITS 40 18# define TARGET_VIRT_ADDR_SPACE_BITS 32 19#endif 20 21#ifdef CONFIG_USER_ONLY 22#define TARGET_PAGE_BITS 12 |
23# ifdef TARGET_AARCH64 24# define TARGET_TAGGED_ADDRESSES 25# endif |
|
23#else 24/* 25 * ARMv7 and later CPUs have 4K pages minimum, but ARMv5 and v6 26 * have to support 1K tiny pages. 27 */ 28# define TARGET_PAGE_BITS_VARY 29# define TARGET_PAGE_BITS_MIN 10 30#endif 31 32#define NB_MMU_MODES 15 33 34#endif | 26#else 27/* 28 * ARMv7 and later CPUs have 4K pages minimum, but ARMv5 and v6 29 * have to support 1K tiny pages. 30 */ 31# define TARGET_PAGE_BITS_VARY 32# define TARGET_PAGE_BITS_MIN 10 33#endif 34 35#define NB_MMU_MODES 15 36 37#endif |