From 8fec9f9cbcffc60bf179d8a7ce88e26db232d1f8 Mon Sep 17 00:00:00 2001 From: Harold L Hunt II Date: Thu, 8 Jan 2004 05:07:13 +0000 Subject: [PATCH] Add preliminary OsVendorReset function. --- dix/dispatch.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dix/dispatch.c b/dix/dispatch.c index cd1ce6790..daa593e10 100644 --- a/dix/dispatch.c +++ b/dix/dispatch.c @@ -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;