target/mips: Add UHI errno values
[qemu/rayw.git] / target / loongarch / cpu-param.h
blob414d8fff46ffa49da2cf2e0ca59cacf0bc7095a6
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 * LoongArch CPU parameters for QEMU.
5 * Copyright (c) 2021 Loongson Technology Corporation Limited
6 */
8 #ifndef LOONGARCH_CPU_PARAM_H
9 #define LOONGARCH_CPU_PARAM_H
11 #define TARGET_LONG_BITS 64
12 #define TARGET_PHYS_ADDR_SPACE_BITS 48
13 #define TARGET_VIRT_ADDR_SPACE_BITS 48
15 #define TARGET_PAGE_BITS 14
16 #define NB_MMU_MODES 5
18 #endif