Subject: Re: question on inline assembly and long long values

From: Chris Friesen <[email-masked]>
Date: Wed, 06 Apr 2005 17:30:26 -0600

Benjamin Herrenschmidt wrote:
> On Wed, 2005-04-06 at 12:26 -0600, Chris Friesen wrote:
> 
>>I want to retrieve the msr (which is 64-bits) on a 970 when running in 
>>32-bit mode.

> Is this in kernel mode ? Why are you doing that ? 

Yes it is.

We wanted to manipulate the high word of the msr on the 970, from C 
code, while running in 32-bit mode.  I'll be doing something similar to 
get at the high word of HID1 (to enable the en_icbi bit).

Is there some other way to do this?

Chris