diff options
author | Robin Luk <lubin.lu@antgroup.com> | 2021-01-14 16:50:52 +0800 |
---|---|---|
committer | Robin Luk <lubin.lu@antgroup.com> | 2021-02-03 11:50:35 +0000 |
commit | 25130d6183d399fc3bfa93385aeba6819437ea6c (patch) | |
tree | 68a871d8f85f6de7cc1cb6c77ab8c4fe819d8971 /pkg/ring0/defs_arm64.go | |
parent | 5106e66fddba47e4edefd6a0dbb406421d8ef4de (diff) |
arm64: clean code
In order to improve the performance and stability, I reorg 2 modules slightly.
arch: no red zone on Arm64.
ring0: use stp instead of movd, and set RSV_REG_APP=R19.
Signed-off-by: Robin Luk <lubin.lu@antgroup.com>
Diffstat (limited to 'pkg/ring0/defs_arm64.go')
-rw-r--r-- | pkg/ring0/defs_arm64.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/ring0/defs_arm64.go b/pkg/ring0/defs_arm64.go index dcb255fc8..4b2375b71 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 |