Skip to content
Commit 6316222e authored by Paul Mackerras's avatar Paul Mackerras
Browse files

powerpc: Introduce toreal/fromreal assembly macros



On 32-bit platforms, these convert from kernel virtual addresses
to real (physical addresses), like tophys/tovirt but they use
the same register for the source and destination.  On 64-bit
platforms, they do nothing because the hardware ignores the top
two bits of the address in real mode.

These new macros are used in fpu.S now.

Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 80579e1f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment