Libvtv: Add loongarch support.
authorLulu Cheng <chenglulu@loongson.cn>
Tue, 27 Sep 2022 07:28:43 +0000 (15:28 +0800)
committerLulu Cheng <chenglulu@loongson.cn>
Mon, 31 Oct 2022 09:35:02 +0000 (17:35 +0800)
commit27b9e1158b3e819ba77367b6b0d6161186b0ca7f
tree0ad03dc4fa91023fa41a3f5249a28dde7cfdc0e1
parent259a11555c90783e53c046c310080407ee54a31e
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 <qijingwen@loongson.cn>
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.
include/vtv-change-permission.h
libvtv/configure.tgt