Avoid repeated address calculation for malta_ap_boot.
Submitted by: "James Clarke" <jrtc4@cam.ac.uk> Reviewed by: br, arichardson Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D16655
This commit is contained in:
parent
9aa2d5e4fa
commit
b3410bc623
@ -73,13 +73,15 @@ LEAF(malta_ap_wait)
|
||||
jal platform_processor_id
|
||||
nop
|
||||
|
||||
PTR_LA t1, malta_ap_boot
|
||||
|
||||
1:
|
||||
ll t0, malta_ap_boot
|
||||
ll t0, 0(t1)
|
||||
bne v0, t0, 1b
|
||||
nop
|
||||
|
||||
move t0, zero
|
||||
sc t0, malta_ap_boot
|
||||
sc t0, 0(t1)
|
||||
|
||||
beqz t0, 1b
|
||||
nop
|
||||
|
Loading…
x
Reference in New Issue
Block a user