Author: tkreuzer Date: Fri May 15 16:11:44 2009 New Revision: 40926
URL: http://svn.reactos.org/svn/reactos?rev=40926&view=rev Log: return ERROR_INVALID_FUNCTION on amd64, not ERROR_INVALID_ACCESS from VideoPortEn/DisableInterrupt. Fixes compilation of videoprt for amd64.
Modified: branches/ros-amd64-bringup/reactos/drivers/video/videoprt/interrupt.c
Modified: branches/ros-amd64-bringup/reactos/drivers/video/videoprt/interrupt.c URL: http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/driver... ============================================================================== --- branches/ros-amd64-bringup/reactos/drivers/video/videoprt/interrupt.c [iso-8859-1] (original) +++ branches/ros-amd64-bringup/reactos/drivers/video/videoprt/interrupt.c [iso-8859-1] Fri May 15 16:11:44 2009 @@ -128,7 +128,7 @@ #else /* FIXME: Function still present? If so what to use instead of HalEnableSystemInterrupt? */ UNIMPLEMENTED; - return ERROR_INVALID_ACCESS; + return ERROR_INVALID_FUNCTION; #endif }
@@ -155,6 +155,6 @@ #else /* FIXME: Function still present? If so what to use instead of HalDisableSystemInterrupt? */ UNIMPLEMENTED; - return ERROR_INVALID_ACCESS; + return ERROR_INVALID_FUNCTION; #endif }