Re: Anyone know how to access the Link between Page File & Physical Memory?

From: Maxim S. Shatskih (maxim_at_storagecraft.com)
Date: 02/03/04


Date: Tue, 3 Feb 2004 18:52:23 +0300


    You cannot do this without a driver.

-- 
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com
"Antranik" <ardziv13REMOVE_CAPS@freenet.no_spam.am> wrote in message
news:E8CC72FD-CDDB-4C0A-9FBB-416E6CDEB9BD@microsoft.com...
> I went through debuging a call to malloc() to try to find out where the link
between virtual memory and physical memory is stored, but ended up with calls
to HeapAlloc() that are stepped over by the debugger.
>
> What I need to do is, given a buffer such as
> int myBuffer  = (int*)malloc(whateverSize * sizeof(int));
>
> I want to lock the pages in physical memory and then map those pages to
another virtual address.
>
> Does anyone know how to do this?
> Thanks in advance.
>
> Antranik


Relevant Pages

  • Anyone know how to access the Link between Page File & Physical Memory?
    ... I went through debuging a call to malloc() to try to find out where the link between virtual memory and physical memory is stored, but ended up with calls to HeapAllocthat are stepped over by the debugger. ...
    (microsoft.public.development.device.drivers)
  • Re: how to get physical memory address from virtual memory address
    ... I am using Linux 2.4.20 Kernel. ... malloc and returns a virtual memory address. ... memory address for that virtual memory address. ... You haven't allocated any physical memory, ...
    (comp.os.linux.development.system)
  • Re: Virtual Memory Advice for Vista 64 & 8GB of Ram
    ... "Dustin Harper" wrote: ... Virtual Memory which seems excessive, I can't help but wonder if it ... be better for me to set the VM myself instead of letting Windows handle ... Installed Physical Memory 8.00 GB ...
    (microsoft.public.windows.vista.performance_maintenance)
  • Re: Zones in Linux
    ... The issue is how much of the memory is visible in kernel *virtual memory* ... There is a total visibility of 4GB of virtual memory. ... physical memory are mapped 1-to-1 into kernel virtual memory space. ...
    (comp.os.linux.development.system)
  • Re: virtual memory
    ... In particular, you can have virtual memory without swap space, but not vice versa. ... etc.) but did support swapping. ... Perhaps it would be better to say that software transparent swapping requires virtual memory. ... This system gives software transparent swapping to each application, but only for a limited range of memory (since swapping it into physical memory is all or nothing). ...
    (comp.arch.embedded)