2022-06-06 15:42:52 +03:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
/*
|
|
|
|
* LoongArch CPU parameters for QEMU.
|
|
|
|
*
|
|
|
|
* Copyright (c) 2021 Loongson Technology Corporation Limited
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef LOONGARCH_CPU_PARAM_H
|
|
|
|
#define LOONGARCH_CPU_PARAM_H
|
|
|
|
|
|
|
|
#define TARGET_LONG_BITS 64
|
|
|
|
#define TARGET_PHYS_ADDR_SPACE_BITS 48
|
|
|
|
#define TARGET_VIRT_ADDR_SPACE_BITS 48
|
|
|
|
|
2023-10-23 05:40:59 +03:00
|
|
|
#define TARGET_PAGE_BITS 12
|
2022-06-06 15:42:52 +03:00
|
|
|
|
2023-12-05 16:31:59 +03:00
|
|
|
#define TCG_GUEST_DEFAULT_MO (0)
|
|
|
|
|
2022-06-06 15:42:52 +03:00
|
|
|
#endif
|