diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/tests/qemu/Makefile | 8 | ||||
-rw-r--r-- | src/tests/qemu/arch/mips64.config | 3 | ||||
-rw-r--r-- | src/tests/qemu/arch/mips64el.config | 3 |
3 files changed, 8 insertions, 6 deletions
diff --git a/src/tests/qemu/Makefile b/src/tests/qemu/Makefile index a3bde55..f00f6dd 100644 --- a/src/tests/qemu/Makefile +++ b/src/tests/qemu/Makefile @@ -146,8 +146,8 @@ ifeq ($(CHOST),$(CBUILD)) QEMU_MACHINE := -cpu host -machine malta,accel=kvm CFLAGS += -EB else -QEMU_MACHINE := -cpu I6400 -machine malta -CFLAGS += -march=mips64r6 -EB +QEMU_MACHINE := -cpu MIPS64R2-generic -machine malta -smp 1 +CFLAGS += -march=mips64r2 -EB endif else ifeq ($(ARCH),mips64el) QEMU_ARCH := mips64el @@ -157,8 +157,8 @@ ifeq ($(CHOST),$(CBUILD)) QEMU_MACHINE := -cpu host -machine malta,accel=kvm CFLAGS += -EL else -QEMU_MACHINE := -cpu I6400 -machine malta -CFLAGS += -march=mips64r6 -EL +QEMU_MACHINE := -cpu MIPS64R2-generic -machine malta -smp 1 +CFLAGS += -march=mips64r2 -EL endif else ifeq ($(ARCH),mips) QEMU_ARCH := mips diff --git a/src/tests/qemu/arch/mips64.config b/src/tests/qemu/arch/mips64.config index 37d8947..2b6a5e0 100644 --- a/src/tests/qemu/arch/mips64.config +++ b/src/tests/qemu/arch/mips64.config @@ -1,5 +1,6 @@ CONFIG_64BIT=y -CONFIG_CPU_MIPS64_R6=y +CONFIG_CPU_MIPS64_R2=y +CONFIG_MIPS32_N32=y CONFIG_CPU_HAS_MSA=y CONFIG_MIPS_MALTA=y CONFIG_MIPS_CPS=y diff --git a/src/tests/qemu/arch/mips64el.config b/src/tests/qemu/arch/mips64el.config index 2529a60..5b7ef76 100644 --- a/src/tests/qemu/arch/mips64el.config +++ b/src/tests/qemu/arch/mips64el.config @@ -1,5 +1,6 @@ CONFIG_64BIT=y -CONFIG_CPU_MIPS64_R6=y +CONFIG_CPU_MIPS64_R2=y +CONFIG_MIPS32_N32=y CONFIG_CPU_HAS_MSA=y CONFIG_MIPS_MALTA=y CONFIG_CPU_LITTLE_ENDIAN=y |