1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-06-28 12:39:50 +03:00
gmenu2x/src/cpu.h
Maarten ter Huurne 7fb67ba1cc Set CPU frequency through sysfs.
No more poking into registers via /dev/mem.
If there is no cpufreq support in the kernel, when trying to change the frequency a message will be printed on stderr that the required sysfs file cannot be opened.
2010-07-04 03:04:42 +02:00

7 lines
76 B
C

#ifndef CPU_H
#define CPU_H
void jz_cpuspeed(unsigned clockspeed);
#endif