Re: Wiring memory from user-land ( was: PlayThru )
Re: Wiring memory from user-land ( was: PlayThru )
- Subject: Re: Wiring memory from user-land ( was: PlayThru )
- From: marquis logan <email@hidden>
- Date: Wed, 5 Dec 2001 21:26:32 -0500
this is late ( i just saw the thread) but users with access to the
host_priv port (root) can use vm_wire() to wire down memory.
#import <mach/host_priv.h>
nibs
On Wednesday, November 21, 2001, at 05:52 PM, Jeff Moore wrote:
on 11/21/01 1:44 PM, James McCartney <email@hidden> wrote:
The question is does this API really work in OSX?
Much like James, I am under the impression that there is no way to wire
memory from user-land. I don't think that mlock() and friends have any
actual implementation on X.
I have a question in to the guys on the OS team that can settle the
issue
one way or the other. I'll post the answer as soon as I get one.
FWIW, the buffers that you get from the HAL in your IOProc are, in fact,
wired down. The HAL and the IOAudio Family have a protocol between them
for
doing this that isn't really a good basis for a public API.
--
Jeff Moore
Core Audio
Apple