• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Wiring memory from user-land ( was: PlayThru )
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: AUGraph
  • Next by Date: Better CoreAudio Sample Code
  • Previous by thread: Re: AUGraph
  • Next by thread: Better CoreAudio Sample Code
  • Index(es):
    • Date
    • Thread