Subject: Re: Status report: sysmon_cpufreq(9) + powerctl(8)
To: Iain Hibbert <plunky@rya-online.net>
From: Juan RP <juan@xtrarom.org>
List: tech-kern
Date: 10/01/2006 08:53:47
On Sun, 1 Oct 2006 08:07:14 +0200
Juan RP <juan@xtrarom.org> wrote:

> Code updated... anyway I can't test because the uvm_mmap call in
> prop_dictionary_copyout_ioctl() from prop_kern.c returns ENOMEM.
> 
> drvctl -p cpu0 works...
> 
> Any idea?

Interesting... if I use prop_dictionary_sendrecv_ioctl in powerctl.c it
works but not with prop_dictionary_recv_ioctl that always returns
ENOMEM. 

> http://www.netbsd.org/~xtraeme/cpufreq.diff
> http://www.netbsd.org/~xtraeme/powerctl.c