Converting kdrive server to Xorg driver
Graeme Gregory
graeme at openmoko.org
Wed Jan 7 02:48:12 PST 2009
Hi, I have been trying to convert a kdrive server for the freerunner
phone into an Xorg driver and I have one small question that I can't
seem to answer myself from TFM.
This is on an arm device if that makes any difference.
Is the following code in kdrive
reg_base = (char *)KdMapDevice(0x8000000, 0x2400);
KdSetMappedMode(0x8000000, 0x2400, KD_MAPPED_MODE_REGISTERS);
equivalent to this code in Xorg?
reg_base = xf86MapVidMem(pScreen->myNum, VIDMEM_MMIO, 0x8000000, 0x2400);
Thanks
Graeme
More information about the xorg
mailing list