Mail Archives: djgpp/1997/07/08/13:12:53
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
- Raw text -