source: rtems/cpukit/score/cpu/nios2/include/rtems/score/cpuimpl.h @ 42f2fdfd

5
Last change on this file since 42f2fdfd was 42f2fdfd, checked in by Sebastian Huber <sebastian.huber@…>, on 07/20/18 at 05:56:43

score: Move context validation declarations

The context validation support functions _CPU_Context_validate() and
_CPU_Context_volatile_clobber() are used only by one test program
(spcontext01). Move the function declarations to the CPU port
implementation header file.

  • Property mode set to 100644
File size: 642 bytes
Line 
1/**
2 * @file
3 *
4 * @brief CPU Port Implementation API
5 */
6
7/*
8 * Copyright (c) 2013 embedded brains GmbH
9 *
10 * The license and distribution terms for this file may be
11 * found in the file LICENSE in this distribution or at
12 * http://www.rtems.org/license/LICENSE.
13 */
14
15#ifndef _RTEMS_SCORE_CPUIMPL_H
16#define _RTEMS_SCORE_CPUIMPL_H
17
18#include <rtems/score/cpu.h>
19
20#define CPU_PER_CPU_CONTROL_SIZE 0
21
22#ifndef ASM
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27
28void _CPU_Context_volatile_clobber( uintptr_t pattern );
29
30void _CPU_Context_validate( uintptr_t pattern );
31
32#ifdef __cplusplus
33}
34#endif
35
36#endif /* ASM */
37
38#endif /* _RTEMS_SCORE_CPUIMPL_H */
Note: See TracBrowser for help on using the repository browser.