[OpenBIOS] [PATCH v2] ppc: Use mtmsrd on ppc64

Andreas Färber andreas.faerber at web.de
Sun Nov 21 11:38:35 CET 2010


Am 21.11.2010 um 02:14 schrieb Alexander Graf:

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

Thanks, applied as r963.

Andreas


More information about the OpenBIOS mailing list