Subject: Re: Status report: sysmon_cpufreq(9) + powerctl(8)
To: Juan RP <juan@xtrarom.org>
From: Iain Hibbert <plunky@rya-online.net>
List: tech-kern
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 <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.

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?)

iain