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:
Olivier Houchard 2009-03-31 23:06:20 +00:00
parent c2851b5d37
commit 8ba46ea415

View file

@ -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