Modify the software application code to enable interrupts. If there
is an interrupt controller present in the system with multiple interrupt
sources, you must enable interrupts in the processor and the interrupt
controller to allow interrupts from the profile timer to reach the processor.
Example code is shown below:
/* enable interrupt controller */
XIntc_mMasterEnable(SYSINTC_BASEADDR);
/* service all interrupts */
XIntc_SetIntrSvcOption(SYSINTC_BASEADDR, XIN_SVC_ALL_ISRS_OPTION);
/* enable the profile timer interrupt */
XIntc_mEnableIntr(SYSINTC_BASEADDR, PROFILE_TIMER_INTR_MASK);
/* enable interrupts in the processor */
microblaze_enable_interrupts();