[USBEHCI_NEW]
authorJohannes Anderwald <johannes.anderwald@reactos.org>
Fri, 15 Apr 2011 14:13:24 +0000 (14:13 +0000)
committerJohannes Anderwald <johannes.anderwald@reactos.org>
Fri, 15 Apr 2011 14:13:24 +0000 (14:13 +0000)
- Build fix #1 for mingw
- Define cxa_pure_virtual which is required that gcc is aware that it should really use the libc++ instead of falling back to libc

svn path=/branches/usb-bringup/; revision=51348

drivers/usb/usbehci_new/CMakeLists.txt
drivers/usb/usbehci_new/purecall.cpp [new file with mode: 0644]

index 97fec2a..a167e30 100644 (file)
@@ -9,6 +9,7 @@ add_library(usbehci SHARED
     hcd_controller.cpp
     hardware.cpp
     misc.cpp
+    purecall.cpp
     usbehci.rc)
 
 target_link_libraries(usbehci
diff --git a/drivers/usb/usbehci_new/purecall.cpp b/drivers/usb/usbehci_new/purecall.cpp
new file mode 100644 (file)
index 0000000..c168b79
--- /dev/null
@@ -0,0 +1,24 @@
+/*
+ * PROJECT:     ReactOS Universal Serial Bus Bulk Enhanced Host Controller Interface
+ * LICENSE:     GPL - See COPYING in the top level directory
+ * FILE:        drivers/usb/usbehci_new/purecall.cpp
+ * PURPOSE:     USB EHCI device driver.
+ * PROGRAMMERS:
+ *              Michael Martin (michael.martin@reactos.org)
+ *              Johannes Anderwald (johannes.anderwald@reactos.org)
+ */
+
+#include "usbehci.h"
+
+
+extern "C" {
+  void 
+         __cxa_pure_virtual()
+  {
+    // put error handling here
+
+    DbgBreakPoint();
+
+  }
+}
+