summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-02-25 13:41:05 -0800
committergVisor bot <gvisor-bot@google.com>2020-02-25 13:41:05 -0800
commit430992a67abe30dc6cb4e00822517c0aed388088 (patch)
treeecdd69fd31c37c96efa5976ebe6de41c560d6240
parent471b15b212831af31c2fe36cd42cea7ec7b7785b (diff)
parentd30a884775556474f1a893fd30460a6edf0a3039 (diff)
Merge pull request #1816 from xiaobo55x:trap_flag
PiperOrigin-RevId: 297191168
-rw-r--r--pkg/sentry/arch/arch_aarch64.go3
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