diff options
author | barthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-08-03 20:23:16 +0000 |
---|---|---|
committer | barthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-08-03 20:23:16 +0000 |
commit | a5ba02231106d70330e8b01dd60edba922e11f86 (patch) | |
tree | 8d953ab4824a1d825e3df0247be27d04852452c5 /os/various/cpp_wrappers/syscalls_cpp.hpp | |
parent | fb723a1e3deb67e6ab722ee1a912560d2367ba18 (diff) | |
download | ChibiOS-a5ba02231106d70330e8b01dd60edba922e11f86.tar.gz ChibiOS-a5ba02231106d70330e8b01dd60edba922e11f86.tar.bz2 ChibiOS-a5ba02231106d70330e8b01dd60edba922e11f86.zip |
CPP wrappers ported to Chibios v3.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7118 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/various/cpp_wrappers/syscalls_cpp.hpp')
-rw-r--r-- | os/various/cpp_wrappers/syscalls_cpp.hpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/os/various/cpp_wrappers/syscalls_cpp.hpp b/os/various/cpp_wrappers/syscalls_cpp.hpp new file mode 100644 index 000000000..927f71f88 --- /dev/null +++ b/os/various/cpp_wrappers/syscalls_cpp.hpp @@ -0,0 +1,14 @@ +#ifndef SYSCALLS_CPP_HPP_
+#define SYSCALLS_CPP_HPP_
+
+/* The ABI requires a 64-bit type. */
+__extension__ typedef int __guard __attribute__((mode (__DI__)));
+
+int __cxa_guard_acquire(__guard *);
+void __cxa_guard_release (__guard *);
+void __cxa_guard_abort (__guard *);
+
+void *__dso_handle = NULL;
+
+
+#endif /* SYSCALLS_CPP_HPP_ */
|