From d30a884775556474f1a893fd30460a6edf0a3039 Mon Sep 17 00:00:00 2001 From: Haibo Xu Date: Tue, 11 Feb 2020 00:52:23 +0000 Subject: Add definition of arch.ARMTrapFlag. Fixes #1708 Signed-off-by: Haibo Xu haibo.xu@arm.com Change-Id: Ib15768692ead17c81c06f7666ca3f0a14064c3a0 --- pkg/sentry/arch/arch_aarch64.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pkg/sentry/arch') diff --git a/pkg/sentry/arch/arch_aarch64.go b/pkg/sentry/arch/arch_aarch64.go index 3b6987665..d7794db63 100644 --- a/pkg/sentry/arch/arch_aarch64.go +++ b/pkg/sentry/arch/arch_aarch64.go @@ -34,6 +34,9 @@ const ( SyscallWidth = 4 ) +// ARMTrapFlag is the mask for the trap flag. +const ARMTrapFlag = uint64(1) << 21 + // aarch64FPState is aarch64 floating point state. type aarch64FPState []byte -- cgit v1.2.3