wellwell wrote:
many thanks,by the way how can i get the memory map of the graphic card??
You can't. You might use a card specific register to map different regions of GPU RAM, so that you can access them using the memory bus. There are usually some sort of get-frame-buffer-address function which does that (GPU->CPU) and you can define buffer objects (CPU->GPU).
In short, when you set the resolution and query the framebuffer, then the GPU will allocate its own RAM, and map that at 0xfd0000000. That address looks like normal RAM, but it's not, it's MMIO which happens to be implemented by RAM too.
Cheers,
bzt