summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/platform
diff options
context:
space:
mode:
authorMin Le <lemin.lm@antgroup.com>2020-10-15 13:48:06 +0800
committerMin Le <lemin.lm@antgroup.com>2020-10-15 13:48:06 +0800
commit4f077b9a7ef0cbf5ae6b65d02720d0cb0a5111c9 (patch)
tree299f6aa109cd8e0f1033140d1b54837f1202ab12 /pkg/sentry/platform
parent6e6a9d3f3dd6dd9ce290952406ba7ca7c5570311 (diff)
arm64: the ASID offset of TTBR register is 48
Signed-off-by: Min Le <lemin.lm@antgroup.com>
Diffstat (limited to 'pkg/sentry/platform')
-rw-r--r--pkg/sentry/platform/ring0/pagetables/pagetables_arm64.go2
1 files changed, 1 insertions, 1 deletions
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