source: rtems/cpukit/score/cpu/nios2/nios2-mpu-configuration.c @ 5c6edee

5
Last change on this file since 5c6edee was c499856, checked in by Chris Johns <chrisj@…>, on 03/20/14 at 21:10:47

Change all references of rtems.com to rtems.org.

  • Property mode set to 100644
File size: 726 bytes
Line 
1/*
2 * Copyright (c) 2011 embedded brains GmbH.  All rights reserved.
3 *
4 *  embedded brains GmbH
5 *  Obere Lagerstr. 30
6 *  82178 Puchheim
7 *  Germany
8 *  <rtems@embedded-brains.de>
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#ifdef HAVE_CONFIG_H
16  #include "config.h"
17#endif
18
19#include <rtems/score/nios2-utility.h>
20
21static const Nios2_MPU_Configuration *_Nios2_MPU_Configuration;
22
23void _Nios2_MPU_Set_configuration( const Nios2_MPU_Configuration *config )
24{
25  _Nios2_MPU_Configuration = config;
26}
27
28const Nios2_MPU_Configuration *_Nios2_MPU_Get_configuration( void )
29{
30  return _Nios2_MPU_Configuration;
31}
Note: See TracBrowser for help on using the repository browser.