[OpenBIOS] [PATCH v2] ppc: Use mtmsrd on ppc64
Alexander Graf
agraf at suse.de
Sun Nov 21 02:14:16 CET 2010
On 21.11.2010, at 01:49, Andreas Färber wrote:
> On ppc64 the mtmsr instruction only sets the low 32 bits of the MSR.
> mtmsrd must be used to set the high bits such as Sixty-Four Bit Mode as well.
>
> v2:
> * Introduce MTMSRD macro as seen on Linux, suggested by Alex.
> * Introduce inline functions {mfmsr,mtmsr}, suggested by Alex.
>
> Cc: Alexander Graf <agraf at suse.de>
> Signed-off-by: Andreas Färber <andreas.faerber at web.de>
Signed-off-by: Alexander Graf <agraf at suse.de>
Alex
More information about the OpenBIOS
mailing list