URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [RX600_RX62N-RSK_Renesas/] [RTOSDemo/] [Renesas-Files/] [dbsct.c] - Rev 600
Go to most recent revision | Compare with Previous | Blame | View Log
/***********************************************************************/ /* */ /* FILE :dbsct.c */ /* DATE :Wed, Aug 11, 2010 */ /* DESCRIPTION :Setting of B,R Section */ /* CPU TYPE :Other */ /* */ /* This file is generated by Renesas Project Generator (Ver.4.50). */ /* NOTE:THIS IS A TYPICAL EXAMPLE. */ /* */ /***********************************************************************/ /********************************************************************* * * Device : RX * * File Name : dbsct.c * * Abstract : Setting of B,R Section. * * History : 1.00 (2009-08-07) * * NOTE : THIS IS A TYPICAL EXAMPLE. * * Copyright(c) 2009 Renesas Technology Corp. * And Renesas Solutions Corp.,All Rights Reserved. * *********************************************************************/ #include "typedefine.h" #pragma unpack #pragma section C C$DSEC extern const struct { _UBYTE *rom_s; /* Start address of the initialized data section in ROM */ _UBYTE *rom_e; /* End address of the initialized data section in ROM */ _UBYTE *ram_s; /* Start address of the initialized data section in RAM */ } _DTBL[] = { { __sectop("D"), __secend("D"), __sectop("R") }, { __sectop("D_2"), __secend("D_2"), __sectop("R_2") }, { __sectop("D_1"), __secend("D_1"), __sectop("R_1") } }; #pragma section C C$BSEC extern const struct { _UBYTE *b_s; /* Start address of non-initialized data section */ _UBYTE *b_e; /* End address of non-initialized data section */ } _BTBL[] = { { __sectop("B"), __secend("B") }, { __sectop("B_2"), __secend("B_2") }, { __sectop("B_1"), __secend("B_1") } }; #pragma section /* ** CTBL prevents excessive output of L1100 messages when linking. ** Even if CTBL is deleted, the operation of the program does not change. */ _UBYTE * const _CTBL[] = { __sectop("C_1"), __sectop("C_2"), __sectop("C"), __sectop("W_1"), __sectop("W_2"), __sectop("W") }; #pragma packoption
Go to most recent revision | Compare with Previous | Blame | View Log