summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sppercpudata01/sppercpudata01.h
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/sptests/sppercpudata01/sppercpudata01.h')
-rw-r--r--testsuites/sptests/sppercpudata01/sppercpudata01.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/testsuites/sptests/sppercpudata01/sppercpudata01.h b/testsuites/sptests/sppercpudata01/sppercpudata01.h
new file mode 100644
index 0000000000..efed3cf5f5
--- /dev/null
+++ b/testsuites/sptests/sppercpudata01/sppercpudata01.h
@@ -0,0 +1,30 @@
+/*
+ * Copyright (c) 2018 embedded brains GmbH. All rights reserved.
+ *
+ * embedded brains GmbH
+ * Dornierstr. 4
+ * 82178 Puchheim
+ * Germany
+ * <rtems@embedded-brains.de>
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.org/license/LICENSE.
+ */
+
+#ifndef SPPERCPUDATA01_H
+#define SPPERCPUDATA01_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
+#include <rtems/score/percpudata.h>
+
+PER_CPU_DATA_ITEM_DECLARE(unsigned int, g);
+
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
+#endif /* SPPERCPUDATA01_H */