mirror of
https://github.com/qemu/qemu.git
synced 2026-04-23 22:54:54 +00:00
The macro is no longer in use and can safely be dropped. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Brian Cain <brian.cain@oss.qualcomm.com> Signed-off-by: Anton Johansson <anjo@rev.ng> Message-ID: <20260218-phys_addr-v6-7-a603bf363218@rev.ng> [PMD: Keep TARGET_PHYS_ADDR_SPACE_BITS poisoned] Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
25 lines
618 B
C
25 lines
618 B
C
/*
|
|
* Alpha cpu parameters for qemu.
|
|
*
|
|
* Copyright (c) 2007 Jocelyn Mayer
|
|
* SPDX-License-Identifier: LGPL-2.0-or-later
|
|
*/
|
|
|
|
#ifndef ALPHA_CPU_PARAM_H
|
|
#define ALPHA_CPU_PARAM_H
|
|
|
|
#ifdef CONFIG_USER_ONLY
|
|
/*
|
|
* Allow user-only to vary page size. Real hardware allows only 8k and 64k,
|
|
* but since any variance means guests cannot assume a fixed value, allow
|
|
* a 4k minimum to match x86 host, which can minimize emulation issues.
|
|
*/
|
|
# define TARGET_PAGE_BITS_VARY
|
|
# define TARGET_VIRT_ADDR_SPACE_BITS 63
|
|
#else
|
|
# define TARGET_PAGE_BITS 13
|
|
# define TARGET_VIRT_ADDR_SPACE_BITS (30 + TARGET_PAGE_BITS)
|
|
#endif
|
|
|
|
#endif
|