Hi

I am developing a display driver. I have reserved 1MB of space in the
RAM (config.bib) and has a virtual address of that location. I map
this space into my process space in the display driver source code
using MmMapIoSpace function. Now i have a static virtual pointer to
that memory area and also a memory pointer in my virtual address
space. And i can manipulate that memory region inside my driver. But
GWES is not able to update that memroy region though i have passed it
to the GPE virtual function: GetPhysicalVideoMemory. In this function
i am passing the static virtual pointer. I am building the driver
based on the GPE class.

The static virtual address is 0x89EE0000 and the pointer i get in my
process space(GWES PROCESS SPACE) is 0x1e0000.

If there is something i am missing out, please help

Ira

Re: GWES not accessing memory - URGENT by Steve

Steve
Thu Feb 12 08:15:33 CST 2004

Forget the static mapping it is not needed unless you access the frame
buffer directly in the OAL or an ISR (Not likely). Despite it's name
GetPhysicalVideoMemory() doesn't actually return the physical memory
address, instead it provides a virtual address.

--
Steve Maillet (eMVP)
Entelechy Consulting
smaillet_AT_EntelechyConsulting_DOT_com