summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/platform/ring0/defs_impl_arm64.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-01-30 18:16:16 +0000
committergVisor bot <gvisor-bot@google.com>2020-01-30 18:16:16 +0000
commit08c27175c040412b94b349a9a87b055f7c7e2886 (patch)
tree22f65ad42332ceed50c9909f936980bcee44ce27 /pkg/sentry/platform/ring0/defs_impl_arm64.go
parent2829b90acddad106f58cf10a65a212cd3ac6c81e (diff)
parent757b2b87fed1022fb9e73c66210ec07b5ec5cb2f (diff)
Merge release-20200127.0-37-g757b2b8 (automated)
Diffstat (limited to 'pkg/sentry/platform/ring0/defs_impl_arm64.go')
-rwxr-xr-xpkg/sentry/platform/ring0/defs_impl_arm64.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkg/sentry/platform/ring0/defs_impl_arm64.go b/pkg/sentry/platform/ring0/defs_impl_arm64.go
index bb4a6a10c..27d2edcb2 100755
--- a/pkg/sentry/platform/ring0/defs_impl_arm64.go
+++ b/pkg/sentry/platform/ring0/defs_impl_arm64.go
@@ -82,14 +82,14 @@ const (
El0Sync_undef
El0Sync_dbg
El0Sync_inv
- VirtualizationException
_NR_INTERRUPTS
)
// System call vectors.
const (
- Syscall Vector = El0Sync_svc
- PageFault Vector = El0Sync_da
+ Syscall Vector = El0Sync_svc
+ PageFault Vector = El0Sync_da
+ VirtualizationException Vector = El0Error
)
// VirtualAddressBits returns the number bits available for virtual addresses.
@@ -368,6 +368,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")