mirror of
https://github.com/opnsense/src.git
synced 2026-02-18 18:20:26 -05:00
arm64: Save an instruction in locore.S
We can move and sub at the same time, so let's do that. Reviewed by: andrew, kevans Pull Request: https://github.com/freebsd/freebsd-src/pull/794 (cherry picked from commit e1fe34707a60b0f6cf47397c6eea0a39d675e3ac)
This commit is contained in:
parent
3f89271794
commit
c9bd948da3
1 changed files with 1 additions and 2 deletions
|
|
@ -116,8 +116,7 @@ virtdone:
|
|||
/* Set up the stack */
|
||||
adrp x25, initstack_end
|
||||
add x25, x25, :lo12:initstack_end
|
||||
mov sp, x25
|
||||
sub sp, sp, #PCB_SIZE
|
||||
sub sp, x25, #PCB_SIZE
|
||||
|
||||
/* Zero the BSS */
|
||||
ldr x15, .Lbss
|
||||
|
|
|
|||
Loading…
Reference in a new issue