⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ram.dld

📁 一款corefire的bootloader源码 型号 5407 编译环境 c
💻 DLD
字号:
 /*********************************************************************
 * File:		ram.dld
 * Purpose:		Linker file for the MCF5407 Initialization Template
 *
 * Notes:		Places all the code in RAM
 *
 *
 * Copyright:
 *      1999-2000 MOTOROLA, INC. All Rights Reserved.  
 *  You are hereby granted a copyright license to use, modify, and
 *  distribute the SOFTWARE so long as this entire notice is
 *  retained without alteration in any modified and/or redistributed
 *  versions, and that such modified versions are clearly identified
 *  as such. No licenses are granted by implication, estoppel or
 *  otherwise under any patents or trademarks of Motorola, Inc. This 
 *  software is provided on an "AS IS" basis and without warranty.
 *
 *  To the maximum extent permitted by applicable law, MOTOROLA 
 *  DISCLAIMS ALL WARRANTIES WHETHER EXPRESS OR IMPLIED, INCLUDING 
 *  IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR
 *  PURPOSE AND ANY WARRANTY AGAINST INFRINGEMENT WITH REGARD TO THE 
 *  SOFTWARE (INCLUDING ANY MODIFIED VERSIONS THEREOF) AND ANY 
 *  ACCOMPANYING WRITTEN MATERIALS.
 * 
 *  To the maximum extent permitted by applicable law, IN NO EVENT
 *  SHALL MOTOROLA BE LIABLE FOR ANY DAMAGES WHATSOEVER (INCLUDING 
 *  WITHOUT LIMITATION, DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS 
 *  INTERRUPTION, LOSS OF BUSINESS INFORMATION, OR OTHER PECUNIARY
 *  LOSS) ARISING OF THE USE OR INABILITY TO USE THE SOFTWARE.   
 * 
 *  Motorola assumes no responsibility for the maintenance and support
 *  of this software
 ********************************************************************/

MEMORY
{
	ram      : org = 0x00020000, len = 0x00060000
}

SECTIONS
{
	.text (TEXT):
	{
		*(.text)
	} > ram

	.data (DATA):
	{
		___DATA_ROM = .;
		___DATA_RAM = .;
		*(.data)
		___DATA_END = .;
	} > ram

	.bss (BSS) :
	{
		___BSS_START = .;
		*(.bss)
		*[COMMON]
		___BSS_END = .;
	} > ram

	custom (BSS) :
	{
		___HEAP_START	= .;
		.				= . + 0x4;
		___HEAP_END		= .;
		___SP_END		= .;
		.				= . + 0x4000;	/* 16K */
		___SP_INIT		= .;
	} > ram
}

___VECTOR_RAM  = 0x00000000;

/* Should the SDRAM initialization routines be executed?
 * This value is used in sysinit.c
 * Set to 1 if SDRAM needs to be initialized by our 
 * code.  Note that this code will not run properly from
 * SDRAM (0x0 -> 8M/16M) if ___SDRAM_INIT is set.
 */
___SDRAM_INIT	= 0x0;		

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -