require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_SYS_CPUFREQ_H_)) {
    eval 'sub _SYS_CPUFREQ_H_ () {1;}' unless defined(&_SYS_CPUFREQ_H_);
    unless(defined(&_KERNEL)) {
	require 'stdbool.ph';
    }
    if(defined(&_KERNEL)) {
	unless(defined(&_SYS_XCALL_H_)) {
	    require 'sys/xcall.ph';
	}
    }
    eval 'sub CPUFREQ_NAME_MAX () {16;}' unless defined(&CPUFREQ_NAME_MAX);
    eval 'sub CPUFREQ_STATE_MAX () {32;}' unless defined(&CPUFREQ_STATE_MAX);
    eval 'sub CPUFREQ_LATENCY_MAX () { &UINT32_MAX;}' unless defined(&CPUFREQ_LATENCY_MAX);
    eval 'sub CPUFREQ_STATE_ENABLED () { &UINT32_MAX;}' unless defined(&CPUFREQ_STATE_ENABLED);
    eval 'sub CPUFREQ_STATE_DISABLED () { &UINT32_MAX - 1;}' unless defined(&CPUFREQ_STATE_DISABLED);
    if(defined(&_KERNEL)) {
    }
    if(defined(&_KERNEL)) {
    }
}
1;
