oslib-posix: Remove OpenBSD workaround for fcntl("/dev/null", F_SETFL, O_NONBLOCK...
[qemu/kevin.git] / target / xtensa / cpu-param.h
blob4fde21b941b8d260cc2bf4c44c45a76fe07bf779
1 /*
2 * Xtensa cpu parameters for qemu.
4 * Copyright (c) 2011, Max Filippov, Open Source and Linux Lab.
5 * SPDX-License-Identifier: BSD-3-Clause
6 */
8 #ifndef XTENSA_CPU_PARAM_H
9 #define XTENSA_CPU_PARAM_H 1
11 #define TARGET_LONG_BITS 32
12 #define TARGET_PAGE_BITS 12
13 #define TARGET_PHYS_ADDR_SPACE_BITS 32
14 #ifdef CONFIG_USER_ONLY
15 #define TARGET_VIRT_ADDR_SPACE_BITS 30
16 #else
17 #define TARGET_VIRT_ADDR_SPACE_BITS 32
18 #endif
19 #define NB_MMU_MODES 4
21 #endif