Libvtv: Add loongarch support.
authorLulu Cheng <chenglulu@loongson.cn>
Mon, 7 Aug 2023 11:07:05 +0000 (13:07 +0200)
committerAlan Modra <amodra@gmail.com>
Sat, 12 Aug 2023 00:28:22 +0000 (09:58 +0930)
commita5e58a41647619c048335b91b60de621f88edd73
treec8056ca05c95148684d69d53800f0fe9ae304285
parent0e75fc54bb2d093d3e0ea57f0ec60cb4b61a153c
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/
* vtv-change-permission.h (defined): Determines whether the macro
__loongarch_lp64 is defined
(VTV_PAGE_SIZE): Set VTV_PAGE_SIZE to 16KiB for loongarch64.
include/vtv-change-permission.h