mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 14:53:54 -06:00

Stop taking TARGET_VIRT_ADDR_SPACE_BITS into account. Since we currently bound CPU_TLB_DYN_MAX_BITS to 22, the new bound with a 4k page size is 20, which isn't so different. Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
13 lines
296 B
C
13 lines
296 B
C
/*
|
|
* softmmu size bounds
|
|
* SPDX-License-Identifier: LGPL-2.1-or-later
|
|
*/
|
|
|
|
#ifndef ACCEL_TCG_TLB_BOUNDS_H
|
|
#define ACCEL_TCG_TLB_BOUNDS_H
|
|
|
|
#define CPU_TLB_DYN_MIN_BITS 6
|
|
#define CPU_TLB_DYN_MAX_BITS (32 - TARGET_PAGE_BITS)
|
|
#define CPU_TLB_DYN_DEFAULT_BITS 8
|
|
|
|
#endif /* ACCEL_TCG_TLB_BOUNDS_H */
|