- Timestamp:
- 07/31/00 19:23:21 (23 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 68132f2
- Parents:
- caf88699
- Location:
- c/src/lib/libbsp/h8300/h8sim
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/h8300/h8sim/console/console-io.c
rcaf88699 r3631dad8 49 49 } 50 50 51 #include <bspIo.h> 52 53 void H8simBSP_output_char(char c) { console_outbyte_polled( 0, c ); } 54 55 BSP_output_char_function_type BSP_output_char = H8simBSP_output_char; 56 BSP_polling_getchar_function_type BSP_poll_char = NULL; 57 58 -
c/src/lib/libbsp/h8300/h8sim/startup/bspstart.c
rcaf88699 r3631dad8 88 88 Cpu_table.interrupt_stack_size = 4096; 89 89 90 /* 90 91 if ( BSP_Configuration.work_space_size >(512*1024) ) 91 92 _sys_exit( 1 ); 93 */ 92 94 93 95 BSP_Configuration.work_space_start = (void *) &WorkspaceBase; 94 96 } 97 98 H8BD_Install_IRQ() {} -
c/src/lib/libbsp/h8300/h8sim/startup/linkcmds
rcaf88699 r3631dad8 3 3 */ 4 4 5 OUTPUT_ARCH(h8300h) 5 6 /* 6 7 * Declare some sizes. … … 8 9 _RamBase = DEFINED(_RamBase) ? _RamBase : 0x0; 9 10 _RamSize = DEFINED(_RamSize) ? _RamSize : 1M; 10 _HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x 10000;11 _HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x4000; 11 12 _StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000; 12 13 … … 40 41 .text : 41 42 { 42 CREATE_OBJECT_SYMBOLS43 43 *(.text) 44 45 /* 46 * Read-only data 47 */ 48 . = ALIGN (16); 49 PROVIDE(_rodata_start = . ); 50 *(.rodata) 51 *(.gnu.linkonce.r*) 52 PROVIDE(_erodata = . ); 53 44 54 _etext = .; 45 46 /* 47 ___CTOR_LIST__ = .; 48 LONG((___CTOR_END__ - ___CTOR_LIST__) / 4 - 2) 49 *(.ctors) 50 LONG(0) 51 ___CTOR_END__ = .; 52 ___DTOR_LIST__ = .; 53 LONG((___DTOR_END__ - ___DTOR_LIST__) / 4 - 2) 54 *(.dtors) 55 LONG(0) 56 ___DTOR_END__ = .; 57 */ 55 } >ram 56 .tors : { 57 ___ctors = . ; 58 *(.ctors) 59 ___ctors_end = . ; 60 ___dtors = . ; 61 *(.dtors) 62 ___dtors_end = . ; 58 63 } >ram 59 64 .data SIZEOF(.text) + ADDR(.text): … … 73 78 _clear_end = .; 74 79 _WorkspaceBase = .; 75 . += 512K; /* reserve some memory for workspace */80 . += 64K; /* reserve some memory for workspace */ 76 81 _HeapBase = .; 77 82 . += _HeapSize; /* reserve some memory for heap */
Note: See TracChangeset
for help on using the changeset viewer.