fixed startup code (comment at wrong position) which prevented RAMBAR0 from getting initialized
This commit is contained in:
@@ -36,9 +36,9 @@ void startup(void)
|
|||||||
|
|
||||||
__asm__ __volatile__(
|
__asm__ __volatile__(
|
||||||
/* Initialize RAMBARs: locate SRAM and validate it */
|
/* Initialize RAMBARs: locate SRAM and validate it */
|
||||||
" move.l #__RAMBAR0 + 0x7,d0\n\t | supervisor only"
|
" move.l #__RAMBAR0 + 0x7,d0\n\t" /* supervisor only */
|
||||||
" movec d0,RAMBAR0\n\t"
|
" movec d0,RAMBAR0\n\t"
|
||||||
" move.l #__RAMBAR1 + 0x1,d0\n\t"""
|
" move.l #__RAMBAR1 + 0x1,d0\n\t"
|
||||||
" movec d0,RAMBAR1\n\t"
|
" movec d0,RAMBAR1\n\t"
|
||||||
/* set stack pointer to end of SRAM1 */
|
/* set stack pointer to end of SRAM1 */
|
||||||
" lea __SUP_SP,a7\n\t"
|
" lea __SUP_SP,a7\n\t"
|
||||||
|
|||||||
Reference in New Issue
Block a user