debrix/hw/xorg/os-support/linux Makefile.am, 1.1, 1.2 lnx_init.c, 1.3, 1.4

Daniel Stone xserver-commit at pdx.freedesktop.org
Thu Jul 1 10:49:53 PDT 2004


Committed by: daniel

Update of /cvs/xserver/debrix/hw/xorg/os-support/linux
In directory pdx:/tmp/cvs-serv31934/hw/xorg/os-support/linux

Modified Files:
	Makefile.am lnx_init.c 
Log Message:
2004-06-29  Daniel Stone  <daniel at freedesktop.org>

	* configure.ac:
	Made CFLAGS a little less embarassingly large; fix it so the script
	actually runs and works fine (no more sed errors); remove XF86keysym.h
	check, which probably never actually worked. Get rid of INCLUDES;
	merge it into CFLAGS.

	* */Makefile.am:
	Sanitise INCLUDES/CFLAGS usage to radically decrease length of gcc
	lines.

	* include/Makefile.am:
	Make debrix.h depend on config.h, so they stay in sync. Oops.

	* hw/xorg/int10/xf86int10module.c:
	Change int10VersRec declaration from static, so debrixInit can see it.

	* hw/xorg/common/xf86KbdLnx.c:
	* hw/xorg/os-support/linux/lnx_KbdMap.c:
	Axe unused DECkeysym.h header dep.

	* hw/xorg/include/X11/extensions/Makefile.am:
	Finally fix the ext_HEADERS debacle.

	* hw/xorg/loader/dlloader.c:
	* hw/xorg/loader/loader.c:
	dlopen() NULL at startup, and include it in dlsym() searches, so we
	can find symbols included in the main binary with the standard module
	search.

	* hw/xorg/loader/loader.c:
	* hw/xorg/loader/loadmod.c:
	* hw/xorg/loader/xf86sym.c:
	* hw/xorg/common/xf86Init.c:
	Change loader API to introduce a new 'builtin' class, which doesn't
	actually load a module, but goes through all the motions; get rid of
	baseModules list for the time being (we don't want bitmap, and pcidata
	is already loaded). Explicitly add all ModuleData objects being loaded
	to xf86sym.c, so they don't get 'optimised' out.
	
	* hw/xorg/common/debrixInit.c:
	* hw/xorg/common/xf86Init.c:
	Add new debrixInit() function, which adds a few modules as builtins.

	* hw/xorg/loader/xf86sym.c:
	* hw/xorg/os-support/linux/Makefile.am:
	Re-enable a few missing os-support functions (xf86UDelay, xf86IODelay,
	xf86BusToMem, xf86MemToBus, xf86LoadKernelModule).

	* configure.ac:
	* fb/Makefile.am:
	* miext/shadow/Makefile.am:
	Make fb and shadow modular once more.

	* fb/fb.h:
	* render/filter.c:
	* render/picture.c:
	* include/picturestr.h:
	Rolled back to X.Org versions until I can figure out why pictures
	don't actually display in most cases.

	The following two are thanks to Jabuk Piotr C?apa.
	* os/xdmauth.c:
	"Xdmcp.h" -> <X11/Xdmcp.h>

	* hw/xorg/os-support/shared/drm/kernel/drm.h:
	Guard linux/config.h inclusion with #ifdef __KERNEL__.


Index: Makefile.am
===================================================================
RCS file: /cvs/xserver/debrix/hw/xorg/os-support/linux/Makefile.am,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- Makefile.am	10 Jun 2004 19:14:51 -0000	1.1
+++ Makefile.am	1 Jul 2004 17:49:49 -0000	1.2
@@ -6,17 +6,18 @@
 noinst_LIBRARIES = liblinux.a
 liblinux_a_SOURCES = lnx_mouse.c lnx_kbd.c lnx_KbdMap.c \
                      lnx_init.c lnx_video.c lnx_io.c \
-                     lnx_pci.c lnx_apm.c lnx_agp.c \
+                     lnx_pci.c lnx_apm.c lnx_agp.c lnx_kmod.c \
                      ../shared/at_scancode.c ../shared/libc_wrapper.c \
                      ../shared/bios_mmap.c ../shared/VTsw_usl.c \
                      ../shared/std_kbdEv.c ../shared/posix_tty.c \
                      ../shared/vidmem.c ../shared/sigio.c \
-                     ../shared/stdResource.c \
-                     ../../common/xf86PM.c ../misc/SlowBcopy.c
+                     ../shared/stdResource.c ../misc/Delay.c \
+                     ../misc/IODelay.c ../misc/BUSmemcpy.c \
+                     ../../common/xf86PM.c ../misc/SlowBcopy.c 
 #libxorglinux_a_LIBADD = int10/libxorglinuxint10.a \
 #                         $(DRI_LIBS)
 
 sdk_HEADERS = agpgart.h
-AM_CFLAGS = $(XORG_CFLAGS) -DUSESTDRES -DXFree86Server
+AM_CFLAGS = -DUSESTDRES
 
 SUBDIRS = $(DRI_SUBDIRS)

Index: lnx_init.c
===================================================================
RCS file: /cvs/xserver/debrix/hw/xorg/os-support/linux/lnx_init.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- lnx_init.c	10 Jun 2004 19:40:55 -0000	1.3
+++ lnx_init.c	1 Jul 2004 17:49:49 -0000	1.4
@@ -203,8 +203,7 @@
 	}
 
 	/*
-	 * now get the VT
-	 */
+	 * now get the VT */
 	SYSCALL(result = ioctl(xf86Info.consoleFd, VT_ACTIVATE, xf86Info.vtno));
 	if (result != 0)
 	{




More information about the xserver-commit mailing list