Subject: Re: Another Kernel Question
To: None <stixpjr@ozemail.com.au>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: port-mac68k
Date: 07/26/1998 16:30:08
On Sun, 26 Jul 1998 15:03:59 +1000
Paul Ripke <stixpjr@ozemail.com.au> wrote:
> > >BTW, does anyone know how to translate a PHYSICAL address into a LOGICAL
> > >address under MacOS? I'm trying to read the page tables under MacOS,
> > >but given the physical address in the SRP, I'm lost as to how I can find
> > >it's logical location.
> >
> > Look in "Inside Macintosh: Memory" (available as PDF from Apple's site) --
> > GetPhysical(), I think, was the function.
> >
>
> Not quite - I want to do the reverse, and unfortunately "GetLogical()" does
> not exist.
...because there might be multiple mappings, perhaps? Is there a MacOS
function that lets you manually add a virtual mapping?
Jason R. Thorpe thorpej@nas.nasa.gov
NASA Ames Research Center Home: +1 408 866 1912
NAS: M/S 258-5 Work: +1 650 604 0935
Moffett Field, CA 94035 Pager: +1 650 940 5942