Subject: Re: Status report: sysmon_cpufreq(9) + powerctl(8)
To: Juan RP <email@example.com>
From: Iain Hibbert <firstname.lastname@example.org>
Date: 10/01/2006 09:52:42
On Sun, 1 Oct 2006, Juan RP wrote:
> On Sun, 1 Oct 2006 08:07:14 +0200
> Juan RP <email@example.com> 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
I think when you use _IOWR then you also must use _sendrecv_ (will look
properly in a bit, but I think both ioctls you have are IOWR?)