diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-08-27 10:36:35 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-09-10 10:38:45 +0200 |
commit | cfc4231d8fe1056fa501508a929c8ccaa1dd11be (patch) | |
tree | 522a0bcab2e11c0dbd71a1f8c66b336608338d7a /testsuites/sptests/sppercpudata01/sppercpudata01.h | |
parent | cpukit/Makefile.am: Cleanup (diff) | |
download | rtems-cfc4231d8fe1056fa501508a929c8ccaa1dd11be.tar.bz2 |
score: Add flexible per-CPU data
Update #3507.
Diffstat (limited to 'testsuites/sptests/sppercpudata01/sppercpudata01.h')
-rw-r--r-- | testsuites/sptests/sppercpudata01/sppercpudata01.h | 30 |
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 */ |