git://git.jankratochvil.net
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c0cf90
)
+CAPTIVE_STDCALL calling by hand to workaround broken GCC.
author
short
<>
Tue, 23 Sep 2003 09:12:42 +0000
(09:12 +0000)
committer
short
<>
Tue, 23 Sep 2003 09:12:42 +0000
(09:12 +0000)
ntoskrnl/io/irp.c
patch
|
blob
|
history
diff --git
a/ntoskrnl/io/irp.c
b/ntoskrnl/io/irp.c
index
5b5f105
..
ec45149
100644
(file)
--- a/
ntoskrnl/io/irp.c
+++ b/
ntoskrnl/io/irp.c
@@
-154,7
+154,14
@@
IofCallDriver(PDEVICE_OBJECT DeviceObject,
KeBugCheck(0);
}
+#ifndef LIBCAPTIVE
return DriverObject->MajorFunction[Param->MajorFunction](DeviceObject, Irp);
+#else /* !LIBCAPTIVE */
+ return (NTSTATUS)captive_stdcall_call_8(
+ (CaptiveStdCallFunc8)DriverObject->MajorFunction[Param->MajorFunction],
+ DeviceObject,
+ Irp);
+#endif /* LIBCAPTIVE */
}