C/C++ call to detect cpu?
Nicolas Blais
nb_root at videotron.ca
Sun Jan 22 17:04:10 PST 2006
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 ported
> 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
releasing the source ? :)
Nicolas.
--
FreeBSD 7.0-CURRENT #0: Sat Jan 21 11:33:22 EST 2006
root at clk01a:/usr/obj/usr/src/sys/CLK01A
PGP? (updated 16 Nov 05) : http://www.clkroot.net/security/nb_root.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20060122/417f5864/attachment.bin
More information about the freebsd-questions
mailing list