summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/platform/ring0/kernel_arm64.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-02-26 00:27:52 +0000
committergVisor bot <gvisor-bot@google.com>2020-02-26 00:27:52 +0000
commit0a351caae82030afd36f67fee35b3d2b37471a64 (patch)
treecda29039e9bd283fdd3a1a675d9ffbc6e051f7ee /pkg/sentry/platform/ring0/kernel_arm64.go
parentef30daaab10dee3f68d81e04578ae48739bd199c (diff)
parent813b1b048630dbf7b812abbe052dc34954869403 (diff)
Merge release-20200219.0-44-g813b1b0 (automated)
Diffstat (limited to 'pkg/sentry/platform/ring0/kernel_arm64.go')
-rwxr-xr-xpkg/sentry/platform/ring0/kernel_arm64.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkg/sentry/platform/ring0/kernel_arm64.go b/pkg/sentry/platform/ring0/kernel_arm64.go
index c3d341998..ccacaea6b 100755
--- a/pkg/sentry/platform/ring0/kernel_arm64.go
+++ b/pkg/sentry/platform/ring0/kernel_arm64.go
@@ -16,6 +16,14 @@
package ring0
+// HaltAndResume halts execution and point the pointer to the resume function.
+//go:nosplit
+func HaltAndResume()
+
+// HaltEl1SvcAndResume calls Hooks.KernelSyscall and resume.
+//go:nosplit
+func HaltEl1SvcAndResume()
+
// init initializes architecture-specific state.
func (k *Kernel) init(opts KernelOpts) {
// Save the root page tables.