Name: cpuid Version: 0.2.3 License: GPL License-file: COPYING Author: Martin Grabmueller Maintainer: martin@grabmueller.de, cpuid@henning-thielemann.de Homepage: http://code.haskell.org/cpuid/ Category: Foreign binding Synopsis: Binding for the cpuid machine instruction on x86 compatible processors Description: This module provides the function 'cpuid' for accessing information about the currently running IA-32 processor. Both a function for calling the 'cpuid' instruction directly, and some convenience functions for common uses are provided. This package is only portable to IA-32 machines. Stability: Experimental Build-type: Simple Cabal-version: >=1.6 Extra-source-files: README cbits/cpuid-pic-i386.c cbits/cpuid-pic-x86_64.c cbits/cpuid-pdc.c Flag buildExamples Description: Build example executables Default: False Source-Repository head Type: darcs Location: http://code.haskell.org/cpuid/ Library If arch(i386) || arch(x86_64) Build-depends: data-accessor >=0.2.2 && <0.3, enumset >=0.0.3 && <0.1, base >=4 && < 5 Else Buildable: False Exposed-Modules: System.Cpuid Extensions: ForeignFunctionInterface C-sources: cbits/cpuid.c Include-dirs: cbits Install-includes: cpuid.h GHC-Options: -Wall Executable cpuid-test If !(flag(buildExamples) && (arch(i386) || arch(x86_64))) Buildable: False Main-Is: tests/TestCpuid.hs C-sources: cbits/cpuid.c GHC-Options: -Wall