Date: Tue, 8 Jul 1997 10:11:40 -0700 (PDT) Message-Id: <199707081711.KAA26890@adit.ap.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: Johan Karlsson From: Nate Eldredge Subject: Re: Protected mode Cc: djgpp AT delorie DOT com Precedence: bulk At 09:49 7/7/1997 +0200, you wrote: >Nate Eldredge wrote: >> if ((mem_bd_linear = __dpmi_physical_address_mapping(&meminfo_block)) == -1) >> abort(); >Does __dpmi_phys_addr_mapping return the address to use. I think it sets >meminfo_block.address. >which means: >mem_bd_linear = meminfo_block.address; You're right. Sorry. > >> /* Now we lock it so nobody gets any funny ideas about swapping it */ > >Does this mean it won't be cached aswell? >Or is there other anyway to make sure that it will not be cached. >There is a way of setting all the dirty bits in the cache but this >involves asambly and I don't like that. No. I had a look at the CWSDPMI source code and it looks like the only thing locking does is set a flag not to page out that page. So you'll have to find another way to disable caching if that's a problem :-( Nate Eldredge eldredge AT ap DOT net