Changeset 886956a in rtems


Ignore:
Timestamp:
Aug 2, 2019, 8:57:01 PM (3 weeks ago)
Author:
Vijay Kumar Banerjee <vijaykumar9597@…>
Branches:
master
Children:
9cb19ded
Parents:
cc91fae
git-author:
Vijay Kumar Banerjee <vijaykumar9597@…> (08/02/19 20:57:01)
git-committer:
Christian Mauderer <oss@…> (08/07/19 18:38:43)
Message:

bsp/beagle: Add nocache section

Closes #3780

Location:
bsps/arm/beagle/start
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • bsps/arm/beagle/start/bspstart.c

    rcc91fae r886956a  
    1717#include <bsp/irq-generic.h>
    1818#include <bsp/fdt.h>
     19#include <bsp/linker-symbols.h>
    1920
    2021#include "bspdebug.h"
     
    3132  printk("\nRTEMS Beagleboard: %s\n", type);
    3233  printk("        ARM Debug: 0x%08x\n", (intptr_t) bbb_arm_debug_registers());
     34  rtems_cache_coherent_add_area(
     35      bsp_section_nocacheheap_begin,
     36      (uintptr_t) bsp_section_nocacheheap_size
     37  );
    3338}
    3439
  • bsps/arm/beagle/start/linkcmds.beagle

    rcc91fae r886956a  
    1212   * use 256M for all.
    1313   */
    14   RAM      : ORIGIN = 0x80000000, LENGTH = 256M - 4M
     14  RAM      : ORIGIN = 0x80000000, LENGTH = 256M - 16M - 4M
     15  NOCACHE  : ORIGIN = 0x80000000 + 256M - 16M - 4M, LENGTH = 16M
    1516  RAM_MMU  : ORIGIN = 0x80000000 + 256M - 4M, LENGTH = 16k
    1617}
     
    3132REGION_ALIAS ("REGION_WORK",           RAM);
    3233REGION_ALIAS ("REGION_STACK",          RAM);
    33 REGION_ALIAS ("REGION_NOCACHE",        RAM);
    34 REGION_ALIAS ("REGION_NOCACHE_LOAD",   RAM);
     34REGION_ALIAS ("REGION_NOCACHE",        NOCACHE);
     35REGION_ALIAS ("REGION_NOCACHE_LOAD",   NOCACHE);
    3536
    3637bsp_stack_abt_size = DEFINED (bsp_stack_abt_size) ? bsp_stack_abt_size : 1024;
Note: See TracChangeset for help on using the changeset viewer.