From 4f077b9a7ef0cbf5ae6b65d02720d0cb0a5111c9 Mon Sep 17 00:00:00 2001 From: Min Le Date: Thu, 15 Oct 2020 13:48:06 +0800 Subject: arm64: the ASID offset of TTBR register is 48 Signed-off-by: Min Le --- pkg/sentry/platform/ring0/pagetables/pagetables_arm64.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/sentry') diff --git a/pkg/sentry/platform/ring0/pagetables/pagetables_arm64.go b/pkg/sentry/platform/ring0/pagetables/pagetables_arm64.go index 1a49f12a2..5ddd10256 100644 --- a/pkg/sentry/platform/ring0/pagetables/pagetables_arm64.go +++ b/pkg/sentry/platform/ring0/pagetables/pagetables_arm64.go @@ -36,7 +36,7 @@ const ( pudSize = 1 << pudShift pgdSize = 1 << pgdShift - ttbrASIDOffset = 55 + ttbrASIDOffset = 48 ttbrASIDMask = 0xff entriesPerPage = 512 -- cgit v1.2.3