• Paul Mackerras's avatar
    powerpc: Introduce toreal/fromreal assembly macros · 6316222e
    Paul Mackerras authored
    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>
    6316222e
ppc_asm.h 11.7 KB