aboutsummaryrefslogtreecommitdiffstats
path: root/src/svm/svmtool.c
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2018-01-08 16:35:35 +0100
committerDave Barach <openvpp@barachs.net>2018-01-10 02:17:31 +0000
commitaec8f8984771cabc79a8ed64f56afcf61465d00a (patch)
tree5c870e08fc7f9e2104d42664b4a826c1efb9073b /src/svm/svmtool.c
parent618c94a83f0a76734b69f829a417fdd0f87e6887 (diff)
svm: calc base address on AArch64 based on autodetected VA space size
Change-Id: I7487eb74b8deebff849d662b55a6708566ccd9ef Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/svm/svmtool.c')
-rw-r--r--src/svm/svmtool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/svm/svmtool.c b/src/svm/svmtool.c
index 01ae4221371..63577d97fd9 100644
--- a/src/svm/svmtool.c
+++ b/src/svm/svmtool.c
@@ -368,7 +368,7 @@ repair (char *chroot_path, int crash_root_region)
a->root_path = chroot_path;
a->name = SVM_GLOBAL_REGION_NAME;
- a->baseva = SVM_GLOBAL_REGION_BASEVA;
+ a->baseva = svm_get_global_region_base_va ();
a->size = SVM_GLOBAL_REGION_SIZE;
a->flags = SVM_FLAGS_NODATA;