Changeset 7c7184a in rtems for c/src/lib/libbsp/m68k/uC5282/start/start.S
- Timestamp:
- 02/01/05 15:12:55 (18 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 50fea8b
- Parents:
- 7a6d1a3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/m68k/uC5282/start/start.S
r7a6d1a3 r7c7184a 314 314 PUBLIC (start) 315 315 SYM(start): 316 move.w #0x2700,sr | Disable interrupts 317 318 move.l #__SRAMBASE+1,d0 | Enable the MCF5282 internal SRAM 319 movec d0,%rambar | ...so we have a stack 320 move.l #__SRAMBASE+SRAM_SIZE-4,sp | Overwrite the fake stack pointer 316 move.w #0x2700,sr | Disable interrupts 321 317 322 318 /* … … 324 320 * moved the IPSBAR, we're doomed........ 325 321 */ 326 move.l #__IPSBAR+1,d0 | Enable the MCF5282 internal peripherals322 move.l #__IPSBAR+1,d0 | Enable the MCF5282 internal peripherals 327 323 move.l d0,DEFAULT_IPSBAR 328 324 move.l #__SRAMBASE+0x201,d0 | Enable the MCF5282 internal SRAM 325 movec d0,%rambar | CPU-space copy of RAMBAR 326 move.l d0,DEFAULT_IPSBAR+8 | Memory-space copy of RAMBAR 327 move.l #__SRAMBASE+SRAM_SIZE-4,sp | Overwrite the fake stack pointer 328 329 329 /* 330 330 * Copy the vector table to address 0 (VBR must be 0 mod 2^20)
Note: See TracChangeset
for help on using the changeset viewer.