delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/03/10:09:50

Message-ID: <32F6193A.40B5@funcom.com>
Date: Mon, 03 Feb 1997 15:58:34 -0100
From: "M.D" <magnus AT funcom DOT com>
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: virtual -> physical memory mapping

I alloc 256 kb of virtual memory, and I want this 
mem block to map lineary into physical memory, 
to make it fit nicely into the L2 cache....
Usually this will happen too, but sometimes I will get several 
physical mem segments..wich means alot of cache misses.

How can I make sure that I get only one segment of physical memory?

I've tried the __dpmi_alloc_linear_memory without success.

Anyone got a solution to this??

Thanks in advance

..M.D

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019