[haiku-development] Re: Fixing get_cpu_model_string(), Ticket 3541

  • From: Urias McCullough <umccullough@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sat, 20 Jun 2009 18:32:53 -0700

On Sat, Jun 20, 2009 at 10:57 AM, Christian
Packmann<Christian.Packmann@xxxxxx> wrote:
> Urias McCullough - 2009-06-20 16:05 :
>> http://setiathome.berkeley.edu/hosts_user.php?sort=rpc_time&rev=0&show_all=1&userid=8542071
>>
>> You'll see Haiku there at the top.
>
> Hm, are those the strings which are internally used for identification?
> They're inconsistent: some have family/model/stepping while others don't;
> some have x86 or AMD64 in the square brackets, some not. I assume that's
> some BOINC code which generates these?

I think they added the family/model/stepping info in recent versions
of BOINC (note that the bottom of the list haven't contacted the
server since 2007)

The AMD64 in the brackets there, believe it or not, is reported by
Windows on a 64-bit version of XP running on my AMD box here. On Intel
I think it says Intel64 or something.

When I wrote the code that spits out that info for Haiku, I tried to
follow closely with what Linux currently displays.

>> What you don't see there is the string of features... Haiku's sysinfo
>> is lacking a few, I need to send a patch for that :)
>
> That would be nice. But I think that sysinfo needs a wide rewrite anyway, as
> the internals seem pretty Intel-centric. I wouldn't want to add complete
> parsing of Via and Transmeta to that code.

Yep, admittedly, I left out the AMD features and friends from the code
I put in BOINC with a TODO... I just didn't have an AMD box running
Haiku handy to test with, so I decided it was safer to leave it out
for now.

- Urias

Other related posts: