NxGetLocalArchInfo is returning wrong information
NxGetLocalArchInfo is returning wrong information
- Subject: NxGetLocalArchInfo is returning wrong information
- From: Gordo Cath <email@hidden>
- Date: Mon, 20 Jun 2016 19:41:14 -0400
I wrote a little test program to give me information about my computer and it returns me the wrong information.
I'm using Yosemite 10.10.5 and have a 3.7ghz Quad Core Xeon E5 MacPro
When I call NxGetLocalArchInfo it populates a structure.
When I print out the contents of the structure it tells me its a
i486, cpu: 7, subtype: 4
Intel 80486
========
When I dig into the header files, I see compiler flags there that are defined for Xeon etc
When I do the menu Apple | About this mac it tells me the processor is defined as 3.7 ghz Quad Core Xeon E5 MacPro
Is NxGetLocalArchInfo broken? Or am I supposed to be using a different function? I tried googling and didn't manage to find anything of value and when I looked it up in my xcode help i found no dox.
Gordo
_______________________________________________
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