=================================================================== RCS file: /cvs/prex-old/include/prex/ioctl.h,v retrieving revision 1.1.1.1.2.1 retrieving revision 1.2 diff -u -r1.1.1.1.2.1 -r1.2 --- prex-old/include/prex/ioctl.h 2008/08/13 17:12:27 1.1.1.1.2.1 +++ prex-old/include/prex/ioctl.h 2008/07/23 21:47:29 1.2 @@ -58,6 +58,12 @@ }; /* + * CPU frequency control + */ +#define CPUIOC_GET_FREQ _IOR('6', 2, int) +#define CPUIOC_SET_FREQ _IOW('6', 3, int) + +/* * Power management I/O control code */ #define PMIOC_SET_POWER _IOW('P', 0, int) @@ -90,5 +96,11 @@ long tv_sec; /* seconds */ long tv_usec; /* and microseconds */ }; + +#include + +__BEGIN_DECLS +int ioctl(int, unsigned long, ...); +__END_DECLS #endif /* !_PREX_IOCTL_H */