mirror of
https://github.com/opnsense/src.git
synced 2026-06-04 22:32:43 -04:00
arm64: Fix long lines in vm_machdep.c
Reviewed by: emaste Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D41828
This commit is contained in:
parent
608da65de9
commit
26ac295c05
1 changed files with 4 additions and 2 deletions
|
|
@ -214,11 +214,13 @@ cpu_set_upcall(struct thread *td, void (*entry)(void *), void *arg,
|
|||
|
||||
/* 32bits processes use r13 for sp */
|
||||
if (td->td_frame->tf_spsr & PSR_M_32) {
|
||||
tf->tf_x[13] = STACKALIGN((uintptr_t)stack->ss_sp + stack->ss_size);
|
||||
tf->tf_x[13] = STACKALIGN((uintptr_t)stack->ss_sp +
|
||||
stack->ss_size);
|
||||
if ((register_t)entry & 1)
|
||||
tf->tf_spsr |= PSR_T;
|
||||
} else
|
||||
tf->tf_sp = STACKALIGN((uintptr_t)stack->ss_sp + stack->ss_size);
|
||||
tf->tf_sp = STACKALIGN((uintptr_t)stack->ss_sp +
|
||||
stack->ss_size);
|
||||
tf->tf_elr = (register_t)entry;
|
||||
tf->tf_x[0] = (register_t)arg;
|
||||
tf->tf_x[29] = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue