Back to home page

LXR

 
 

    


Warning, /spec/build/bsps/arm/xen/linkcmds.yml is written in an unsupported language. File is not indexed.

0001 SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
0002 build-type: config-file
0003 content: |
0004   /*
0005    * SPDX-License-Identifier: BSD-2-Clause
0006    *
0007    * Copyright (C) 2019 DornerWorks
0008    * Written by Jeff Kubascik <jeff.kubascik@dornerworks.com>
0009    *
0010    * Redistribution and use in source and binary forms, with or without
0011    * modification, are permitted provided that the following conditions
0012    * are met:
0013    * 1. Redistributions of source code must retain the above copyright
0014    *    notice, this list of conditions and the following disclaimer.
0015    * 2. Redistributions in binary form must reproduce the above copyright
0016    *    notice, this list of conditions and the following disclaimer in the
0017    *    documentation and/or other materials provided with the distribution.
0018    *
0019    * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
0020    * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
0021    * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
0022    * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
0023    * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
0024    * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
0025    * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
0026    * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
0027    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
0028    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
0029    * POSSIBILITY OF SUCH DAMAGE.
0030    */
0031 
0032   MEMORY {
0033     RAM_MMU   : ORIGIN = ${BSP_XEN_RAM_BASE}, LENGTH = ${ARM_MMU_TRANSLATION_TABLE_SIZE}
0034     RAM       : ORIGIN = ${BSP_XEN_RAM_BASE} + ${BSP_XEN_LOAD_OFFSET}, LENGTH = ${BSP_XEN_RAM_LENGTH} - ${BSP_XEN_LOAD_OFFSET} - ${BSP_XEN_NOCACHE_LENGTH}
0035     NOCACHE   : ORIGIN = ${BSP_XEN_RAM_BASE} + ${BSP_XEN_RAM_LENGTH} - ${BSP_XEN_NOCACHE_LENGTH}, LENGTH = ${BSP_XEN_NOCACHE_LENGTH}
0036   }
0037 
0038   REGION_ALIAS ("REGION_START",          RAM);
0039   REGION_ALIAS ("REGION_VECTOR",         RAM);
0040   REGION_ALIAS ("REGION_TEXT",           RAM);
0041   REGION_ALIAS ("REGION_TEXT_LOAD",      RAM);
0042   REGION_ALIAS ("REGION_RODATA",         RAM);
0043   REGION_ALIAS ("REGION_RODATA_LOAD",    RAM);
0044   REGION_ALIAS ("REGION_DATA",           RAM);
0045   REGION_ALIAS ("REGION_DATA_LOAD",      RAM);
0046   REGION_ALIAS ("REGION_FAST_TEXT",      RAM);
0047   REGION_ALIAS ("REGION_FAST_TEXT_LOAD", RAM);
0048   REGION_ALIAS ("REGION_FAST_DATA",      RAM);
0049   REGION_ALIAS ("REGION_FAST_DATA_LOAD", RAM);
0050   REGION_ALIAS ("REGION_BSS",            RAM);
0051   REGION_ALIAS ("REGION_WORK",           RAM);
0052   REGION_ALIAS ("REGION_STACK",          RAM);
0053   REGION_ALIAS ("REGION_NOCACHE",        NOCACHE);
0054   REGION_ALIAS ("REGION_NOCACHE_LOAD",   NOCACHE);
0055 
0056   bsp_stack_abt_size = DEFINED (bsp_stack_abt_size) ? bsp_stack_abt_size : 1024;
0057 
0058   bsp_section_rwbarrier_align = DEFINED (bsp_section_rwbarrier_align) ? bsp_section_rwbarrier_align : 1M;
0059 
0060   bsp_vector_table_in_start_section = 1;
0061 
0062   bsp_translation_table_base = ORIGIN (RAM_MMU);
0063   bsp_translation_table_end = ORIGIN (RAM_MMU) + LENGTH (RAM_MMU);
0064 
0065   INCLUDE linkcmds.armv4
0066 copyrights:
0067 - Copyright (C) 2020 embedded brains GmbH & Co. KG
0068 enabled-by: true
0069 install-path: ${BSP_LIBDIR}
0070 links: []
0071 target: linkcmds
0072 type: build