Ignore:
Timestamp:
May 31, 2013, 8:08:43 AM (7 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
f2f211c5
Parents:
ffbeb6f
git-author:
Sebastian Huber <sebastian.huber@…> (05/31/13 08:08:43)
git-committer:
Sebastian Huber <sebastian.huber@…> (05/31/13 13:20:32)
Message:

bsp/qoriq: Add SMP support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/qoriq/startup/mmu-config.c

    rffbeb6f rbd39add  
    88
    99/*
    10  * Copyright (c) 2011 embedded brains GmbH.  All rights reserved.
     10 * Copyright (c) 2011-2013 embedded brains GmbH.  All rights reserved.
    1111 *
    1212 *  embedded brains GmbH
    13  *  Obere Lagerstr. 30
     13 *  Dornierstr. 4
    1414 *  82178 Puchheim
    1515 *  Germany
     
    2121 */
    2222
    23 #include <bspopts.h>
     23#include <bsp.h>
    2424#include <bsp/mmu.h>
    2525#include <bsp/linker-symbols.h>
     
    5050}
    5151
     52#ifdef RTEMS_SMP
     53  #define ENTRY_RW_MAS2 FSL_EIS_MAS2_M
     54#else
     55  #define ENTRY_RW_MAS2 0
     56#endif
     57
    5258#define ENTRY_RW(b, s) { \
    5359        .begin = (uint32_t) b, \
    5460        .size = (uint32_t) s, \
    55         .mas2 = 0, \
     61        .mas2 = ENTRY_RW_MAS2, \
    5662        .mas3 = FSL_EIS_MAS3_SR | FSL_EIS_MAS3_SW \
    5763}
Note: See TracChangeset for help on using the changeset viewer.