UMX FLIP Installation Guide Page 49

  • Download
  • Add to my manuals
  • Print
  • Page
    / 142
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 48
48
case 0x6:
VitDesCRC18(pRxContextA);
break;
case 0x1:
VitDesCRC24(pRxContextA);
break;
case 0x5:
VitDesCRC36(pRxContextA);
break;
case 0x0:
VitDesCRC48(pRxContextA);
break;
case 0x4:
VitDesCRC54(pRxContextA);
break;
}
_mm_mfence();
BB11A_VITERBIDONE_SET_EVENT(pRxContextA);
}
}
Figure 24. Example ethread routine.
5.2 Interrupt affinity
With ethread, the SDR application driver can prevent the task from being preempted by other
threads. But the task may still be interrupted by hardware. Although most hardware interrupt
handlers are very light-weight, some may still require a significant amount of time to finish (e.g.,
disk access) and thus cause a real-time task to miss deadlines. To address this issue, one could
set the interrupt affinity for all hardware devices to avoid sending interrupts to the reserved
core. On Windows 7, the interrupt affinity can be configured via the registry. But there is no
native support on Windows XP. The Sora SDK includes a tool, called interrupt filter, which can
configure the interrupt affinity of hardware devices. The tool can be found in %SDR_ROOT%\bin
folder.
5.2.1 Installing and Configuring Interrupt Filter
To install the interrupt filter driver, first copy intfiltr.sys to Windows system driver folder (e.g.,
c:\windows\system32\drivers). Then, add the registry entries specified in intfiltr.reg, and, finally,
reboot the machine to enable the interrupt filter driver.
D:\SoraSDK\bin>IntFiltrCmd.exe
Page view 48
1 2 ... 44 45 46 47 48 49 50 51 52 53 54 ... 141 142

Comments to this Manuals

No comments