Re: cpu_number()
Re: cpu_number()
- Subject: Re: cpu_number()
- From: Shantonu Sen <email@hidden>
- Date: Fri, 19 Aug 2011 10:11:32 -0700
Title: RE: cpu_number()
Ah. If you're trying to build Apple's own open source projects, frequently they have interdependencies using unsupported interfaces. In this case you'll see it's needed to do PCI enumeration on the BSP processor.
Try doing: 1) cd IOPCIFamily xcodebuild ARCHS='x86_64 i386' installhdrs sudo ditto /tmp/IOPCIFamily.dst / 3) cd xnu-1699.22.73 make ARCH_CONFIGS="X86_64 I386" installhdrs sudo ditto BUILD/dst / 4) Attempt to build IOPCIFamily again cd IOPCIFamily xcodebuild ARCHS='x86_64 i386'
Shantonu On Aug 19, 2011, at 8:58 AM, David Lee wrote:
Shantonu,
What I am trying to do is build a copy of IOPCIFamily.kext. I have no idea why it is calling cpu_number(), but it is, and the symbol is unresolved.
David
-----Original Message-----
From: Shantonu Sen [mailto:email@hidden]
Sent: Fri 8/19/2011 1:44 AM
To: David Lee
Cc: Kernel List
Subject: Re: cpu_number()
What are you really trying to do, and why do you think getting the CPU you were scheduled on a nanosecond ago while be correct a nanosecond from now?
Shantonu
On Aug 18, 2011, at 10:25 PM, Jiang, Yunhong wrote:
> I remember the cpu_number() is exporeted in the com.apple.kpi.unsupported?
>
> Thanks
> --jyh
>
> From: darwin-kernel-bounces+yunhong.jiang=email@hidden [mailto:darwin-kernel-bounces+yunhong.jiang=email@hidden] On Behalf Of David Lee
> Sent: Friday, August 19, 2011 12:55 PM
> To: email@hidden; email@hidden
> Subject: cpu_number()
>
> Hi All,
>
> I'm trying to build a recent version of IOPCIFamily.kext, I'm struggling because cpu_number() is unresolved. I expected to find an easy solution for this, but I have been working on it for a number of hours now. Can anybody help me out?
>
> David Lee
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Darwin-kernel mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden