[haiku-development] /proc/cpuinfo

  • From: "scott mc" <scottmc2@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 13 Nov 2008 12:26:39 -0800

Linux has /proc/cpuinfo, while Haiku has something similar in sysinfo.
 Sometimes I come across ports that are looking for /proc/cpuinfo, I
was wondering if there was a way we could fake this out, or perhaps
have a command line option for sysinfo that could generate a temp
/proc/cpuinfo file, or at least spit out info that matches the format
of /proc/cpuinfo and could be ifdef'd into the port in place of
/proc/cpuinfo.
-scottmc

Other related posts: