diff options
author | Haibo Xu <haibo.xu@arm.com> | 2020-02-11 00:52:23 +0000 |
---|---|---|
committer | Haibo Xu <haibo.xu@arm.com> | 2020-02-13 00:25:16 +0000 |
commit | d30a884775556474f1a893fd30460a6edf0a3039 (patch) | |
tree | 73e36839ed3ff80865056e5300b60ca696f5abde /pkg/sentry | |
parent | 71af006b6fe4504fccb86f0222a8a1864d33fb7d (diff) |
Add definition of arch.ARMTrapFlag.
Fixes #1708
Signed-off-by: Haibo Xu haibo.xu@arm.com
Change-Id: Ib15768692ead17c81c06f7666ca3f0a14064c3a0
Diffstat (limited to 'pkg/sentry')
-rw-r--r-- | pkg/sentry/arch/arch_aarch64.go | 3 |
1 files changed, 3 insertions, 0 deletions
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 |