mirror of
https://github.com/utmapp/qemu.git
synced 2026-12-06 10:23:33 -10:00
Signed-off-by: Anton Johansson <[email protected]> Reviewed-by: Philippe Mathieu-Daudé <[email protected]> Reviewed-by: Alex Bennée <[email protected]> Reviewed-by: Richard Henderson <[email protected]> Message-Id: <[email protected]> Signed-off-by: Richard Henderson <[email protected]>
21 lines
419 B
C
21 lines
419 B
C
/*
|
|
* Altera Nios II cpu parameters for qemu.
|
|
*
|
|
* Copyright (c) 2012 Chris Wulff <[email protected]>
|
|
* SPDX-License-Identifier: LGPL-2.1+
|
|
*/
|
|
|
|
#ifndef NIOS2_CPU_PARAM_H
|
|
#define NIOS2_CPU_PARAM_H
|
|
|
|
#define TARGET_LONG_BITS 32
|
|
#define TARGET_PAGE_BITS 12
|
|
#define TARGET_PHYS_ADDR_SPACE_BITS 32
|
|
#ifdef CONFIG_USER_ONLY
|
|
# define TARGET_VIRT_ADDR_SPACE_BITS 31
|
|
#else
|
|
# define TARGET_VIRT_ADDR_SPACE_BITS 32
|
|
#endif
|
|
|
|
#endif
|