summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/platform/ring0/offsets_arm64.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-01-30 10:01:31 -0800
committergVisor bot <gvisor-bot@google.com>2020-01-30 10:01:31 -0800
commit757b2b87fed1022fb9e73c66210ec07b5ec5cb2f (patch)
treefd279276af51a9e6dcdd0caeea12696a77aced80 /pkg/sentry/platform/ring0/offsets_arm64.go
parentede8dfab3760afc8063c3418f217e52f7ec70d42 (diff)
parent6adbdfe232c3da42a7f6f3a7d882d140196e4068 (diff)
Merge pull request #1288 from lubinszARM:pr_ring0_6
PiperOrigin-RevId: 292369598
Diffstat (limited to 'pkg/sentry/platform/ring0/offsets_arm64.go')
-rw-r--r--pkg/sentry/platform/ring0/offsets_arm64.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/sentry/platform/ring0/offsets_arm64.go b/pkg/sentry/platform/ring0/offsets_arm64.go
index 8c960c749..057fb5c69 100644
--- a/pkg/sentry/platform/ring0/offsets_arm64.go
+++ b/pkg/sentry/platform/ring0/offsets_arm64.go
@@ -85,6 +85,7 @@ func Emit(w io.Writer) {
fmt.Fprintf(w, "#define PageFault 0x%02x\n", PageFault)
fmt.Fprintf(w, "#define Syscall 0x%02x\n", Syscall)
+ fmt.Fprintf(w, "#define VirtualizationException 0x%02x\n", VirtualizationException)
p := &syscall.PtraceRegs{}
fmt.Fprintf(w, "\n// Ptrace registers.\n")