Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jan 2006 20:04:03 -0500
From:      Nicolas Blais <nb_root@videotron.ca>
To:        freebsd-questions@freebsd.org
Cc:        Derek Ragona <derek@computinginnovations.com>
Subject:   Re: C/C++ call to detect cpu?
Message-ID:  <200601222004.08956.nb_root@videotron.ca>
In-Reply-To: <6.0.0.22.2.20060122184912.0258fc50@mail.computinginnovations.com>
References:  <20060121203306.25121.qmail@simone.iecc.com> <200601221851.03015.nb_root@videotron.ca> <6.0.0.22.2.20060122184912.0258fc50@mail.computinginnovations.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1514270.HmZpKPO1RW
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Sunday 22 January 2006 19:53, Derek Ragona wrote:
> Nicolas,
>
> I have commented assembler code for the intel family of CPU's.  This code
> goes back to the i386 and also takes into account the CPU string, and will
> calculate the clock speed.  I do call this as a library function from c/c=
++
> programs.
>
> Unfortunately this is written for Microsoft's MASM, and I have never port=
ed
> it to gas.
>
> If you want a copy I can send you the assembler source code and/or the
> commented listing as well.
>
>          -Derek
>

Certainly, that would be of great help! Under what license would you be=20
releasing the source ? :)

Nicolas.
=2D-=20
=46reeBSD 7.0-CURRENT #0: Sat Jan 21 11:33:22 EST 2006    =20
root@clk01a:/usr/obj/usr/src/sys/CLK01A=20
PGP? (updated 16 Nov 05) : http://www.clkroot.net/security/nb_root.asc

--nextPart1514270.HmZpKPO1RW
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQBD1CuI4wTBlvcsbJURAp/BAKCi4QBIYYzymMI9wzEU9DhY4Ug9QACgpd+1
9dP7AznSCtIZh/M45XC0BD4=
=HkKw
-----END PGP SIGNATURE-----

--nextPart1514270.HmZpKPO1RW--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601222004.08956.nb_root>