projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sync with trunk r46493
[reactos.git]
/
drivers
/
video
/
videoprt
/
interrupt.c
diff --git
a/drivers/video/videoprt/interrupt.c
b/drivers/video/videoprt/interrupt.c
index
54a5b95
..
b15ebdf
100644
(file)
--- a/
drivers/video/videoprt/interrupt.c
+++ b/
drivers/video/videoprt/interrupt.c
@@
-110,6
+110,7
@@
VP_STATUS
NTAPI
VideoPortEnableInterrupt(IN PVOID HwDeviceExtension)
{
NTAPI
VideoPortEnableInterrupt(IN PVOID HwDeviceExtension)
{
+#ifndef _M_AMD64
PVIDEO_PORT_DEVICE_EXTENSION DeviceExtension;
BOOLEAN InterruptValid;
PVIDEO_PORT_DEVICE_EXTENSION DeviceExtension;
BOOLEAN InterruptValid;
@@
-133,6
+134,11
@@
VideoPortEnableInterrupt(IN PVOID HwDeviceExtension)
/* Return to caller */
return NO_ERROR;
/* Return to caller */
return NO_ERROR;
+#else
+ /* FIXME: Function still present? If so what to use instead of HalEnableSystemInterrupt? */
+ UNIMPLEMENTED;
+ return ERROR_INVALID_ACCESS;
+#endif
}
/*
}
/*
@@
-142,6
+148,7
@@
VP_STATUS
NTAPI
VideoPortDisableInterrupt(IN PVOID HwDeviceExtension)
{
NTAPI
VideoPortDisableInterrupt(IN PVOID HwDeviceExtension)
{
+#ifndef _M_AMD64
PVIDEO_PORT_DEVICE_EXTENSION DeviceExtension;
/* Get the device extension */
PVIDEO_PORT_DEVICE_EXTENSION DeviceExtension;
/* Get the device extension */
@@
-158,4
+165,9
@@
VideoPortDisableInterrupt(IN PVOID HwDeviceExtension)
HalDisableSystemInterrupt(DeviceExtension->InterruptVector,
0);
return NO_ERROR;
HalDisableSystemInterrupt(DeviceExtension->InterruptVector,
0);
return NO_ERROR;
+#else
+ /* FIXME: Function still present? If so what to use instead of HalDisableSystemInterrupt? */
+ UNIMPLEMENTED;
+ return ERROR_INVALID_ACCESS;
+#endif
}
}