/******************************************************************************
 *
 *				    cmonviper_ram.link
 *
 *	This is the CMON linker directive file used for the RAM configuration
 *	(i.e. for debugging of CMON on RAM).
 ******************************************************************************/

MEMORY {
    DATA_RAM:   origin=0x8020   length=0x4fe0
    TXT_RAM:    origin=0x1e0000 length=0x20000
}
SECTIONS {
    .data   INTO(DATA_RAM)  : {}
    .bss    INTO(DATA_RAM)  : {}
    .text   INTO(TXT_RAM)   : {}
    .init   INTO(TXT_RAM)   : {}
}

_START_DATA__ = addr(.data);
_END_DATA__ = addr(.data) + sizeof(.data);
_START_BSS__ = addr(.bss);
_END_BSS__ = addr(.bss) + sizeof(.bss);
_START_TXT__ = addr(.text);
_END_TXT__ = addr(.text) + sizeof(.text);

