Changeset c9e7297 in rtems
- Timestamp:
- 04/16/01 19:30:13 (23 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- d74a92d
- Parents:
- 3491e9e
- Location:
- c/src/lib/libbsp/mips/genmongoosev/startup
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/mips/genmongoosev/startup/bspstart.c
r3491e9e rc9e7297 21 21 #include <rtems/libcsupport.h> 22 22 #include <libcpu/mongoose-v.h> 23 24 23 25 24 /* … … 72 71 73 72 } 74 75 73 76 74 /* … … 96 94 BSP_Configuration.work_space_start = (void *) &WorkspaceBase; 97 95 96 /*mips_set_sr( 0xff00 ); all interrupts unmasked but globally off */ 97 /* depend on the IRC to take care of things */ 98 98 99 MONGOOSEV_WRITE( MONGOOSEV_PERIPHERAL_FUNCTION_INTERRUPT_CAUSE_REGISTER, 0 ); 99 mips_set_sr( 0xff00 ); /* all interrupts unmasked but globally off */ 100 /* depend on the IRC to take care of things */ 100 MONGOOSEV_WRITE( MONGOOSEV_PERIPHERAL_FUNCTION_INTERRUPT_MASK_REGISTER, 0 ); 101 102 /* 103 mips_set_sr( (SR_CU0 | SR_CU1 | SR_IBIT1 | SR_IBIT2 | SR_IBIT3 | SR_IBIT4 | SR_IBIT6 | SR_IBIT8) ); 104 */ 105 mips_set_sr( (SR_CU0 | SR_CU1 | SR_IBIT1 | SR_IBIT2) ); 106 101 107 mips_install_isr_entries(); 108 109 MONGOOSEV_WRITE( MONGOOSEV_PERIPHERAL_FUNCTION_INTERRUPT_CAUSE_REGISTER, 0 ); 102 110 } 103 111 -
c/src/lib/libbsp/mips/genmongoosev/startup/linkcmds
r3491e9e rc9e7297 17 17 SECTIONS 18 18 { 19 . = 0x80000000; 19 /* 20 Ken's response is correct. Locate it at 0x80020000 or higher. The PMON 21 data segment after the exception vectors and below 0x80020000, 22 23 . = 0x80020000; 24 */ 25 . = 0x80020000; 20 26 .text : 21 27 {
Note: See TracChangeset
for help on using the changeset viewer.