tech-x11 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: X11 per machine_arch not per port (Was: Moving ports across to X11R7)



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Feb 8, 2009, at 9:09 AM, David Brownlee wrote:

On Sun, 8 Feb 2009, Quentin Garnier wrote:

On Sun, Feb 08, 2009 at 12:51:10AM +0000, David Brownlee wrote:
        Is there anything stopping moving ports which do not currently
        build Xservers (apart from Xvfb) across to X11R7?

I don't think so.  Please go ahead if you can.

        Is moving to X11R7 a good time to make X11 sharable per
        machine_arch rather than per port?

        At the moment only amd64, i386, macppc, shark, & sparc64 have
        moved across, so...

Should work for the client stuff at least. The only incompatibility I can think of right now is the way we mmap (PCI) IO space on powerpc and shark - by picking a magic address range which isn't used by any PCI device, on macppc it's 0xf2000000 ( traditionally the 1st PCI bridge's IO range ), prep and ofppc use different values, they're currently #defined in sys/params.h so there are no magic values or #ifdefs in the Xserver. We could just add an ioctl so the Xserver can ask the kernel where it would find IO space, that would take a few clock cycles more during setup but the result would be the same and Xservers would be compatible across $MACHINE_ARCH.

have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iQEVAwUBSY8SUspnzkX8Yg2nAQKlsgf/XgFT5EriER6y764tZncV8Gx9SgfWXAOc
r3oB/6z409xH8u8zcH+/TjK1VeY+CvJ9XXzY2vsGQaZVTQjRW64yJDFwv9Tbt/HD
SdtSo1fIuONP0XS2PPZlfyCeE3IePSO987oF1r8nto64AK6ADrw9AjtR7UuAz3kq
HxnmAR1iIAm+CdZWDLSY6rXLBm2eAfx3nJnN6si/IVEYFYETuyUPvXITVv34erwY
PAz2WGuD9ognP9P8W7yQnciOQUDF2sy3MQgIN25ERoTYYzmQjPyGFAsIlnTk457q
Bd/i1MmXwb4PDk0ACzRsYCMMQuMJ4LT+dk0ZQ6rk5amT8iGheYfBvg==
=8ZbE
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index