mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-30 01:30:08 +01:00
Add preliminary OsVendorReset function.
This commit is contained in:
parent
861da6546c
commit
8fec9f9cbc
1 changed files with 8 additions and 0 deletions
|
|
@ -147,6 +147,11 @@ static int nextFreeClientID; /* always MIN free client ID */
|
|||
|
||||
static int nClients; /* number of authorized clients */
|
||||
|
||||
#if defined(DDXOSRESET)
|
||||
extern void OsVendorReset ();
|
||||
#endif
|
||||
|
||||
|
||||
CallbackListPtr ClientStateCallback;
|
||||
char dispatchException = 0;
|
||||
char isItTimeToYield;
|
||||
|
|
@ -466,6 +471,9 @@ Dispatch(void)
|
|||
}
|
||||
dispatchException &= ~DE_PRIORITYCHANGE;
|
||||
}
|
||||
#if defined(DDXOSRESET)
|
||||
OsVendorReset ();
|
||||
#endif
|
||||
KillAllClients();
|
||||
DEALLOCATE_LOCAL(clientReady);
|
||||
dispatchException &= ~DE_RESET;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue