diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-03-19 00:16:21 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-03-19 00:16:21 +0000 |
commit | dba92a982d4bffa2a7d070b8c633753fec481d8d (patch) | |
tree | 3d9643748f9b2563e0be3eb9d3a55ae0abc9c466 /pkg/sentry/arch/arch_aarch64.go | |
parent | 1e4671875d2f3d4432067d315c729f8c6429b407 (diff) | |
parent | a0fed7ea459833c93980dd6937a140db9bdcee8c (diff) |
Merge release-20200219.0-197-ga0fed7e (automated)
Diffstat (limited to 'pkg/sentry/arch/arch_aarch64.go')
-rwxr-xr-x | pkg/sentry/arch/arch_aarch64.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/sentry/arch/arch_aarch64.go b/pkg/sentry/arch/arch_aarch64.go index b998f84fc..c29e1b841 100755 --- a/pkg/sentry/arch/arch_aarch64.go +++ b/pkg/sentry/arch/arch_aarch64.go @@ -100,6 +100,9 @@ type State struct { // FeatureSet is a pointer to the currently active feature set. FeatureSet *cpuid.FeatureSet + + // OrigR0 stores the value of register R0. + OrigR0 uint64 } // Proto returns a protobuf representation of the system registers in State. @@ -150,6 +153,7 @@ func (s *State) Fork() State { aarch64FPState: s.aarch64FPState.fork(), TPValue: s.TPValue, FeatureSet: s.FeatureSet, + OrigR0: s.OrigR0, } } |