nuttx/arch/arm/include/cxd56xx
Gregory Nutt 545cfada38 This commit removes CONFIG_ARCH_INT_DISABLEALL. In the normal course of things, interrupts must occasionally be disabled using the up_irq_save() inline function to prevent contention in use of resources that may be shared between interrupt level and non-interrupt level logic. Now the question arises, if we are using BASEPRI to disable interrupts and have high priority interrupts enabled (CONFIG_ARCH_HIPRI_INTERRUPT=y), do we disable all interrupts except SVCall (we cannot disable SVCall interrupts). Or do we only disable the "normal" interrupts?
If we are using the BASEPRI register to disable interrupts, then the answer is that we must disable ONLY the "normal interrupts".  That is because we cannot disable SVCALL interrupts and we cannot permit SVCAll interrupts running at a higher priority than the high priority interrupts (otherwise, they will introduce jitter in the high priority interrupt response time.)

Hence, if you need to disable the high priority interrupt, you will have to disable the interrupt either at the peripheral that generates the interrupt or at the NVIC.  Disabling global interrupts via the BASEPRI register cannot effect high priority interrupts.
2019-08-09 10:52:35 -06:00
..
adc.h Merged in alinjerpelea/nuttx (pull request #909) 2019-06-18 12:46:43 +00:00
battery_ioctl.h arch/arm/src/cxd56xx: Cleaning up header files to match project layout. 2019-07-04 06:45:48 -06:00
chip.h This commit removes CONFIG_ARCH_INT_DISABLEALL. In the normal course of things, interrupts must occasionally be disabled using the up_irq_save() inline function to prevent contention in use of resources that may be shared between interrupt level and non-interrupt level logic. Now the question arises, if we are using BASEPRI to disable interrupts and have high priority interrupts enabled (CONFIG_ARCH_HIPRI_INTERRUPT=y), do we disable all interrupts except SVCall (we cannot disable SVCall interrupts). Or do we only disable the "normal" interrupts? 2019-08-09 10:52:35 -06:00
cisif.h Merged in alinjerpelea/nuttx (pull request #935) 2019-07-04 14:02:05 +00:00
geofence.h Merged in alinjerpelea/nuttx (pull request #948) 2019-07-12 11:29:22 +00:00
gnss_type.h Merged in alinjerpelea/nuttx (pull request #948) 2019-07-12 11:29:22 +00:00
gnss.h Merged in alinjerpelea/nuttx (pull request #948) 2019-07-12 11:29:22 +00:00
irq.h arch/arm/src/cxd56xx: Cleaning up header files to match project layout. 2019-07-04 06:45:48 -06:00
pin.h Merged in alinjerpelea/nuttx (pull request #881) 2019-06-05 11:29:51 +00:00
pm.h Merged in alinjerpelea/nuttx (pull request #909) 2019-06-18 12:46:43 +00:00
scu.h arch/arm/src/cxd56xx: Cleaning up header files to match project layout. 2019-07-04 06:45:48 -06:00
timer.h Merged in alinjerpelea/nuttx (pull request #909) 2019-06-18 12:46:43 +00:00
uart0.h Merged in alinjerpelea/nuttx (pull request #948) 2019-07-12 11:29:22 +00:00
usbdev.h Merged in alinjerpelea/nuttx (pull request #884) 2019-06-05 14:05:56 +00:00