1、i won't use linux opetation system on my dm6467 board . how can i
startup isr interrupt? someone can give me some exmaple or tell me how , thank
you!
2、function init_vect() in ubl ,why "volatile Uint32 *ivect = (volatile
Uint32 *)0x10004"
void init_vect()
{
#ifdef UBL_USE_NOR_BOOT
volatile Uint32 *ivect = (volatile Uint32 *)0x10000;
*ivect++ = 0xEAFFFFFE; /* Reset @ 0x00*/
#else
volatile Uint32 *ivect = (volatile Uint32 *)0x10004;
#endif
*ivect++ = 0xEAFFFFFE; /* Undefined Address @ 0x04 */
*ivect++ = 0xEAFFFFFE; /* Software Interrupt @0x08 */
*ivect++ = 0xEAFFFFFE; /* Pre-Fetch Abort @ 0x0C */
*ivect++ = 0xEAFFFFFE; /* Data Abort @ 0x10 */
*ivect++ = 0xEAFFFFFE; /* Reserved @ 0x14 */
*ivect++ = 0xEAFFFFFE; /* IRQ @ 0x18 */
*ivect = 0xEAFFFFFE; /* FIQ @ 0x1C */
}
3、if i already write fiq isr,__my_fiq(),
void init_vect()
{
#ifdef UBL_USE_NOR_BOOT
volatile Uint32 *ivect = (volatile Uint32 *)0x10000;
*ivect++ = 0xEAFFFFFE; /* Reset @ 0x00*/
#else
volatile Uint32 *ivect = (volatile Uint32 *)0x10004;
#endif
*ivect++ = 0xEAFFFFFE; /* Undefined Address @ 0x04 */
*ivect++ = 0xEAFFFFFE; /* Software Interrupt @0x08 */
*ivect++ = 0xEAFFFFFE; /* Pre-Fetch Abort @ 0x0C */
*ivect++ = 0xEAFFFFFE; /* Data Abort @ 0x10 */
*ivect++ = 0xEAFFFFFE; /* Reserved @ 0x14 */
*ivect++ = 0xEAFFFFFE; /* IRQ @ 0x18 */
*ivect = (unsigned long)my_fiq; /* FIQ @ 0x1C */
}
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source