[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: uname -m
From: |
Roland McGrath |
Subject: |
Re: uname -m |
Date: |
Mon, 20 May 2002 20:12:39 -0400 (EDT) |
The utsname.machine string is chosen in proc/host.c:initialize_version_info.
Mach's host_basic_info gives you integers for "CPU type" and "CPU subtype",
with constants defined in <mach/machine.h>. Our file proc/cpu-types.c
gives string names to these, and we use "type-subtype" as the
utsname.machine string. The meanings of the existing "subtype" values
differ amohng the different CPUs: some are actual chip variants, while some
refer to system IO architecture. All those values were chosen a very long
time ago at CMU and don't necessarily mean a whole lot useful now.
It would be fine to change how we decide what to put in utsname.machine.
- uname -m, Marcus Brinkmann, 2002/05/20
- Re: uname -m,
Roland McGrath <=