mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Use Oxf0000000 instead of 0xff000000 to guess the physical address, relative
to the virtual one. I may had a reason at some point to use the later, but can't remember which, and it can leads to issues. Reported by: Guillaume Ballet <gballet gmail com>
This commit is contained in:
parent
c2851b5d37
commit
8ba46ea415
1 changed files with 2 additions and 2 deletions
|
|
@ -110,7 +110,7 @@ from_ram:
|
|||
nop
|
||||
#endif
|
||||
adr r7, Lunmapped
|
||||
bic r7, r7, #0xff000000
|
||||
bic r7, r7, #0xf0000000
|
||||
orr r7, r7, #PHYSADDR
|
||||
|
||||
|
||||
|
|
@ -144,7 +144,7 @@ Lunmapped:
|
|||
ldmia r4!, {r1,r2,r3} /* # of sections, VA, PA|attr */
|
||||
cmp r1, #0
|
||||
adrne r5, 2b
|
||||
bicne r5, r5, #0xff000000
|
||||
bicne r5, r5, #0xf0000000
|
||||
orrne r5, r5, #PHYSADDR
|
||||
movne pc, r5
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue