|
version 1.1.2.1, 1997/07/18 06:25:35
|
version 1.1.2.4, 1998/05/22 13:47:15
|
|
|
|
| /* $XFree86$ */ |
/* $XFree86: xc/programs/Xserver/hw/xfree86/common/xf86Module.h,v 1.1.2.3 1998/02/14 06:31:16 dawes Exp $ */ |
| | |
| /* | /* |
| * Copyright (c) 1997 by The XFree86 Project, Inc. | * Copyright (c) 1997 by The XFree86 Project, Inc. |
|
|
|
| #ifndef _XF86MODULE_H | #ifndef _XF86MODULE_H |
| #define _XF86MODULE_H | #define _XF86MODULE_H |
| | |
| |
#include "misc.h" |
| #include "xf86Version.h" | #include "xf86Version.h" |
| | |
| /* These are the magic numbers that ModuleInit functions can return */ | /* These are the magic numbers that ModuleInit functions can return */ |
| typedef enum { | typedef enum { |
| MAGIC_DONE = 0, /* no more init stuff */ | MAGIC_DONE = 0, /* no more init stuff */ |
| MAGIC_LOAD = 1, /* load that module */ | MAGIC_LOAD = 1, /* load that module */ |
| MAGIC_ADD_VIDEO_CHIP_REC = 2, /* add this as vgaVideoChipPtr*/ |
MAGIC_ADD_DRIVER = 2, /* call xf86AddDriver on data*/ |
| MAGIC_CCD_DO_BITBLT = 3, /* cur.col.depth specific blit*/ |
|
| MAGIC_CCD_SCREEN_PRIV_IDX = 4, /* cur.col.depth specific idx*/ |
|
| MAGIC_CCD_XAA_SCREEN_INIT = 5, /* cur.col.depth specific init*/ |
|
| /* don't use these, use MAGIC_LOAD_EXTENSION instead */ |
|
| MAGIC_PEX_INIT = 6, /* PEX init function */ |
|
| MAGIC_XIE_INIT = 7, /* XIE init function */ |
|
| | |
| MAGIC_LOAD_EXTENSION = 8, | MAGIC_LOAD_EXTENSION = 8, |
| MAGIC_VERSION = 9, /* retrieve version info */ | MAGIC_VERSION = 9, /* retrieve version info */ |
|
|
|
| /* first item from ModuleInit */ | /* first item from ModuleInit */ |
| MAGIC_DONT_CHECK_UNRESOLVED = 10, /* delay checking */ | MAGIC_DONT_CHECK_UNRESOLVED = 10, /* delay checking */ |
| MAGIC_GLX_VISUALS_INIT = 11, /* GLX visuals init function */ | MAGIC_GLX_VISUALS_INIT = 11, /* GLX visuals init function */ |
| MAGIC_ADD_XINPUT_DEVICE = 12 /* register xinput device */ |
MAGIC_ADD_XINPUT_DEVICE = 12, /* register xinput device */ |
| |
MAGIC_SETUP_PROC = 13, /* Where to pass the options */ |
| |
MAGIC_TEARDOWN_PROC = 14 /* cleanup before unloading */ |
| } MagicCallbackCodes; | } MagicCallbackCodes; |
| |
|
| |
typedef enum { |
| |
LD_RESOLV_IFDONE = 0, /* only check if no more |
| |
delays pending */ |
| |
LD_RESOLV_NOW = 1, /* finish one delay step */ |
| |
LD_RESOLV_FORCE = 2 /* force checking... */ |
| |
} LoaderResolveOptions; |
| | |
| #define MODINFOSTRING1 0xef23fdc5 | #define MODINFOSTRING1 0xef23fdc5 |
| #define MODINFOSTRING2 0x10dc023a | #define MODINFOSTRING2 0x10dc023a |