Re: How to use cpuid?
Re: How to use cpuid?
- Subject: Re: How to use cpuid?
- From: Brian Bergstrand <email@hidden>
- Date: Fri, 23 Apr 2010 19:45:53 +0300
You don't. The symbols in the Kernel framework are only exported by the Kernel. They are not exported by any userland libraries. There are of course symbol names shared by kernel and userland, but that is by name only.
On Apr 23, 2010, at 7:36 PM, Duane Murphy wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> I'd like to use the do_cpuid() function in i386/cpuid.h of the Kernel
> framework in a user land application as well as in a kext.
>
> The kext I can get compiling, but getting the userland include file
> working isn't playing nice. I added the Kernel framework to the Xcode
> project, but that doesn't really help because the internal header
> files don't use the Kernel prefix.
>
> How do I go about using do_cpuid() from a user land application?
>
> Thanks,
>
> ...Duane
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden