Changeset ffc862c in rtems


Ignore:
Timestamp:
Sep 17, 2013, 11:08:49 AM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
16829460
Parents:
b3211b5a
git-author:
Sebastian Huber <sebastian.huber@…> (09/17/13 11:08:49)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/31/13 15:43:25)
Message:

bsp/realview-pbx-a9: Add NULL pointer protection

Qemu Git version 8641136c54d216edb5bb8ef723c754039b4c5cf3 or later is
required.

Location:
c/src/lib/libbsp/arm/realview-pbx-a9
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/realview-pbx-a9/Makefile.am

    rb3211b5a rffc862c  
    6363
    6464project_lib_DATA += startup/linkcmds
    65 
    66 EXTRA_DIST =
    67 EXTRA_DIST += startup/linkcmds.realview_pbx_a9_qemu
    68 EXTRA_DIST += startup/linkcmds.realview_pbx_a9_qemu_smp
     65project_lib_DATA += startup/linkcmds.realview_pbx_a9_qemu
     66project_lib_DATA += startup/linkcmds.realview_pbx_a9_qemu_smp
    6967
    7068###############################################################################
  • c/src/lib/libbsp/arm/realview-pbx-a9/preinstall.am

    rb3211b5a rffc862c  
    159159TMPINSTALL_FILES += $(PROJECT_LIB)/linkcmds
    160160
     161$(PROJECT_LIB)/linkcmds.realview_pbx_a9_qemu: startup/linkcmds.realview_pbx_a9_qemu $(PROJECT_LIB)/$(dirstamp)
     162        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds.realview_pbx_a9_qemu
     163TMPINSTALL_FILES += $(PROJECT_LIB)/linkcmds.realview_pbx_a9_qemu
     164
     165$(PROJECT_LIB)/linkcmds.realview_pbx_a9_qemu_smp: startup/linkcmds.realview_pbx_a9_qemu_smp $(PROJECT_LIB)/$(dirstamp)
     166        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds.realview_pbx_a9_qemu_smp
     167TMPINSTALL_FILES += $(PROJECT_LIB)/linkcmds.realview_pbx_a9_qemu_smp
     168
  • c/src/lib/libbsp/arm/realview-pbx-a9/startup/linkcmds.realview_pbx_a9_qemu

    rb3211b5a rffc862c  
    11MEMORY {
    2         RAM : ORIGIN = 0x00000000, LENGTH = 256M - 16k
     2        /* Waste the first 1MiB for NULL pointer protection */
     3        RAM : ORIGIN = 0x00100000, LENGTH = 255M - 16k
    34        RAM_MMU : ORIGIN = 0x0fffc000, LENGTH = 16k
    45}
  • c/src/lib/libbsp/arm/realview-pbx-a9/startup/linkcmds.realview_pbx_a9_qemu_smp

    rb3211b5a rffc862c  
    1 MEMORY {
    2         RAM : ORIGIN = 0x00000000, LENGTH = 256M - 16k
    3         RAM_MMU : ORIGIN = 0x0fffc000, LENGTH = 16k
    4 }
    5 
    6 REGION_ALIAS ("REGION_START", RAM);
    7 REGION_ALIAS ("REGION_VECTOR", RAM);
    8 REGION_ALIAS ("REGION_TEXT", RAM);
    9 REGION_ALIAS ("REGION_TEXT_LOAD", RAM);
    10 REGION_ALIAS ("REGION_RODATA", RAM);
    11 REGION_ALIAS ("REGION_RODATA_LOAD", RAM);
    12 REGION_ALIAS ("REGION_DATA", RAM);
    13 REGION_ALIAS ("REGION_DATA_LOAD", RAM);
    14 REGION_ALIAS ("REGION_FAST_TEXT", RAM);
    15 REGION_ALIAS ("REGION_FAST_TEXT_LOAD", RAM);
    16 REGION_ALIAS ("REGION_FAST_DATA", RAM);
    17 REGION_ALIAS ("REGION_FAST_DATA_LOAD", RAM);
    18 REGION_ALIAS ("REGION_BSS", RAM);
    19 REGION_ALIAS ("REGION_WORK", RAM);
    20 REGION_ALIAS ("REGION_STACK", RAM);
    21 
    22 bsp_stack_irq_size = DEFINED (bsp_stack_irq_size) ? bsp_stack_irq_size : 4096;
    23 bsp_stack_abt_size = DEFINED (bsp_stack_abt_size) ? bsp_stack_abt_size : 1024;
    24 
    25 bsp_section_rwbarrier_align = DEFINED (bsp_section_rwbarrier_align) ? bsp_section_rwbarrier_align : 1M;
    26 
    27 bsp_vector_table_in_start_section = 1;
    28 
    29 bsp_translation_table_base = ORIGIN (RAM_MMU);
    30 
    311bsp_processor_count = DEFINED (bsp_processor_count) ? bsp_processor_count : 8;
    322
    33 INCLUDE linkcmds.armv4
     3INCLUDE linkcmds.realview_pbx_a9_qemu
Note: See TracChangeset for help on using the changeset viewer.