[Xorg-driver-geode] MSR Support for FreeBSD.
Larry Maloney
larrypatrickmaloney at yahoo.com
Fri Dec 21 00:40:20 PST 2007
Turns out I'm not getting the MSR information...
I installed the devcpu package, but getting the MSR info is a little
different in FreeBSD than linux.
I can see /dev/cpu just fine, but there is no device for MSR (like
/dev/cpu/msr...)
The doc's for the helper tool x86info says that MSR drivers must be
included in the kernel, or loaded as a kernel module.
I did that with devcpu, but I dont' see any MSR pseudo device.
I think the only way to read and write the MSR data is to use IOCTL in
FreeBSD....
In amd_msr.c, the calls to get the MSR data is a nice easy file open.
I think I"m gonna have to re-write the amd_msr.c for FreeBSD, or just
add a new file and if_def the build.
If I get MSR working in FreeBSD, what does that give us? What register
information is needed to be read and set? A whole bunch of "stuff" ? :)
Larry
Jordan Crouse wrote:
> On 20/12/07 11:02 -0800, Larry Maloney wrote:
>
>> I found the following software in the ports collection for FreeBSD:
>>
>> http://www.freebsd.org/cgi/url.cgi?ports/sysutils/devcpu/pkg-descr
>>
>> Will that give us the MSR's we need?
>>
>
> That will - but it might be cumbersome for people to install. We need
> to figure out if there is a way to make BSD work out of the box.
>
>
>> I guess the GEODE doesn't' use an AMD64 instruction set...?
>>
>
> Nope - its all 32 bits.
>
>
>
>
>
--
==============================
Larry P. Maloney
CEO/CTO SoftNet Solutions
Phone: 650-669-1942
Web: www.softnetsolution.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.x.org/archives/xorg-driver-geode/attachments/20071221/e24883f6/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: larrypatrickmaloney.vcf
Type: text/x-vcard
Size: 318 bytes
Desc: not available
Url : http://lists.x.org/archives/xorg-driver-geode/attachments/20071221/e24883f6/attachment.vcf
More information about the Xorg-driver-geode
mailing list