commit | 6316222ea050d469c3155881d9dee2c7671d9fef | [log] [tgz] |
---|---|---|
author | Paul Mackerras <paulus@samba.org> | Thu Oct 27 22:44:39 2005 +1000 |
committer | Paul Mackerras <paulus@samba.org> | Thu Oct 27 22:44:39 2005 +1000 |
tree | 2a075cbdab11e10efc868a31e378dffae90f06da | |
parent | 80579e1f4a6b5f5dec92faa6c3e0645961c99091 [diff] |
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: Paul Mackerras <paulus@samba.org>