Bug 778: add ddxBeforeReset

This commit is contained in:
Alexander Gottwald 2004-06-21 13:44:14 +00:00
parent 68d92cca1a
commit ed7f92e791
5 changed files with 23 additions and 1 deletions

View File

@ -217,6 +217,11 @@ OsVendorFatalError(void)
} }
#endif #endif
void
ddxBeforeReset(void)
{
return;
}
#ifdef DDXTIME #ifdef DDXTIME
CARD32 CARD32

View File

@ -1,4 +1,4 @@
/* $XdotOrg: xc/programs/Xserver/dix/dispatch.c,v 1.1.4.4.2.3.6.2 2004/04/20 03:27:08 gisburn Exp $ */ /* $XdotOrg$ */
/* $Xorg: dispatch.c,v 1.5 2001/02/09 02:04:40 xorgcvs Exp $ */ /* $Xorg: dispatch.c,v 1.5 2001/02/09 02:04:40 xorgcvs Exp $ */
/************************************************************ /************************************************************
@ -474,6 +474,9 @@ Dispatch(void)
} }
dispatchException &= ~DE_PRIORITYCHANGE; dispatchException &= ~DE_PRIORITYCHANGE;
} }
#if defined(DDXBEFORERESET)
ddxBeforeReset ();
#endif
KillAllClients(); KillAllClients();
DEALLOCATE_LOCAL(clientReady); DEALLOCATE_LOCAL(clientReady);
dispatchException &= ~DE_RESET; dispatchException &= ~DE_RESET;

View File

@ -251,6 +251,11 @@ OsVendorFatalError()
{ {
} }
void ddxBeforeReset(void)
{
return;
}
void void
ddxUseMsg() ddxUseMsg()
{ {

View File

@ -150,6 +150,11 @@ void OsVendorFatalError()
return; return;
} }
void ddxBeforeReset(void)
{
return;
}
/* this is just to get the server to link on AIX */ /* this is just to get the server to link on AIX */
#ifdef AIXV3 #ifdef AIXV3
int SelectWaitTime = 10000; /* usec */ int SelectWaitTime = 10000; /* usec */

View File

@ -372,6 +372,10 @@ extern int DoGetImage(
extern void IncrementClientCount(void); extern void IncrementClientCount(void);
#endif /* LBX */ #endif /* LBX */
#if defined(DDXBEFORERESET)
extern void ddxBeforeReset (void);
#endif
/* dixutils.c */ /* dixutils.c */
extern void CopyISOLatin1Lowered( extern void CopyISOLatin1Lowered(