From 27b9e1158b3e819ba77367b6b0d6161186b0ca7f Mon Sep 17 00:00:00 2001 From: Lulu Cheng Date: Tue, 27 Sep 2022 15:28:43 +0800 Subject: Libvtv: Add loongarch support. The loongarch64 specification permits page sizes of 4KiB, 16KiB and 64KiB, but only 16KiB pages are supported for now. Co-Authored-By: qijingwen include/ChangeLog: * vtv-change-permission.h (defined): Determines whether the macro __loongarch_lp64 is defined (VTV_PAGE_SIZE): Set VTV_PAGE_SIZE to 16KiB for loongarch64. libvtv/ChangeLog: * configure.tgt: Add loongarch support. --- libvtv/configure.tgt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libvtv') diff --git a/libvtv/configure.tgt b/libvtv/configure.tgt index aa2a3f675b8..6cdd1e97ab1 100644 --- a/libvtv/configure.tgt +++ b/libvtv/configure.tgt @@ -50,6 +50,9 @@ case "${target}" in ;; x86_64-*-darwin[1]* | i?86-*-darwin[1]*) ;; + loongarch*-*-linux*) + VTV_SUPPORTED=yes + ;; *) ;; esac -- cgit v1.2.3