Jordan Crouse wrote:
On 03/10/08 14:30 -0600, Jordan Crouse wrote:
  
On 03/10/08 16:06 +0200, Dirk De Becker wrote:
    
Hi all,

I would like to be able to use cim_gp_ptr, cim_vg_ptr, cim_vid_ptr, 
cim_fb_ptr and cim_vip_ptr in another program (module).
Can someone give me a clue on how to do this?
I printed them in lx_driver, but I see that the addresses are different 
each time I run X, so it does not make sense to just copy the adress 
dumps in my module.
      
You mean you want to use them in another X module?  You should be able to
use them directly, they are not declared as static or anything.
    

Actually, we would probably need to declare them with _X_EXPORT, but still,
not a big deal.

Jordan
  
Actually, what I mean is that I want to be able to access them from another (custom) kernel (non-X) module.
I am trying to make a register dump for the geode's graphical registers.

Kind regards,

Dirk
begin:vcard
fn:Dirk De Becker
n:De Becker;Dirk
org:dZine NV;R&D
adr:;;'t Hoge 49;Kortrijk;;8500;Belgium
email;internet:[EMAIL PROTECTED]
title:Software Engineer Linux
tel;work:++32 (0)56 24 90 90
tel;fax:++32 (0)56 24 90 99
x-mozilla-html:FALSE
url:http://www.dzine.be
version:2.1
end:vcard

_______________________________________________
Xorg-driver-geode mailing list
[email protected]
http://lists.x.org/mailman/listinfo/xorg-driver-geode

Reply via email to