summaryrefslogtreecommitdiffhomepage
path: root/pkg/ring0/defs_arm64.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-02-10 10:10:17 -0800
committergVisor bot <gvisor-bot@google.com>2021-02-10 10:10:17 -0800
commitb9db7db3bdfe1405d14465bb7ad8fb33637fd840 (patch)
treeec64146aacde6dd09258b3c80095637327dbdd9c /pkg/ring0/defs_arm64.go
parent298c129cc151e197db35a927f9676cc40ec80d5c (diff)
parent6eb80b2e2df4a7e0a0b9dcfc99906a84fd8fc3f0 (diff)
Merge pull request #5267 from lubinszARM:pr_usr_lazy_fp
PiperOrigin-RevId: 356762859
Diffstat (limited to 'pkg/ring0/defs_arm64.go')
-rw-r--r--pkg/ring0/defs_arm64.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkg/ring0/defs_arm64.go b/pkg/ring0/defs_arm64.go
index dcb255fc8..c372b02bb 100644
--- a/pkg/ring0/defs_arm64.go
+++ b/pkg/ring0/defs_arm64.go
@@ -38,7 +38,7 @@ type KernelArchState struct {
// CPUArchState contains CPU-specific arch state.
type CPUArchState struct {
// stack is the stack used for interrupts on this CPU.
- stack [512]byte
+ stack [128]byte
// errorCode is the error code from the last exception.
errorCode uintptr
@@ -55,6 +55,9 @@ type CPUArchState struct {
// faultAddr is the value of far_el1.
faultAddr uintptr
+ // el0Fp is the address of application's fpstate.
+ el0Fp uintptr
+
// ttbr0Kvm is the value of ttbr0_el1 for sentry.
ttbr0Kvm uintptr